public class Field extends Object
Java class for Field complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Field">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="autoNumber" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="byteLength" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="calculated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="calculatedFormula" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="cascadeDelete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="caseSensitive" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="controllerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="createable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="custom" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="defaultValueFormula" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="defaultedOnCreate" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="dependentPicklist" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="deprecatedAndHidden" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="digits" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="displayLocationInDecimal" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="encrypted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="externalId" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="extraTypeInfo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="filterable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="filteredLookupInfo" type="{urn:tooling.soap.sforce.com}FilteredLookupInfo" minOccurs="0"/>
<element name="groupable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="highScaleNumber" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="htmlFormatted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="idLookup" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="inlineHelpText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="length" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="mask" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="maskType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="nameField" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="namePointing" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="nillable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="permissionable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="picklistValues" type="{urn:tooling.soap.sforce.com}PicklistEntry" maxOccurs="unbounded" minOccurs="0"/>
<element name="precision" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="referenceTargetField" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="referenceTo" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="relationshipName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="relationshipOrder" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="restrictedDelete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="restrictedPicklist" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="scale" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="soapType" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="sortable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="updateable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="writeRequiresMasterRead" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
autoNumber |
protected int |
byteLength |
protected boolean |
calculated |
protected String |
calculatedFormula |
protected Boolean |
cascadeDelete |
protected boolean |
caseSensitive |
protected String |
controllerName |
protected boolean |
createable |
protected boolean |
custom |
protected boolean |
defaultedOnCreate |
protected String |
defaultValueFormula |
protected Boolean |
dependentPicklist |
protected boolean |
deprecatedAndHidden |
protected int |
digits |
protected Boolean |
displayLocationInDecimal |
protected Boolean |
encrypted |
protected Boolean |
externalId |
protected String |
extraTypeInfo |
protected boolean |
filterable |
protected FilteredLookupInfo |
filteredLookupInfo |
protected boolean |
groupable |
protected Boolean |
highScaleNumber |
protected Boolean |
htmlFormatted |
protected boolean |
idLookup |
protected String |
inlineHelpText |
protected String |
label |
protected int |
length |
protected String |
mask |
protected String |
maskType |
protected String |
name |
protected boolean |
nameField |
protected boolean |
namePointing |
protected boolean |
nillable |
protected boolean |
permissionable |
protected List<PicklistEntry> |
picklistValues |
protected int |
precision |
protected String |
referenceTargetField |
protected List<String> |
referenceTo |
protected String |
relationshipName |
protected Integer |
relationshipOrder |
protected Boolean |
restrictedDelete |
protected boolean |
restrictedPicklist |
protected int |
scale |
protected String |
soapType |
protected boolean |
sortable |
protected String |
type |
protected boolean |
unique |
protected boolean |
updateable |
protected Boolean |
writeRequiresMasterRead |
| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
int |
getByteLength()
Gets the value of the byteLength property.
|
String |
getCalculatedFormula()
Gets the value of the calculatedFormula property.
|
String |
getControllerName()
Gets the value of the controllerName property.
|
String |
getDefaultValueFormula()
Gets the value of the defaultValueFormula property.
|
int |
getDigits()
Gets the value of the digits property.
|
String |
getExtraTypeInfo()
Gets the value of the extraTypeInfo property.
|
FilteredLookupInfo |
getFilteredLookupInfo()
Gets the value of the filteredLookupInfo property.
|
String |
getInlineHelpText()
Gets the value of the inlineHelpText property.
|
String |
getLabel()
Gets the value of the label property.
|
int |
getLength()
Gets the value of the length property.
|
String |
getMask()
Gets the value of the mask property.
|
String |
getMaskType()
Gets the value of the maskType property.
|
String |
getName()
Gets the value of the name property.
|
List<PicklistEntry> |
getPicklistValues()
Gets the value of the picklistValues property.
|
int |
getPrecision()
Gets the value of the precision property.
|
String |
getReferenceTargetField()
Gets the value of the referenceTargetField property.
|
List<String> |
getReferenceTo()
Gets the value of the referenceTo property.
|
String |
getRelationshipName()
Gets the value of the relationshipName property.
|
Integer |
getRelationshipOrder()
Gets the value of the relationshipOrder property.
|
int |
getScale()
Gets the value of the scale property.
|
String |
getSoapType()
Gets the value of the soapType property.
|
String |
getType()
Gets the value of the type property.
|
boolean |
isAutoNumber()
Gets the value of the autoNumber property.
|
boolean |
isCalculated()
Gets the value of the calculated property.
|
Boolean |
isCascadeDelete()
Gets the value of the cascadeDelete property.
|
boolean |
isCaseSensitive()
Gets the value of the caseSensitive property.
|
boolean |
isCreateable()
Gets the value of the createable property.
|
boolean |
isCustom()
Gets the value of the custom property.
|
boolean |
isDefaultedOnCreate()
Gets the value of the defaultedOnCreate property.
|
Boolean |
isDependentPicklist()
Gets the value of the dependentPicklist property.
|
boolean |
isDeprecatedAndHidden()
Gets the value of the deprecatedAndHidden property.
|
Boolean |
isDisplayLocationInDecimal()
Gets the value of the displayLocationInDecimal property.
|
Boolean |
isEncrypted()
Gets the value of the encrypted property.
|
Boolean |
isExternalId()
Gets the value of the externalId property.
|
boolean |
isFilterable()
Gets the value of the filterable property.
|
boolean |
isGroupable()
Gets the value of the groupable property.
|
Boolean |
isHighScaleNumber()
Gets the value of the highScaleNumber property.
|
Boolean |
isHtmlFormatted()
Gets the value of the htmlFormatted property.
|
boolean |
isIdLookup()
Gets the value of the idLookup property.
|
boolean |
isNameField()
Gets the value of the nameField property.
|
boolean |
isNamePointing()
Gets the value of the namePointing property.
|
boolean |
isNillable()
Gets the value of the nillable property.
|
boolean |
isPermissionable()
Gets the value of the permissionable property.
|
Boolean |
isRestrictedDelete()
Gets the value of the restrictedDelete property.
|
boolean |
isRestrictedPicklist()
Gets the value of the restrictedPicklist property.
|
boolean |
isSortable()
Gets the value of the sortable property.
|
boolean |
isUnique()
Gets the value of the unique property.
|
boolean |
isUpdateable()
Gets the value of the updateable property.
|
Boolean |
isWriteRequiresMasterRead()
Gets the value of the writeRequiresMasterRead property.
|
void |
setAutoNumber(boolean value)
Sets the value of the autoNumber property.
|
void |
setByteLength(int value)
Sets the value of the byteLength property.
|
void |
setCalculated(boolean value)
Sets the value of the calculated property.
|
void |
setCalculatedFormula(String value)
Sets the value of the calculatedFormula property.
|
void |
setCascadeDelete(Boolean value)
Sets the value of the cascadeDelete property.
|
void |
setCaseSensitive(boolean value)
Sets the value of the caseSensitive property.
|
void |
setControllerName(String value)
Sets the value of the controllerName property.
|
void |
setCreateable(boolean value)
Sets the value of the createable property.
|
void |
setCustom(boolean value)
Sets the value of the custom property.
|
void |
setDefaultedOnCreate(boolean value)
Sets the value of the defaultedOnCreate property.
|
void |
setDefaultValueFormula(String value)
Sets the value of the defaultValueFormula property.
|
void |
setDependentPicklist(Boolean value)
Sets the value of the dependentPicklist property.
|
void |
setDeprecatedAndHidden(boolean value)
Sets the value of the deprecatedAndHidden property.
|
void |
setDigits(int value)
Sets the value of the digits property.
|
void |
setDisplayLocationInDecimal(Boolean value)
Sets the value of the displayLocationInDecimal property.
|
void |
setEncrypted(Boolean value)
Sets the value of the encrypted property.
|
void |
setExternalId(Boolean value)
Sets the value of the externalId property.
|
void |
setExtraTypeInfo(String value)
Sets the value of the extraTypeInfo property.
|
void |
setFilterable(boolean value)
Sets the value of the filterable property.
|
void |
setFilteredLookupInfo(FilteredLookupInfo value)
Sets the value of the filteredLookupInfo property.
|
void |
setGroupable(boolean value)
Sets the value of the groupable property.
|
void |
setHighScaleNumber(Boolean value)
Sets the value of the highScaleNumber property.
|
void |
setHtmlFormatted(Boolean value)
Sets the value of the htmlFormatted property.
|
void |
setIdLookup(boolean value)
Sets the value of the idLookup property.
|
void |
setInlineHelpText(String value)
Sets the value of the inlineHelpText property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setLength(int value)
Sets the value of the length property.
|
void |
setMask(String value)
Sets the value of the mask property.
|
void |
setMaskType(String value)
Sets the value of the maskType property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNameField(boolean value)
Sets the value of the nameField property.
|
void |
setNamePointing(boolean value)
Sets the value of the namePointing property.
|
void |
setNillable(boolean value)
Sets the value of the nillable property.
|
void |
setPermissionable(boolean value)
Sets the value of the permissionable property.
|
void |
setPrecision(int value)
Sets the value of the precision property.
|
void |
setReferenceTargetField(String value)
Sets the value of the referenceTargetField property.
|
void |
setRelationshipName(String value)
Sets the value of the relationshipName property.
|
void |
setRelationshipOrder(Integer value)
Sets the value of the relationshipOrder property.
|
void |
setRestrictedDelete(Boolean value)
Sets the value of the restrictedDelete property.
|
void |
setRestrictedPicklist(boolean value)
Sets the value of the restrictedPicklist property.
|
void |
setScale(int value)
Sets the value of the scale property.
|
void |
setSoapType(String value)
Sets the value of the soapType property.
|
void |
setSortable(boolean value)
Sets the value of the sortable property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setUnique(boolean value)
Sets the value of the unique property.
|
void |
setUpdateable(boolean value)
Sets the value of the updateable property.
|
void |
setWriteRequiresMasterRead(Boolean value)
Sets the value of the writeRequiresMasterRead property.
|
protected boolean autoNumber
protected int byteLength
protected boolean calculated
protected String calculatedFormula
protected Boolean cascadeDelete
protected boolean caseSensitive
protected String controllerName
protected boolean createable
protected boolean custom
protected String defaultValueFormula
protected boolean defaultedOnCreate
protected Boolean dependentPicklist
protected boolean deprecatedAndHidden
protected int digits
protected Boolean displayLocationInDecimal
protected Boolean encrypted
protected Boolean externalId
protected String extraTypeInfo
protected boolean filterable
protected FilteredLookupInfo filteredLookupInfo
protected boolean groupable
protected Boolean highScaleNumber
protected Boolean htmlFormatted
protected boolean idLookup
protected String inlineHelpText
protected String label
protected int length
protected String mask
protected String maskType
protected String name
protected boolean nameField
protected boolean namePointing
protected boolean nillable
protected boolean permissionable
protected List<PicklistEntry> picklistValues
protected int precision
protected String referenceTargetField
protected String relationshipName
protected Integer relationshipOrder
protected Boolean restrictedDelete
protected boolean restrictedPicklist
protected int scale
protected String soapType
protected boolean sortable
protected String type
protected boolean unique
protected boolean updateable
protected Boolean writeRequiresMasterRead
public boolean isAutoNumber()
public void setAutoNumber(boolean value)
public int getByteLength()
public void setByteLength(int value)
public boolean isCalculated()
public void setCalculated(boolean value)
public String getCalculatedFormula()
Stringpublic void setCalculatedFormula(String value)
value - allowed object is
Stringpublic Boolean isCascadeDelete()
Booleanpublic void setCascadeDelete(Boolean value)
value - allowed object is
Booleanpublic boolean isCaseSensitive()
public void setCaseSensitive(boolean value)
public String getControllerName()
Stringpublic void setControllerName(String value)
value - allowed object is
Stringpublic boolean isCreateable()
public void setCreateable(boolean value)
public boolean isCustom()
public void setCustom(boolean value)
public String getDefaultValueFormula()
Stringpublic void setDefaultValueFormula(String value)
value - allowed object is
Stringpublic boolean isDefaultedOnCreate()
public void setDefaultedOnCreate(boolean value)
public Boolean isDependentPicklist()
Booleanpublic void setDependentPicklist(Boolean value)
value - allowed object is
Booleanpublic boolean isDeprecatedAndHidden()
public void setDeprecatedAndHidden(boolean value)
public int getDigits()
public void setDigits(int value)
public Boolean isDisplayLocationInDecimal()
Booleanpublic void setDisplayLocationInDecimal(Boolean value)
value - allowed object is
Booleanpublic Boolean isEncrypted()
Booleanpublic void setEncrypted(Boolean value)
value - allowed object is
Booleanpublic Boolean isExternalId()
Booleanpublic void setExternalId(Boolean value)
value - allowed object is
Booleanpublic String getExtraTypeInfo()
Stringpublic void setExtraTypeInfo(String value)
value - allowed object is
Stringpublic boolean isFilterable()
public void setFilterable(boolean value)
public FilteredLookupInfo getFilteredLookupInfo()
FilteredLookupInfopublic void setFilteredLookupInfo(FilteredLookupInfo value)
value - allowed object is
FilteredLookupInfopublic boolean isGroupable()
public void setGroupable(boolean value)
public Boolean isHighScaleNumber()
Booleanpublic void setHighScaleNumber(Boolean value)
value - allowed object is
Booleanpublic Boolean isHtmlFormatted()
Booleanpublic void setHtmlFormatted(Boolean value)
value - allowed object is
Booleanpublic boolean isIdLookup()
public void setIdLookup(boolean value)
public String getInlineHelpText()
Stringpublic void setInlineHelpText(String value)
value - allowed object is
Stringpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic int getLength()
public void setLength(int value)
public String getMask()
Stringpublic void setMask(String value)
value - allowed object is
Stringpublic String getMaskType()
Stringpublic void setMaskType(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isNameField()
public void setNameField(boolean value)
public boolean isNamePointing()
public void setNamePointing(boolean value)
public boolean isNillable()
public void setNillable(boolean value)
public boolean isPermissionable()
public void setPermissionable(boolean value)
public List<PicklistEntry> getPicklistValues()
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 picklistValues property.
For example, to add a new item, do as follows:
getPicklistValues().add(newItem);
Objects of the following type(s) are allowed in the list
PicklistEntry
public int getPrecision()
public void setPrecision(int value)
public String getReferenceTargetField()
Stringpublic void setReferenceTargetField(String value)
value - allowed object is
Stringpublic List<String> getReferenceTo()
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 referenceTo property.
For example, to add a new item, do as follows:
getReferenceTo().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getRelationshipName()
Stringpublic void setRelationshipName(String value)
value - allowed object is
Stringpublic Integer getRelationshipOrder()
Integerpublic void setRelationshipOrder(Integer value)
value - allowed object is
Integerpublic Boolean isRestrictedDelete()
Booleanpublic void setRestrictedDelete(Boolean value)
value - allowed object is
Booleanpublic boolean isRestrictedPicklist()
public void setRestrictedPicklist(boolean value)
public int getScale()
public void setScale(int value)
public String getSoapType()
Stringpublic void setSoapType(String value)
value - allowed object is
Stringpublic boolean isSortable()
public void setSortable(boolean value)
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isUnique()
public void setUnique(boolean value)
public boolean isUpdateable()
public void setUpdateable(boolean value)
public Boolean isWriteRequiresMasterRead()
BooleanCopyright © 2016. All rights reserved.