public interface PropertyHolder
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
|
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
|
AttributeConverterDefinition |
resolveAttributeConverterDefinition(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()
PersistentClass getPersistentClass()
boolean isComponent()
boolean isEntity()
void setParentProperty(String parentProperty)
String getPath()
Column[] getOverriddenColumn(String propertyName)
JoinColumn[] getOverriddenJoinColumn(String propertyName)
JoinTable getJoinTable(org.hibernate.annotations.common.reflection.XProperty property)
String getEntityName()
boolean isInIdClass()
void setInIdClass(Boolean isInIdClass)
void startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
property
- The propertyAttributeConverterDefinition resolveAttributeConverterDefinition(org.hibernate.annotations.common.reflection.XProperty property)
property
- Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.