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