org.hibernate.metamodel.domain
Class AbstractAttributeContainer.PluralAttributeImpl
java.lang.Object
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:
getAttributeContainer
in interface Attribute
- Returns:
- The attribute container.
isSingular
public boolean isSingular()
- Description copied from interface:
Attribute
- An attribute can be either:
- Specified by:
isSingular
in interface Attribute
- Returns:
- True if attribute is singular; false if plural.
getNature
public PluralAttributeNature getNature()
- Specified by:
getNature
in interface PluralAttribute
getName
public String getName()
- Description copied from interface:
Attribute
- Retrieve the attribute name.
- Specified by:
getName
in interface Attribute
- Returns:
- The attribute name.
getRole
public String getRole()
- Specified by:
getRole
in interface PluralAttribute
getElementType
public Type getElementType()
- Specified by:
getElementType
in interface PluralAttribute
setElementType
public void setElementType(Type elementType)
- Specified by:
setElementType
in interface PluralAttribute
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.