public interface SingularAssociationAttributeBinding extends SingularAttributeBinding, AssociationAttributeBinding
many-to-one
, one-to-one
).Modifier and Type | Method and Description |
---|---|
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
|
getGeneration, getSimpleValueBindings, getSimpleValueSpan, getValue, hasDerivedValue, isNullable, setSimpleValueBindings
getCascadeStyle, getFetchMode, getFetchStyle, getFetchTiming, setCascadeStyles, setFetchStyle, setFetchTiming
addEntityReferencingAttributeBinding, getAttribute, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getMetaAttributeContext, getPropertyAccessorName, isAlternateUniqueKey, isAssociation, isBasicPropertyAccessor, isIncludedInOptimisticLocking, isLazy, setIncludedInOptimisticLocking, setPropertyAccessorName, validate
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()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.