|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.force.sdk.jpa.table.ColumnImpl
public class ColumnImpl
Representation of a Force.com field.
| Field Summary | |
|---|---|
static String |
CUSTOM_RELATIONSHIP_SUFFIX
Suffix for Force.com custom relationship. |
static String |
CUSTOM_THING_SUFFIX
Suffix for Force.com custom object. |
protected String |
fieldName
|
| Constructor Summary | |
|---|---|
ColumnImpl(String fieldName,
com.sforce.soap.partner.Field field)
Create a columnImpl with the name of a field as it would appear in the Force.com SOAP API. |
|
| Method Summary | |
|---|---|
protected void |
appendPrefix(ExpressionBuilderHelper queryHelper,
boolean appendComma,
String prefix)
Append a given prefix during the building of a SOQL query -- used for relationships. |
boolean |
appendSelectString(ExpressionBuilderHelper queryHelper,
org.datanucleus.metadata.AbstractClassMetaData acmd,
int fieldNum,
boolean appendComma,
String prefix)
Append an in progress SOQL select string with the right name for this field. |
com.sforce.soap.partner.Field |
getField()
|
String |
getFieldName()
|
String |
getForceApiName()
|
String |
getForceApiRelationshipName()
|
String |
getSelectFieldName()
|
com.sforce.soap.partner.FieldType |
getType()
Returns the Force.com API field type for this column. |
boolean |
isCustom()
Distinguish whether a field has been created by a user in this organization or whether it comes standard in a Force.com product. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CUSTOM_RELATIONSHIP_SUFFIX
public static final String CUSTOM_THING_SUFFIX
protected final String fieldName
| Constructor Detail |
|---|
public ColumnImpl(String fieldName,
com.sforce.soap.partner.Field field)
fieldName - the name of a field as it would appear in the Force.com APIfield - the Field object for this column| Method Detail |
|---|
public String getForceApiName()
public String getForceApiRelationshipName()
public String getFieldName()
public com.sforce.soap.partner.FieldType getType()
public com.sforce.soap.partner.Field getField()
public boolean isCustom()
protected void appendPrefix(ExpressionBuilderHelper queryHelper,
boolean appendComma,
String prefix)
queryHelper - the expression builder that is currently in progressappendComma - whether to append a comma before the prefixprefix - the prefix to use
public boolean appendSelectString(ExpressionBuilderHelper queryHelper,
org.datanucleus.metadata.AbstractClassMetaData acmd,
int fieldNum,
boolean appendComma,
String prefix)
queryHelper - the expression builder that is currently in progressacmd - the class metadata for the entity this field belongs tofieldNum - the number of this field in DataNucleusappendComma - whether to append a comma before the fieldprefix - the prefix to prepend, if necessary
public String getSelectFieldName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||