org.hibernate.metamodel.domain
Class AbstractAttributeContainer.PluralAttributeImpl
java.lang.Object
   org.hibernate.metamodel.domain.AbstractAttributeContainer.PluralAttributeImpl
org.hibernate.metamodel.domain.AbstractAttributeContainer.PluralAttributeImpl
- All Implemented Interfaces: 
- Attribute, PluralAttribute
- Direct Known Subclasses: 
- AbstractAttributeContainer.IndexedPluralAttributeImpl
- Enclosing class:
- AbstractAttributeContainer
- public static class AbstractAttributeContainer.PluralAttributeImpl 
- extends Object- implements PluralAttribute
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AbstractAttributeContainer.PluralAttributeImpl
public AbstractAttributeContainer.PluralAttributeImpl(String name,
                                                      PluralAttributeNature nature,
                                                      AttributeContainer attributeContainer)
getAttributeContainer
public AttributeContainer getAttributeContainer()
- Description copied from interface: Attribute
- Retrieve the declaring container for this attribute (entity/component).
 
- 
- Specified by:
- getAttributeContainerin interface- Attribute
 
- 
- Returns:
- The attribute container.
 
isSingular
public boolean isSingular()
- Description copied from interface: Attribute
- An attribute can be either:
 
- 
- Specified by:
- isSingularin interface- Attribute
 
- 
- Returns:
- True if attribute is singular; false if plural.
 
getNature
public PluralAttributeNature getNature()
- 
- Specified by:
- getNaturein interface- PluralAttribute
 
- 
 
getName
public String getName()
- Description copied from interface: Attribute
- Retrieve the attribute name.
 
- 
- Specified by:
- getNamein interface- Attribute
 
- 
- Returns:
- The attribute name.
 
getRole
public String getRole()
- 
- Specified by:
- getRolein interface- PluralAttribute
 
- 
 
getElementType
public Type getElementType()
- 
- Specified by:
- getElementTypein interface- PluralAttribute
 
- 
 
setElementType
public void setElementType(Type elementType)
- 
- Specified by:
- setElementTypein interface- PluralAttribute
 
- 
 
Copyright © 2001-2012 Red Hat, Inc.  All Rights Reserved.