|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.force.sdk.jpa.table.TableName
public final class TableName
Force.com objects have names that consist of a namespace, the base name of the object, and a suffix (like __c). This class manages all of these elements.
| Nested Class Summary | |
|---|---|
static class |
TableName.Type
Enum of all possible table types. |
| Method Summary | |
|---|---|
static TableName |
createTableName(String namespace,
org.datanucleus.metadata.AbstractClassMetaData acmd)
Creates a TableName object with all the components necessary for Force.com API access, including the name of the object, the namespace, and the suffix if needed. |
String |
getForceApiName()
Returns fully qualified Force.com API name for this TableName. |
String |
getName()
|
String |
getNamespace()
|
TableName.Type |
getType()
|
boolean |
isCustom()
Returns whether an object is user created or standard in Force.com. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static TableName createTableName(String namespace,
org.datanucleus.metadata.AbstractClassMetaData acmd)
namespace - in most cases this will be the namespace of the organization holding the API connectionacmd - the metadata of the entity
public String getName()
public String getNamespace()
public String getForceApiName()
TableName.
public boolean isCustom()
true if this object is custompublic TableName.Type getType()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||