public interface PropertyHolder
Modifier and Type | Method and Description |
---|---|
Join |
addJoin(JoinTable joinTableAnn,
boolean noDelayInPkColumnCreation) |
void |
addProperty(Property prop,
Ejb3Column[] columns,
XClass declaringClass) |
void |
addProperty(Property prop,
XClass declaringClass) |
String |
getClassName() |
String |
getEntityName() |
String |
getEntityOwnerClassName() |
KeyValue |
getIdentifier() |
JoinTable |
getJoinTable(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
|
AttributeConverterDescriptor |
resolveAttributeConverterDescriptor(XProperty property)
Determine the AttributeConverter to use for the given property.
|
void |
setInIdClass(Boolean isInIdClass) |
void |
setParentProperty(String parentProperty) |
void |
startingProperty(XProperty property)
Called during binding to allow the PropertyHolder to inspect its discovered properties.
|
String getClassName()
String getEntityOwnerClassName()
Table getTable()
void addProperty(Property prop, Ejb3Column[] columns, 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(XProperty property)
String getEntityName()
boolean isInIdClass()
void setInIdClass(Boolean isInIdClass)
void startingProperty(XProperty property)
property
- The propertyAttributeConverterDescriptor resolveAttributeConverterDescriptor(XProperty property)
property
- Copyright © 2017 JBoss by Red Hat. All rights reserved.