public interface PropertyHolder
Property holder abstract property containers from their direct implementation
Modifier and Type | Method and Description |
---|---|
Join |
addJoin(JoinTable joinTableAnn,
boolean noDelayInPkColumnCreation) |
void |
addProperty(Property prop,
Ejb3Column[] columns,
org.hibernate.annotations.common.reflection.XClass declaringClass) |
void |
addProperty(Property prop,
org.hibernate.annotations.common.reflection.XClass declaringClass) |
String |
getClassName() |
String |
getEntityName() |
String |
getEntityOwnerClassName() |
KeyValue |
getIdentifier() |
JoinTable |
getJoinTable(org.hibernate.annotations.common.reflection.XProperty property)
return
- null if no join table is present,
- the join table if not overridden,
- the overridden join table otherwise
|
Column[] |
getOverriddenColumn(String propertyName)
return null if the column is not overridden, or an array of column if true
|
default ForeignKey |
getOverriddenForeignKey(String propertyName)
return null if hte foreign key is not overridden, or the foreign key if true
|
JoinColumn[] |
getOverriddenJoinColumn(String propertyName)
return null if the column is not overridden, or an array of column if true
|
String |
getPath() |
PersistentClass |
getPersistentClass() |
Table |
getTable() |
boolean |
isComponent() |
boolean |
isEntity() |
boolean |
isInIdClass() |
boolean |
isOrWithinEmbeddedId()
Return true if this component is or is embedded in a @EmbeddedId
|
boolean |
isWithinElementCollection()
Return true if this component is withing an @ElementCollection.
|
ConverterDescriptor |
resolveAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty property)
Determine the AttributeConverter to use for the given property.
|
void |
setInIdClass(Boolean isInIdClass) |
void |
setParentProperty(String parentProperty) |
void |
startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
Called during binding to allow the PropertyHolder to inspect its discovered properties.
|
String getClassName()
String getEntityOwnerClassName()
Table getTable()
void addProperty(Property prop, org.hibernate.annotations.common.reflection.XClass declaringClass)
void addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)
KeyValue getIdentifier()
boolean isOrWithinEmbeddedId()
Return true if this component is or is embedded in a @EmbeddedId
boolean isWithinElementCollection()
Return true if this component is withing an @ElementCollection.
PersistentClass getPersistentClass()
boolean isComponent()
boolean isEntity()
void setParentProperty(String parentProperty)
String getPath()
Column[] getOverriddenColumn(String propertyName)
return null if the column is not overridden, or an array of column if true
JoinColumn[] getOverriddenJoinColumn(String propertyName)
return null if the column is not overridden, or an array of column if true
default ForeignKey getOverriddenForeignKey(String propertyName)
return null if hte foreign key is not overridden, or the foreign key if true
JoinTable getJoinTable(org.hibernate.annotations.common.reflection.XProperty property)
return - null if no join table is present, - the join table if not overridden, - the overridden join table otherwise
String getEntityName()
boolean isInIdClass()
void setInIdClass(Boolean isInIdClass)
void startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
Called during binding to allow the PropertyHolder to inspect its discovered properties. Mainly this is used in collecting attribute conversion declarations (via @Convert/@Converts).
property
- The propertyConverterDescriptor resolveAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty property)
Determine the AttributeConverter to use for the given property.
property
- Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.