| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private EntityBinder | |
| private final Map | |
| private Map | |
| private transient Map | |
| private final PersistentClass |
| Access | Constructor and Description |
|---|---|
| public | ClassPropertyHolder(PersistentClass persistentClass, XClass entityXClass, Map<String, Join> joins, MetadataBuildingContext context, Map<XClass, InheritanceState> inheritanceStatePerClass)
|
| public | ClassPropertyHolder(PersistentClass persistentClass, XClass entityXClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<XClass, InheritanceState> inheritanceStatePerClass)
|
| Modifier and Type | Method and Description |
|---|---|
| public Join | addJoin(JoinTable joinTableAnn, boolean noDelayInPkColumnCreation)
Implements org. |
| public Join | addJoin(JoinTable joinTable, Table table, boolean noDelayInPkColumnCreation)
Implements org. |
| public void | addProperty(Property prop, AnnotatedColumns columns, XClass declaringClass)
Implements org. |
| public void | addProperty(Property prop, XClass declaringClass)
Implements org. |
| private void | |
| private void | |
| private void | |
| protected Map | |
| private void | |
| public String | |
| private static List | |
| public String | |
| public String | |
| public KeyValue | |
| private Map | getJoinsPerRealTableName()
Needed for proper compliance with naming strategy, the property table can be overridden if the properties are part of secondary tables |
| public PersistentClass | |
| public Table | |
| private static String | |
| private static String | |
| public static void | handleGenericComponentProperty(Property property, MetadataBuildingContext context)
Embeddable classes can be defined using generics. |
| public boolean | |
| public boolean | |
| public boolean | isOrWithinEmbeddedId()
Implements org. |
| public boolean | isWithinElementCollection()
Implements org. |
| protected AttributeConversionInfo | locateAttributeConversionInfo(XProperty property)
Implements abstract org. |
| protected AttributeConversionInfo | |
| protected String | normalizeCompositePath(String attributeName)
Implements abstract org. |
| protected String | normalizeCompositePathForLogging(String attributeName)
Implements abstract org. |
| pack-priv static void | prepareActualProperty(Property prop, Class<?> type, boolean allowCollections, MetadataBuildingContext context, Consumer<Property> propertyConsumer)
|
| private static void | |
| public void | startingProperty(XProperty
The property property)Implements org. |
| public String |
| attributeConversionInfoMap | back to summary |
|---|---|
| private final Map<String, AttributeConversionInfo> attributeConversionInfoMap | |
| entityBinder | back to summary |
|---|---|
| private EntityBinder entityBinder | |
| inheritanceStatePerClass | back to summary |
|---|---|
| private final Map<XClass, InheritanceState> inheritanceStatePerClass | |
| joins | back to summary |
|---|---|
| private Map<String, Join> joins | |
| joinsPerRealTableName | back to summary |
|---|---|
| private transient Map<String, Join> joinsPerRealTableName | |
| persistentClass | back to summary |
|---|---|
| private final PersistentClass persistentClass | |
| ClassPropertyHolder | back to summary |
|---|---|
| public ClassPropertyHolder(PersistentClass persistentClass, XClass entityXClass, Map<String, Join> joins, MetadataBuildingContext context, Map<XClass, InheritanceState> inheritanceStatePerClass) | |
| ClassPropertyHolder | back to summary |
|---|---|
| public ClassPropertyHolder(PersistentClass persistentClass, XClass entityXClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<XClass, InheritanceState> inheritanceStatePerClass) | |
| addJoin | back to summary |
|---|---|
| public Join addJoin(JoinTable joinTableAnn, boolean noDelayInPkColumnCreation) Implements org.
| |
| addJoin | back to summary |
|---|---|
| public Join addJoin(JoinTable joinTable, Table table, boolean noDelayInPkColumnCreation) Implements org.
| |
| addProperty | back to summary |
|---|---|
| public void addProperty(Property prop, AnnotatedColumns columns, XClass declaringClass) Implements org.
| |
| addProperty | back to summary |
|---|---|
| public void addProperty(Property prop, XClass declaringClass) Implements org.
| |
| addPropertyToJoin | back to summary |
|---|---|
| private void addPropertyToJoin(Property property, XClass declaringClass, Join join) | |
| addPropertyToMappedSuperclass | back to summary |
|---|---|
| private void addPropertyToMappedSuperclass(Property prop, XClass declaringClass) | |
| addPropertyToPersistentClass | back to summary |
|---|---|
| private void addPropertyToPersistentClass(Property property, XClass declaringClass) | |
| buildAttributeConversionInfoMap | back to summary |
|---|---|
| protected Map | |
| collectAttributeConversionInfo | back to summary |
|---|---|
| private void collectAttributeConversionInfo(Map<String, AttributeConversionInfo> infoMap, XClass xClass) | |
| getClassName | back to summary |
|---|---|
| public String getClassName() Implements org.
| |
| getDeclaredProperties | back to summary |
|---|---|
| private static List | |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() Implements org.
| |
| getEntityOwnerClassName | back to summary |
|---|---|
| public String getEntityOwnerClassName() Implements org.
| |
| getIdentifier | back to summary |
|---|---|
| public KeyValue getIdentifier() Implements org.
| |
| getJoinsPerRealTableName | back to summary |
|---|---|
| private Map Needed for proper compliance with naming strategy, the property table can be overridden if the properties are part of secondary tables | |
| getPersistentClass | back to summary |
|---|---|
| public PersistentClass getPersistentClass() Implements org.
| |
| getTable | back to summary |
|---|---|
| public Table getTable() Implements org.
| |
| getTypeName | back to summary |
|---|---|
| private static String getTypeName(Property property) | |
| getTypeName | back to summary |
|---|---|
| private static String getTypeName(Value value) | |
| handleGenericComponentProperty | back to summary |
|---|---|
| public static void handleGenericComponentProperty(Property property, MetadataBuildingContext context) Embeddable classes can be defined using generics. For this reason, we must check every property value and specially handle generic components by setting the property as generic, to later be able to resolve its concrete type, and creating a new component with correctly typed sub-properties for the metamodel. | |
| isComponent | back to summary |
|---|---|
| public boolean isComponent() Implements org.
| |
| isEntity | back to summary |
|---|---|
| public boolean isEntity() Implements org.
| |
| isOrWithinEmbeddedId | back to summary |
|---|---|
| public boolean isOrWithinEmbeddedId() Implements org. Doc from org. Return true if this component is or is embedded in a @EmbeddedId
| |
| isWithinElementCollection | back to summary |
|---|---|
| public boolean isWithinElementCollection() Implements org. Doc from org. Return true if this component is within an @ElementCollection.
| |
| locateAttributeConversionInfo | back to summary |
|---|---|
| protected AttributeConversionInfo locateAttributeConversionInfo(XProperty property) Implements abstract org.
| |
| locateAttributeConversionInfo | back to summary |
|---|---|
| protected AttributeConversionInfo locateAttributeConversionInfo(String path) Implements abstract org.
| |
| normalizeCompositePath | back to summary |
|---|---|
| protected String normalizeCompositePath(String attributeName) Implements abstract org.
| |
| normalizeCompositePathForLogging | back to summary |
|---|---|
| protected String normalizeCompositePathForLogging(String attributeName) Implements abstract org.
| |
| prepareActualProperty | back to summary |
|---|---|
| pack-priv static void prepareActualProperty(Property prop, Class<?> type, boolean allowCollections, MetadataBuildingContext context, Consumer<Property> propertyConsumer) | |
| setTypeName | back to summary |
|---|---|
| private static void setTypeName(Value value, String typeName) | |
| startingProperty | back to summary |
|---|---|
| public void startingProperty(XProperty property) Implements org. Doc from org. Called during binding to allow the PropertyHolder to inspect its discovered properties. Mainly this is used in collecting attribute conversion declarations (via @Convert/@Converts). | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |