public abstract class AbstractDescribedSObjectBase extends AbstractSObjectBase
AbstractSObjectBase
that contains additional metadata about SObject. The
camel-salesforce-maven-plugin
generates Data Transfer Objects (DTO) by subclassing this class and
implementing the description()
method from the metadata received from
Salesforce. Note that there are no guarantees about all fields in the SObjectDescription
being set. This is
to prevent unnecessary memory usage, and to prevent running into Java method length limit.Constructor and Description |
---|
AbstractDescribedSObjectBase() |
Modifier and Type | Method and Description |
---|---|
protected static SObjectField |
createField(String name,
String label,
String type,
String soapType,
int length,
boolean unique,
boolean nillable,
boolean nameField,
boolean externalId,
boolean custom,
boolean caseSensitive,
boolean idLookup) |
abstract SObjectDescription |
description()
Additional metadata about this SObject.
|
clearBaseFields, getAttributes, getCreatedById, getCreatedDate, getId, getLastActivityDate, getLastModifiedById, getLastModifiedDate, getLastReferencedDate, getLastViewedDate, getName, getOwnerId, getSystemModstamp, isIsDeleted, setAttributes, setCreatedById, setCreatedDate, setId, setIsDeleted, setLastActivityDate, setLastModifiedById, setLastModifiedDate, setLastReferencedDate, setLastViewedDate, setName, setOwnerId, setSystemModstamp
toString
public abstract SObjectDescription description()
SObjectDescription
will be set.protected static SObjectField createField(String name, String label, String type, String soapType, int length, boolean unique, boolean nillable, boolean nameField, boolean externalId, boolean custom, boolean caseSensitive, boolean idLookup)
Apache Camel