#if ($entity.abstractEntity)
$entity.model.name
/
$entity.name
#else
$entity.model.name
/ $entity.name #end #if ($entity.parent)
:
$entity.parent.name
#end #if (!$entity.childrenEntities.empty)
parent of #foreach ($child in $entity.childrenEntities)
$child.name
#if ($velocityCount < $entity.childrenEntities.size()),#end #end
#end #if (!$entity.referencingEntities.empty)
referenced by #foreach ($referencingEntity in $entity.referencingEntities)
$referencingEntity.name
#if ($velocityCount < $entity.referencingEntities.size()),#end #end
#end
#if ($entity.documentation)
$entity.documentation
#end
#if ($entity.externalName)
External Name
$entity.externalName
#end #if ($entity.className)
Class Name
#if ($entityURL)
$entity.className
#else
$entity.className
#end
#end #if ($entity.restrictingQualifier)
Restricting Qualifier
$entity.restrictingQualifier
#end
Attributes
#if (!$entity.attributes.empty)
show details
#end #if (!$entity.nonClassAttributes.empty)
hide non-class
#end #if (!$entity.inheritedAttributes.empty)
hide inherited
#end #if ($entity.attributes.empty) no attributes #end
#if (!$entity.attributes.empty)
#foreach ($attribute in $entity.sortedAttributes)
$attribute.name#if ($attribute.primaryKey) [primary key]#end
#if ($attribute.columnName)
$attribute.columnName #if ($attribute.flattened) via $attribute.definition #end
#end #if ($attribute.documentation)
$attribute.documentation
#end
#if ($attribute.externalType)
External Type
#if ($attribute.prototype)
$attribute.prototype.name ($attribute.externalType)
#else
$attribute.externalType
#end
#end
Allows Null?
#if ($attribute.allowsNull)
Yes
#else
No
#end
Used For Locking?
#if ($attribute.usedForLocking)
Yes
#else
No
#end
#if ($attribute.definition)
Definition
$attribute.definition
#end #if ($attribute.width)
Width
$attribute.width
#end #if ($attribute.scale)
Scale
$attribute.scale
#end #if ($attribute.precision)
Precision
$attribute.precision
#end
#end
#end
Relationships
#if (!$entity.relationships.empty)
show details
#end #if (!$entity.nonClassRelationships.empty)
hide non-class
#end #if (!$entity.inheritedRelationships.empty)
hide inherited
#end #if ($entity.relationships.empty) no relationships #end
#if (!$entity.relationships.empty)
#foreach ($relationship in $entity.sortedRelationships)
$relationship.name
#if ($relationship.destination)
$relationship.destination.name
#if ($relationship.flattened) via #foreach ($pathElement in $relationship.definitionPath.pathElements)
$pathElement.childRelationship.name
#if ($velocityCount < $relationship.definitionPath.pathElements.size()).#end#end #end
#end #if ($relationship.documentation)
$relationship.documentation
#end
Type
#if ($relationship.flattened) Flattened #end #if ($relationship.joinSemantic.ID != "EOInnerJoin") $relationship.joinSemantic.name #end #if ($relationship.toOne) #if ($relationship.mandatory) Mandatory To-One #else Optional To-One #end #else To-Many #end
Delete Rule
$relationship.deleteRule.name
#if (!$relationship.joins.empty)
Joins
#foreach ($join in $relationship.joins)
$join.sourceAttribute.name
>
$join.destinationAttribute.name
#end
#end
#end
#end
Fetch Specifications
#if (!$entity.fetchSpecs.empty)
show details
#end #if ($entity.fetchSpecs.empty) no fetch specification #end
#if (!$entity.fetchSpecs.empty)
#foreach ($fetchSpec in $entity.sortedFetchSpecs)
$fetchSpec.name
#if ($fetchSpec.documentation)
$fetchSpec.documentation
#end
Qualifier
$fetchSpec.qualifier
#if (!$fetchSpec.sortOrderings.empty)
Sort Orderings
#foreach ($sortOrdering in $fetchSpec.sortOrderings)
$sortOrdering.key #if ($sortOrdering.ascending) (asc) #else (desc) #end #if ($sortOrdering.caseInsensitive) (insensitive) #end
#end
#end #if ($fetchSpec.fetchLimit)
Fetch Limit
$fetchSpec.fetchLimit
#end
Deep Fetch?
$fetchSpec.deep
Refreshes Refetched?
#if ($fetchSpec.refreshesRefetchedObjects) $fetchSpec.refreshesRefetchedObjects #else false #end
#end
#end
Entity Indexes
#if ($entity.entityIndexes.empty) no entity indexes #end
#if (!$entity.entityIndexes.empty)
#foreach ($entityIndex in $entity.sortedEntityIndexes)
$entityIndex.name
#if ($entityIndex.documentation)
$entityIndex.documentation
#end
#end
#end