Class ValidationRule

  • All Implemented Interfaces:
    com.sforce.ws.bind.XMLizable

    public class ValidationRule
    extends Metadata
    This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidationRule()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getActive()  
      java.lang.String getDescription()  
      java.lang.String getErrorConditionFormula()  
      java.lang.String getErrorDisplayField()  
      java.lang.String getErrorMessage()  
      boolean isActive()  
      void load​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)  
      protected void loadFields​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)  
      void setActive​(boolean active)  
      protected void setActive​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)  
      protected void setDescription​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)  
      void setDescription​(java.lang.String description)  
      protected void setErrorConditionFormula​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)  
      void setErrorConditionFormula​(java.lang.String errorConditionFormula)  
      protected void setErrorDisplayField​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)  
      void setErrorDisplayField​(java.lang.String errorDisplayField)  
      protected void setErrorMessage​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)  
      void setErrorMessage​(java.lang.String errorMessage)  
      java.lang.String toString()  
      void write​(javax.xml.namespace.QName __element, com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)  
      protected void writeFields​(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ValidationRule

        public ValidationRule()
        Constructor
    • Method Detail

      • getActive

        public boolean getActive()
      • isActive

        public boolean isActive()
      • setActive

        public void setActive​(boolean active)
      • setActive

        protected void setActive​(com.sforce.ws.parser.XmlInputStream __in,
                                 com.sforce.ws.bind.TypeMapper __typeMapper)
                          throws java.io.IOException,
                                 com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • setDescription

        protected void setDescription​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getErrorConditionFormula

        public java.lang.String getErrorConditionFormula()
      • setErrorConditionFormula

        public void setErrorConditionFormula​(java.lang.String errorConditionFormula)
      • setErrorConditionFormula

        protected void setErrorConditionFormula​(com.sforce.ws.parser.XmlInputStream __in,
                                                com.sforce.ws.bind.TypeMapper __typeMapper)
                                         throws java.io.IOException,
                                                com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getErrorDisplayField

        public java.lang.String getErrorDisplayField()
      • setErrorDisplayField

        public void setErrorDisplayField​(java.lang.String errorDisplayField)
      • setErrorDisplayField

        protected void setErrorDisplayField​(com.sforce.ws.parser.XmlInputStream __in,
                                            com.sforce.ws.bind.TypeMapper __typeMapper)
                                     throws java.io.IOException,
                                            com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getErrorMessage

        public java.lang.String getErrorMessage()
      • setErrorMessage

        public void setErrorMessage​(java.lang.String errorMessage)
      • setErrorMessage

        protected void setErrorMessage​(com.sforce.ws.parser.XmlInputStream __in,
                                       com.sforce.ws.bind.TypeMapper __typeMapper)
                                throws java.io.IOException,
                                       com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • write

        public void write​(javax.xml.namespace.QName __element,
                          com.sforce.ws.parser.XmlOutputStream __out,
                          com.sforce.ws.bind.TypeMapper __typeMapper)
                   throws java.io.IOException
        Specified by:
        write in interface com.sforce.ws.bind.XMLizable
        Overrides:
        write in class Metadata
        Throws:
        java.io.IOException
      • writeFields

        protected void writeFields​(com.sforce.ws.parser.XmlOutputStream __out,
                                   com.sforce.ws.bind.TypeMapper __typeMapper)
                            throws java.io.IOException
        Overrides:
        writeFields in class Metadata
        Throws:
        java.io.IOException
      • load

        public void load​(com.sforce.ws.parser.XmlInputStream __in,
                         com.sforce.ws.bind.TypeMapper __typeMapper)
                  throws java.io.IOException,
                         com.sforce.ws.ConnectionException
        Specified by:
        load in interface com.sforce.ws.bind.XMLizable
        Overrides:
        load in class Metadata
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • loadFields

        protected void loadFields​(com.sforce.ws.parser.XmlInputStream __in,
                                  com.sforce.ws.bind.TypeMapper __typeMapper)
                           throws java.io.IOException,
                                  com.sforce.ws.ConnectionException
        Overrides:
        loadFields in class Metadata
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Metadata