org.hibernate.metamodel.binding
Class AbstractAttributeBinding
java.lang.Object
   org.hibernate.metamodel.binding.AbstractAttributeBinding
org.hibernate.metamodel.binding.AbstractAttributeBinding
- All Implemented Interfaces: 
- AttributeBinding
- Direct Known Subclasses: 
- AbstractPluralAttributeBinding, AbstractSingularAttributeBinding
- public abstract class AbstractAttributeBinding 
- extends Object- implements AttributeBinding
Basic support for AttributeBinding implementors
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
AbstractAttributeBinding
protected AbstractAttributeBinding(AttributeBindingContainer container,
                                   Attribute attribute)
getContainer
public AttributeBindingContainer getContainer()
- Description copied from interface: AttributeBinding
- Obtain the entity binding to which this attribute binding exists.
 
- 
- Specified by:
- getContainerin interface- AttributeBinding
 
- 
- Returns:
- The entity binding.
 
getAttribute
public Attribute getAttribute()
- Description copied from interface: AttributeBinding
- Obtain the attribute bound.
 
- 
- Specified by:
- getAttributein interface- AttributeBinding
 
- 
- Returns:
- The attribute.
 
getHibernateTypeDescriptor
public HibernateTypeDescriptor getHibernateTypeDescriptor()
- Description copied from interface: AttributeBinding
- Obtain the descriptor for the Hibernate Typefor this binding.
 
 For information about the Java type, query theAttributeobtained fromAttributeBinding.getAttribute()instead.
 
- 
- Specified by:
- getHibernateTypeDescriptorin interface- AttributeBinding
 
- 
- Returns:
- The type descriptor
 
isBasicPropertyAccessor
public boolean isBasicPropertyAccessor()
- 
- Specified by:
- isBasicPropertyAccessorin interface- AttributeBinding
 
- 
 
getPropertyAccessorName
public String getPropertyAccessorName()
- 
- Specified by:
- getPropertyAccessorNamein interface- AttributeBinding
 
- 
 
setPropertyAccessorName
public void setPropertyAccessorName(String propertyAccessorName)
- 
- Specified by:
- setPropertyAccessorNamein interface- AttributeBinding
 
- 
 
isIncludedInOptimisticLocking
public boolean isIncludedInOptimisticLocking()
- 
- Specified by:
- isIncludedInOptimisticLockingin interface- AttributeBinding
 
- 
 
setIncludedInOptimisticLocking
public void setIncludedInOptimisticLocking(boolean includedInOptimisticLocking)
- 
- Specified by:
- setIncludedInOptimisticLockingin interface- AttributeBinding
 
- 
 
getMetaAttributeContext
public MetaAttributeContext getMetaAttributeContext()
- Description copied from interface: AttributeBinding
- Obtain the meta attributes associated with this binding
 
- 
- Specified by:
- getMetaAttributeContextin interface- AttributeBinding
 
- 
- Returns:
- The meta attributes
 
setMetaAttributeContext
public void setMetaAttributeContext(MetaAttributeContext metaAttributeContext)
- 
 
- 
 
isAlternateUniqueKey
public boolean isAlternateUniqueKey()
- 
- Specified by:
- isAlternateUniqueKeyin interface- AttributeBinding
 
- 
 
setAlternateUniqueKey
public void setAlternateUniqueKey(boolean alternateUniqueKey)
- 
 
- 
 
isLazy
public boolean isLazy()
- 
- Specified by:
- isLazyin interface- AttributeBinding
 
- 
 
setLazy
public void setLazy(boolean isLazy)
- 
 
- 
 
addEntityReferencingAttributeBinding
public void addEntityReferencingAttributeBinding(SingularAssociationAttributeBinding referencingAttributeBinding)
- 
- Specified by:
- addEntityReferencingAttributeBindingin interface- AttributeBinding
 
- 
 
getEntityReferencingAttributeBindings
public Set<SingularAssociationAttributeBinding> getEntityReferencingAttributeBindings()
- 
- Specified by:
- getEntityReferencingAttributeBindingsin interface- AttributeBinding
 
- 
 
validate
public void validate()
- 
- Specified by:
- validatein interface- AttributeBinding
 
- 
 
Copyright © 2001-2012 Red Hat, Inc.  All Rights Reserved.