Class SharingOwnerRule

  • All Implemented Interfaces:
    com.sforce.ws.bind.XMLizable
    Direct Known Subclasses:
    SharingTerritoryRule

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

      • SharingOwnerRule

        public SharingOwnerRule()
        Constructor
    • Method Detail

      • getSharedFrom

        public SharedTo getSharedFrom()
      • setSharedFrom

        public void setSharedFrom​(SharedTo sharedFrom)
      • setSharedFrom

        protected void setSharedFrom​(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 SharingBaseRule
        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 SharingBaseRule
        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 SharingBaseRule
        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 SharingBaseRule
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException