|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.metamodel.binding.AbstractAttributeBinding org.hibernate.metamodel.binding.AbstractSingularAttributeBinding org.hibernate.metamodel.binding.BasicAttributeBinding org.hibernate.metamodel.binding.ManyToOneAttributeBinding
public class ManyToOneAttributeBinding
TODO : javadoc
Method Summary | |
---|---|
CascadeStyle |
getCascadeStyle()
Obtain the cascade style in effect for this association. |
FetchMode |
getFetchMode()
Temporary. |
FetchStyle |
getFetchStyle()
|
FetchTiming |
getFetchTiming()
|
AttributeBinding |
getReferencedAttributeBinding()
|
String |
getReferencedAttributeName()
|
EntityBinding |
getReferencedEntityBinding()
|
String |
getReferencedEntityName()
Obtain the name of the referenced entity. |
boolean |
isAssociation()
|
boolean |
isPropertyReference()
Is this association based on a property reference (non PK column(s) as target of FK)? Convenience form of checking SingularAssociationAttributeBinding.getReferencedAttributeName() for null . |
boolean |
isReferenceResolved()
|
void |
resolveReference(AttributeBinding referencedAttributeBinding)
|
void |
setCascadeStyles(Iterable<CascadeStyle> cascadeStyles)
Set the cascade styles in effect for this association. |
void |
setFetchStyle(FetchStyle fetchStyle)
|
void |
setFetchTiming(FetchTiming fetchTiming)
|
void |
setReferencedAttributeName(String referencedEntityAttributeName)
|
void |
setReferencedEntityName(String referencedEntityName)
Set the name of the |
Methods inherited from class org.hibernate.metamodel.binding.BasicAttributeBinding |
---|
forceNonNullable, forceUnique, getGeneration, getMetaAttributeContext, getUnsavedValue, isIncludedInOptimisticLocking, isKeyCascadeDeleteEnabled, setGeneration, setIncludedInOptimisticLocking, setKeyCascadeDeleteEnabled, setMetaAttributeContext, setUnsavedValue |
Methods inherited from class org.hibernate.metamodel.binding.AbstractSingularAttributeBinding |
---|
checkValueBinding, getAttribute, getSimpleValueBindings, getSimpleValueSpan, getValue, hasDerivedValue, isNullable, setSimpleValueBindings |
Methods inherited from class org.hibernate.metamodel.binding.AbstractAttributeBinding |
---|
addEntityReferencingAttributeBinding, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getPropertyAccessorName, isAlternateUniqueKey, isBasicPropertyAccessor, isLazy, setAlternateUniqueKey, setLazy, setPropertyAccessorName, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hibernate.metamodel.binding.SingularAttributeBinding |
---|
getGeneration, getSimpleValueBindings, getSimpleValueSpan, getValue, hasDerivedValue, isNullable, setSimpleValueBindings |
Methods inherited from interface org.hibernate.metamodel.binding.AttributeBinding |
---|
addEntityReferencingAttributeBinding, getAttribute, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getMetaAttributeContext, getPropertyAccessorName, isAlternateUniqueKey, isBasicPropertyAccessor, isIncludedInOptimisticLocking, isLazy, setIncludedInOptimisticLocking, setPropertyAccessorName, validate |
Method Detail |
---|
public boolean isAssociation()
isAssociation
in interface AttributeBinding
isAssociation
in class BasicAttributeBinding
public final boolean isPropertyReference()
SingularAssociationAttributeBinding
SingularAssociationAttributeBinding.getReferencedAttributeName()
for null
.
isPropertyReference
in interface SingularAssociationAttributeBinding
public final String getReferencedEntityName()
SingularAssociationAttributeBinding
getReferencedEntityName
in interface SingularAssociationAttributeBinding
public void setReferencedEntityName(String referencedEntityName)
SingularAssociationAttributeBinding
setReferencedEntityName
in interface SingularAssociationAttributeBinding
public final String getReferencedAttributeName()
getReferencedAttributeName
in interface SingularAssociationAttributeBinding
public void setReferencedAttributeName(String referencedEntityAttributeName)
setReferencedAttributeName
in interface SingularAssociationAttributeBinding
public CascadeStyle getCascadeStyle()
AssociationAttributeBinding
getCascadeStyle
in interface AssociationAttributeBinding
public void setCascadeStyles(Iterable<CascadeStyle> cascadeStyles)
AssociationAttributeBinding
setCascadeStyles
in interface AssociationAttributeBinding
cascadeStyles
- The cascade styles.public FetchTiming getFetchTiming()
getFetchTiming
in interface AssociationAttributeBinding
public void setFetchTiming(FetchTiming fetchTiming)
setFetchTiming
in interface AssociationAttributeBinding
public FetchStyle getFetchStyle()
getFetchStyle
in interface AssociationAttributeBinding
public void setFetchStyle(FetchStyle fetchStyle)
setFetchStyle
in interface AssociationAttributeBinding
public FetchMode getFetchMode()
AssociationAttributeBinding
getFetchMode
in interface AssociationAttributeBinding
public final boolean isReferenceResolved()
isReferenceResolved
in interface SingularAssociationAttributeBinding
public final void resolveReference(AttributeBinding referencedAttributeBinding)
resolveReference
in interface SingularAssociationAttributeBinding
public AttributeBinding getReferencedAttributeBinding()
getReferencedAttributeBinding
in interface SingularAssociationAttributeBinding
public final EntityBinding getReferencedEntityBinding()
getReferencedEntityBinding
in interface SingularAssociationAttributeBinding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |