public class DDBSEntity<T extends DDBSEntityProperty>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<?> |
classData
Class data
|
protected java.lang.String |
datastoreEntityName
Datastore entity name
|
protected java.util.List<T> |
entityProperties
Entity properties
|
Modifier | Constructor and Description |
---|---|
protected |
DDBSEntity(java.lang.Class<?> classData,
ClassInspector classInspector)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDatastoreEntityName()
Datastore entity name
|
static DDBSEntity<DDBSEntityProperty> |
getDDBSEntity(java.lang.Class<?> classData,
ClassInspector classInspector)
Get DDBSEntity entity
|
T |
getDDBSEntityProperty(java.lang.String name)
Get a DDBSEntity property
|
java.util.List<DDBSEntityProperty> |
getEntityIDProperties()
Get ID Entity properties
|
java.util.List<DDBSEntityProperty> |
getEntityNonIDProperties()
Get Non ID Entity properties
|
java.util.List<T> |
getEntityProperties()
Get Entity properties
|
java.lang.String |
getFullClassName()
Get the full class name of an object
|
java.util.List<DDBSEntityProperty> |
getNotIncrementingEntityProperties()
Get Non incrementing Entity properties
|
java.lang.String |
getPeerUid(IEntity entity)
Get Peer UID
|
java.util.List<DDBSEntityProperty> |
getSupportedPrimaryTypeEntityProperties()
Get Entity properties
|
java.lang.Object |
newInstance() |
void |
setPeerUid(IEntity entity,
java.lang.String peerUid)
Set Peer UID
|
java.lang.String |
toString() |
protected java.lang.Class<?> classData
protected java.util.List<T extends DDBSEntityProperty> entityProperties
protected java.lang.String datastoreEntityName
protected DDBSEntity(java.lang.Class<?> classData, ClassInspector classInspector)
classData
- Class dataclassInspector
- Class inspectorpublic java.lang.Object newInstance()
public java.lang.String getDatastoreEntityName()
public java.util.List<T> getEntityProperties()
public java.lang.String getFullClassName()
public java.lang.String getPeerUid(IEntity entity)
entity
- Entitypublic void setPeerUid(IEntity entity, java.lang.String peerUid)
entity
- EntitypeerUid
- Peer UIDpublic static DDBSEntity<DDBSEntityProperty> getDDBSEntity(java.lang.Class<?> classData, ClassInspector classInspector)
classData
- Class dataclassInspector
- Class inspectorpublic java.util.List<DDBSEntityProperty> getSupportedPrimaryTypeEntityProperties()
public java.util.List<DDBSEntityProperty> getEntityIDProperties()
public java.util.List<DDBSEntityProperty> getNotIncrementingEntityProperties()
public java.util.List<DDBSEntityProperty> getEntityNonIDProperties()
public T getDDBSEntityProperty(java.lang.String name)
name
- Property namepublic java.lang.String toString()
toString
in class java.lang.Object