com.sforce.soap.partner
Class DescribeGlobalResult

java.lang.Object
  extended by com.sforce.soap.partner.DescribeGlobalResult

public class DescribeGlobalResult
extends Object

Java class for DescribeGlobalResult complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="DescribeGlobalResult">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="encoding" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="maxBatchSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="sobjects" type="{urn:partner.soap.sforce.com}DescribeGlobalSObjectResult" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String encoding
           
protected  int maxBatchSize
           
protected  List<DescribeGlobalSObjectResult> sobjects
           
 
Constructor Summary
DescribeGlobalResult()
           
 
Method Summary
 String getEncoding()
          Gets the value of the encoding property.
 int getMaxBatchSize()
          Gets the value of the maxBatchSize property.
 List<DescribeGlobalSObjectResult> getSobjects()
          Gets the value of the sobjects property.
 void setEncoding(String value)
          Sets the value of the encoding property.
 void setMaxBatchSize(int value)
          Sets the value of the maxBatchSize property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

encoding

protected String encoding

maxBatchSize

protected int maxBatchSize

sobjects

protected List<DescribeGlobalSObjectResult> sobjects
Constructor Detail

DescribeGlobalResult

public DescribeGlobalResult()
Method Detail

getEncoding

public String getEncoding()
Gets the value of the encoding property.

Returns:
possible object is String

setEncoding

public void setEncoding(String value)
Sets the value of the encoding property.

Parameters:
value - allowed object is String

getMaxBatchSize

public int getMaxBatchSize()
Gets the value of the maxBatchSize property.


setMaxBatchSize

public void setMaxBatchSize(int value)
Sets the value of the maxBatchSize property.


getSobjects

public List<DescribeGlobalSObjectResult> getSobjects()
Gets the value of the sobjects property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the sobjects property.

For example, to add a new item, do as follows:

    getSobjects().add(newItem);
 

Objects of the following type(s) are allowed in the list DescribeGlobalSObjectResult



Copyright © 2012. All Rights Reserved.