public static class AbstractAttributeContainer.PluralAttributeImpl extends Object implements PluralAttribute
Constructor and Description |
---|
AbstractAttributeContainer.PluralAttributeImpl(String name,
PluralAttributeNature nature,
AttributeContainer attributeContainer) |
Modifier and Type | Method and Description |
---|---|
AttributeContainer |
getAttributeContainer()
Retrieve the declaring container for this attribute (entity/component).
|
Type |
getElementType() |
String |
getName()
Retrieve the attribute name.
|
PluralAttributeNature |
getNature() |
String |
getRole() |
boolean |
isSingular()
An attribute can be either:
singular - castable to
SingularAttribute
plural - castable to PluralAttribute
|
void |
setElementType(Type elementType) |
public AbstractAttributeContainer.PluralAttributeImpl(String name, PluralAttributeNature nature, AttributeContainer attributeContainer)
public AttributeContainer getAttributeContainer()
Attribute
getAttributeContainer
in interface Attribute
public boolean isSingular()
Attribute
SingularAttribute
PluralAttribute
isSingular
in interface Attribute
public PluralAttributeNature getNature()
getNature
in interface PluralAttribute
public String getName()
Attribute
public String getRole()
getRole
in interface PluralAttribute
public Type getElementType()
getElementType
in interface PluralAttribute
public void setElementType(Type elementType)
setElementType
in interface PluralAttribute
Copyright © 2018 JBoss by Red Hat. All rights reserved.