|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SingularAssociationAttributeBinding
Contract describing the attribute binding for singular associations (many-to-one
, one-to-one
).
Method Summary | |
---|---|
AttributeBinding |
getReferencedAttributeBinding()
|
String |
getReferencedAttributeName()
|
EntityBinding |
getReferencedEntityBinding()
|
String |
getReferencedEntityName()
Obtain the name of the referenced entity. |
boolean |
isPropertyReference()
Is this association based on a property reference (non PK column(s) as target of FK)? Convenience form of checking getReferencedAttributeName() for null . |
boolean |
isReferenceResolved()
|
void |
resolveReference(AttributeBinding attributeBinding)
|
void |
setReferencedAttributeName(String referencedAttributeName)
|
void |
setReferencedEntityName(String referencedEntityName)
Set the name of the |
Methods inherited from interface org.hibernate.metamodel.binding.SingularAttributeBinding |
---|
getGeneration, getSimpleValueBindings, getSimpleValueSpan, getValue, hasDerivedValue, isNullable, setSimpleValueBindings |
Methods inherited from interface org.hibernate.metamodel.binding.AssociationAttributeBinding |
---|
getCascadeStyle, getFetchMode, getFetchStyle, getFetchTiming, setCascadeStyles, setFetchStyle, setFetchTiming |
Methods inherited from interface org.hibernate.metamodel.binding.AttributeBinding |
---|
addEntityReferencingAttributeBinding, getAttribute, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getMetaAttributeContext, getPropertyAccessorName, isAlternateUniqueKey, isAssociation, isBasicPropertyAccessor, isIncludedInOptimisticLocking, isLazy, setIncludedInOptimisticLocking, setPropertyAccessorName, validate |
Method Detail |
---|
boolean isPropertyReference()
getReferencedAttributeName()
for null
.
String getReferencedEntityName()
void setReferencedEntityName(String referencedEntityName)
referencedEntityName
- String getReferencedAttributeName()
void setReferencedAttributeName(String referencedAttributeName)
void resolveReference(AttributeBinding attributeBinding)
boolean isReferenceResolved()
EntityBinding getReferencedEntityBinding()
AttributeBinding getReferencedAttributeBinding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |