Class RoleOrTerritory

  • All Implemented Interfaces:
    com.sforce.ws.bind.XMLizable
    Direct Known Subclasses:
    Role, Territory

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

      • RoleOrTerritory

        public RoleOrTerritory()
        Constructor
    • Method Detail

      • getCaseAccessLevel

        public java.lang.String getCaseAccessLevel()
      • setCaseAccessLevel

        public void setCaseAccessLevel​(java.lang.String caseAccessLevel)
      • setCaseAccessLevel

        protected void setCaseAccessLevel​(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
      • getContactAccessLevel

        public java.lang.String getContactAccessLevel()
      • setContactAccessLevel

        public void setContactAccessLevel​(java.lang.String contactAccessLevel)
      • setContactAccessLevel

        protected void setContactAccessLevel​(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
      • getMayForecastManagerShare

        public boolean getMayForecastManagerShare()
      • isMayForecastManagerShare

        public boolean isMayForecastManagerShare()
      • setMayForecastManagerShare

        public void setMayForecastManagerShare​(boolean mayForecastManagerShare)
      • setMayForecastManagerShare

        protected void setMayForecastManagerShare​(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
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • setName

        protected void setName​(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
      • getOpportunityAccessLevel

        public java.lang.String getOpportunityAccessLevel()
      • setOpportunityAccessLevel

        public void setOpportunityAccessLevel​(java.lang.String opportunityAccessLevel)
      • setOpportunityAccessLevel

        protected void setOpportunityAccessLevel​(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