@groovy.transform.CompileStatic class EntityDefinition extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
static class |
EntityDefinition.EntityDependents |
|
static class |
EntityDefinition.MasterDefinition |
|
static class |
EntityDefinition.MasterDetail |
Modifiers | Name | Description |
---|---|---|
protected java.util.ArrayList<FieldInfo> |
allFieldInfoList |
|
protected java.util.ArrayList<java.lang.String> |
allFieldNameList |
|
protected EntityFacadeImpl |
efi |
|
MNode |
entityConditionNode |
|
MNode |
entityHavingEconditions |
|
EntityInfo |
entityInfo |
|
protected java.util.HashMap<java.lang.String, FieldInfo> |
fieldInfoMap |
|
protected java.util.HashMap<java.lang.String, MNode> |
fieldNodeMap |
|
java.lang.String |
fullEntityName |
|
java.lang.String |
groupName |
|
protected boolean |
hasSubSelectMembers |
|
MNode |
internalEntityNode |
|
boolean |
isDynamicView |
|
boolean |
isViewEntity |
|
protected static org.slf4j.Logger |
logger |
|
protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> |
mePkFieldToAliasNameMapMap |
|
protected java.util.Map<java.lang.String, MNode> |
memberEntityAliasMap |
|
protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.ArrayList<MNode>>> |
memberEntityFieldAliases |
|
protected java.util.ArrayList<java.lang.String> |
nonPkFieldNameList |
|
protected java.util.ArrayList<java.lang.String> |
pkFieldNameList |
|
protected java.util.Map<java.lang.String, MNode> |
pqExpressionNodeMap |
|
protected boolean |
tableExistVerified |
Type | Name and description |
---|---|
Cache<EntityCondition, java.util.Set<EntityCache.ViewRaKey>> |
getCacheOneViewRa |
Cache<EntityCondition, java.lang.Long> |
internalCacheCount |
Cache<EntityCondition, EntityListImpl> |
internalCacheList |
Cache<EntityCondition, java.util.Set<EntityCondition>> |
internalCacheListRa |
Cache<EntityCondition, java.util.Set<EntityCache.ViewRaKey>> |
internalCacheListViewRa |
Cache<EntityCondition, EntityValueBase> |
internalCacheOne |
Cache<EntityCondition, java.util.Set<EntityCondition>> |
internalCacheOneRa |
Constructor and description |
---|
EntityDefinition
(EntityFacadeImpl efi, MNode entityNode) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
containsPrimaryKey(java.util.Map<java.lang.String, java.lang.Object> fields) |
|
java.lang.Object |
convertFieldString(java.lang.String name, java.lang.String value, ExecutionContextImpl eci) |
|
boolean |
equals(java.lang.Object o) |
|
java.util.ArrayList<java.lang.String> |
getAllFieldNames() |
|
Cache<EntityCondition, java.lang.Long> |
getCacheCount(EntityCache ec) |
|
Cache<EntityCondition, EntityListImpl> |
getCacheList(EntityCache ec) |
|
Cache<EntityCondition, java.util.Set<EntityCondition>> |
getCacheListRa(EntityCache ec) |
|
Cache<EntityCondition, java.util.Set<EntityCache.ViewRaKey>> |
getCacheListViewRa(EntityCache ec) |
|
Cache<EntityCondition, EntityValueBase> |
getCacheOne(EntityCache ec) |
|
Cache<EntityCondition, java.util.Set<EntityCondition>> |
getCacheOneRa(EntityCache ec) |
|
Cache<EntityCondition, java.util.Set<EntityCache.ViewRaKey>> |
getCacheOneViewRa(EntityCache ec) |
|
java.lang.String |
getColumnName(java.lang.String fieldName) |
|
java.lang.String |
getDefaultDescriptionField() |
|
EntityDefinition.EntityDependents |
getDependentsTree() |
|
EntityFacadeImpl |
getEfi() |
|
java.lang.String |
getEntityGroupName() |
|
java.lang.String |
getEntityName() |
|
MNode |
getEntityNode() |
|
FieldInfo |
getFieldInfo(java.lang.String fieldName) |
|
java.util.ArrayList<java.lang.String> |
getFieldNames(boolean includePk, boolean includeNonPk) |
|
MNode |
getFieldNode(java.lang.String fieldName) |
|
static java.lang.String |
getFieldStringForFile(FieldInfo fieldInfo, java.lang.Object value) |
|
java.lang.String |
getFullEntityName() |
|
java.lang.String |
getFullTableName() |
|
protected static java.lang.String |
getFunctionPrefix(java.lang.String function) |
|
EntityDefinition.MasterDefinition |
getMasterDefinition(java.lang.String name) |
|
java.util.Map<java.lang.String, MasterDefinition> |
getMasterDefinitionMap() |
|
java.util.Map<java.lang.String, java.lang.String> |
getMePkFieldToAliasNameMap(java.lang.String entityAlias) |
|
java.lang.String |
getMemberEntityName(java.lang.String entityAlias) |
|
MNode |
getMemberEntityNode(java.lang.String entityAlias) |
|
java.util.Map<java.lang.String, java.util.ArrayList<MNode>> |
getMemberFieldAliases(java.lang.String memberEntityName) |
|
java.util.ArrayList<java.lang.String> |
getNonPkFieldNames() |
|
java.util.ArrayList<java.lang.String> |
getPkFieldNames() |
|
MNode |
getPqExpressionNode(java.lang.String name) |
|
java.util.Map<java.lang.String, MNode> |
getPqExpressionNodeMap() |
|
java.lang.String |
getPrettyName(java.lang.String title, java.lang.String baseName) |
|
LiteStringMap<java.lang.Object> |
getPrimaryKeys(java.util.Map<java.lang.String, java.lang.Object> fields) |
|
java.lang.String |
getPrimaryKeysString(java.util.Map<java.lang.String, java.lang.Object> fieldValues) |
|
static java.util.Map<java.lang.String, java.lang.String> |
getRelationshipExpandedKeyMapInternal(MNode relationship, EntityDefinition relEd) |
|
RelationshipInfo |
getRelationshipInfo(java.lang.String relationshipName) |
|
java.util.Map<java.lang.String, RelationshipInfo> |
getRelationshipInfoMap() |
|
static java.util.Map<java.lang.String, java.lang.String> |
getRelationshipKeyValueMapInternal(MNode relationship) |
|
java.util.ArrayList<RelationshipInfo> |
getRelationshipsInfo(boolean dependentsOnly) |
|
java.lang.String |
getSchemaName() |
|
java.lang.String |
getShortAlias() |
|
java.lang.String |
getShortOrFullEntityName() |
|
java.lang.String |
getTableName() Returns the table name, ie table-name or converted entity-name |
|
int |
hashCode() |
|
boolean |
isField(java.lang.String fieldName) |
|
boolean |
isPkField(java.lang.String fieldName) |
|
EntityFind |
makeEntityFind() |
|
EntityValue |
makeEntityValue() |
|
java.lang.String |
makeFullColumnName(MNode fieldNode, boolean includeEntityAlias) |
|
EntityConditionImplBase |
makeViewHavingCondition() |
|
protected EntityConditionImplBase |
makeViewListCondition(MNode conditionsParent, MNode joinMemberEntityNode) |
|
EntityConditionImplBase |
makeViewWhereCondition() |
|
void |
setHasReverseRelationships() |
|
boolean |
tableExistsDbMetaOnly() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns the table name, ie table-name or converted entity-name
Groovy Documentation