com.sforce.soap.partner
Class DataCategory

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

public class DataCategory
extends Object

Java class for DataCategory complex type.

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

 <complexType name="DataCategory">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="childCategories" type="{urn:partner.soap.sforce.com}DataCategory" maxOccurs="unbounded" minOccurs="0"/>
         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<DataCategory> childCategories
           
protected  String label
           
protected  String name
           
 
Constructor Summary
DataCategory()
           
 
Method Summary
 List<DataCategory> getChildCategories()
          Gets the value of the childCategories property.
 String getLabel()
          Gets the value of the label property.
 String getName()
          Gets the value of the name property.
 void setLabel(String value)
          Sets the value of the label property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

childCategories

protected List<DataCategory> childCategories

label

protected String label

name

protected String name
Constructor Detail

DataCategory

public DataCategory()
Method Detail

getChildCategories

public List<DataCategory> getChildCategories()
Gets the value of the childCategories 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 childCategories property.

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

    getChildCategories().add(newItem);
 

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


getLabel

public String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.