public abstract class AbstractPropertyHolder extends Object implements PropertyHolder
Modifier and Type | Field and Description |
---|---|
protected AbstractPropertyHolder |
parent |
Modifier and Type | Method and Description |
---|---|
protected boolean |
areTypeMatch(Class converterDefinedType,
Class propertyType) |
protected MetadataBuildingContext |
getContext()
Get the mappings
|
JoinTable |
getJoinTable(XProperty property)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
These rules are here to support both JPA 2 and legacy overriding rules.
|
Column[] |
getOverriddenColumn(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
These rules are here to support both JPA 2 and legacy overriding rules.
|
JoinColumn[] |
getOverriddenJoinColumn(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
These rules are here to support both JPA 2 and legacy overriding rules.
|
JoinTable |
getOverriddenJoinTable(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
These rules are here to support both JPA 2 and legacy overriding rules.
|
String |
getPath() |
boolean |
isInIdClass() |
protected abstract AttributeConversionInfo |
locateAttributeConversionInfo(String path) |
protected abstract AttributeConversionInfo |
locateAttributeConversionInfo(XProperty property) |
protected AttributeConverterDefinition |
makeAttributeConverterDefinition(AttributeConversionInfo conversion) |
protected abstract String |
normalizeCompositePath(String attributeName) |
protected abstract String |
normalizeCompositePathForLogging(String attributeName) |
AttributeConverterDefinition |
resolveAttributeConverterDefinition(XProperty property)
Determine the AttributeConverter to use for the given property.
|
protected void |
setCurrentProperty(XProperty property)
Set the property be processed.
|
void |
setInIdClass(Boolean isInIdClass) |
void |
setParentProperty(String parentProperty) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addJoin, addProperty, addProperty, getClassName, getEntityName, getEntityOwnerClassName, getIdentifier, getPersistentClass, getTable, isComponent, isEntity, isOrWithinEmbeddedId, startingProperty
protected AbstractPropertyHolder parent
protected abstract String normalizeCompositePathForLogging(String attributeName)
protected abstract AttributeConversionInfo locateAttributeConversionInfo(XProperty property)
protected abstract AttributeConversionInfo locateAttributeConversionInfo(String path)
public AttributeConverterDefinition resolveAttributeConverterDefinition(XProperty property)
PropertyHolder
resolveAttributeConverterDefinition
in interface PropertyHolder
protected AttributeConverterDefinition makeAttributeConverterDefinition(AttributeConversionInfo conversion)
public boolean isInIdClass()
isInIdClass
in interface PropertyHolder
public void setInIdClass(Boolean isInIdClass)
setInIdClass
in interface PropertyHolder
public String getPath()
getPath
in interface PropertyHolder
protected MetadataBuildingContext getContext()
protected void setCurrentProperty(XProperty property)
property
- The propertypublic Column[] getOverriddenColumn(String propertyName)
getOverriddenColumn
in interface PropertyHolder
public JoinColumn[] getOverriddenJoinColumn(String propertyName)
getOverriddenJoinColumn
in interface PropertyHolder
public JoinTable getJoinTable(XProperty property)
getJoinTable
in interface PropertyHolder
public JoinTable getOverriddenJoinTable(String propertyName)
public void setParentProperty(String parentProperty)
setParentProperty
in interface PropertyHolder
Copyright © 2016 JBoss by Red Hat. All rights reserved.