public class BasicAttributeBinding extends AbstractSingularAttributeBinding implements KeyValueBinding
Modifier and Type | Method and Description |
---|---|
boolean |
forceNonNullable() |
boolean |
forceUnique() |
PropertyGeneration |
getGeneration()
Obtain the generation strategy for this attribute/value.
|
MetaAttributeContext |
getMetaAttributeContext()
Obtain the meta attributes associated with this binding
|
String |
getUnsavedValue() |
boolean |
isAssociation() |
boolean |
isIncludedInOptimisticLocking() |
boolean |
isKeyCascadeDeleteEnabled() |
void |
setGeneration(PropertyGeneration generation) |
void |
setIncludedInOptimisticLocking(boolean includedInOptimisticLocking) |
void |
setKeyCascadeDeleteEnabled(boolean keyCascadeDeleteEnabled) |
void |
setMetaAttributeContext(MetaAttributeContext metaAttributeContext) |
void |
setUnsavedValue(String unsavedValue) |
checkValueBinding, getAttribute, getSimpleValueBindings, getSimpleValueSpan, getValue, hasDerivedValue, isNullable, setSimpleValueBindings
addEntityReferencingAttributeBinding, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getPropertyAccessorName, isAlternateUniqueKey, isBasicPropertyAccessor, isLazy, setAlternateUniqueKey, setLazy, setPropertyAccessorName, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEntityReferencingAttributeBinding, getAttribute, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getPropertyAccessorName, isAlternateUniqueKey, isBasicPropertyAccessor, isLazy, setPropertyAccessorName, validate
public boolean isAssociation()
isAssociation
in interface AttributeBinding
public String getUnsavedValue()
getUnsavedValue
in interface KeyValueBinding
public void setUnsavedValue(String unsavedValue)
public PropertyGeneration getGeneration()
SingularAttributeBinding
getGeneration
in interface SingularAttributeBinding
public void setGeneration(PropertyGeneration generation)
public boolean isIncludedInOptimisticLocking()
isIncludedInOptimisticLocking
in interface AttributeBinding
isIncludedInOptimisticLocking
in class AbstractAttributeBinding
public void setIncludedInOptimisticLocking(boolean includedInOptimisticLocking)
setIncludedInOptimisticLocking
in interface AttributeBinding
setIncludedInOptimisticLocking
in class AbstractAttributeBinding
public boolean isKeyCascadeDeleteEnabled()
isKeyCascadeDeleteEnabled
in interface KeyValueBinding
public void setKeyCascadeDeleteEnabled(boolean keyCascadeDeleteEnabled)
public boolean forceNonNullable()
public boolean forceUnique()
public MetaAttributeContext getMetaAttributeContext()
AttributeBinding
getMetaAttributeContext
in interface AttributeBinding
getMetaAttributeContext
in class AbstractAttributeBinding
public void setMetaAttributeContext(MetaAttributeContext metaAttributeContext)
setMetaAttributeContext
in class AbstractAttributeBinding
Copyright © 2018 JBoss by Red Hat. All rights reserved.