Package com.force.api
Class DescribeSObject
java.lang.Object
com.force.api.DescribeSObjectBasic
com.force.api.DescribeSObject
This class represents a JSON response from /services/data/v{version}/sobjects/{sobjectName}/describe It has all of
the fields for a particular sobject, and metadata about those fields.
- Since:
- 172
- Author:
- gwester
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Child Relationships.static class
This class represents part of a JSON response from /services/data/v{version}/sobjects/{sobjectName}/describestatic class
This class represents a picklist value as given by a describe api call. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.force.api.DescribeSObjectBasic
getKeyPrefix, getLabel, getLabelPlural, getName, getUrls, isActivateable, isCreateable, isCustom, isCustomSetting, isDeletable, isDeprecatedAndHidden, isFeedEnabled, isLayoutable, isMergeable, isQueryable, isReplicateable, isRetrieveable, isSearchable, isTriggerable, isUndeletable, isUpdateable
-
Constructor Details
-
DescribeSObject
public DescribeSObject()
-
-
Method Details
-
getAllFields
-
getFields
-
getChildRelationships
-
getChildEntities
- Returns:
- A map keyed child entities (e.g. Opportunity), with value of relationship name (e.g. childOpportunities).
-
getRequiredFieldsForCreateUpdate
-
getOptionalFieldsForCreateUpdate
-
getParentEntitiesForCreateUpdate
-