public class AttributeMap extends AbstractAttributeMap
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,IAttributeInstance> |
descriptionToAttributeInstanceMap |
attributes, attributesByName, descendantsByParent
Constructor and Description |
---|
AttributeMap() |
Modifier and Type | Method and Description |
---|---|
protected IAttributeInstance |
createInstance(IAttribute attribute) |
ModifiableAttributeInstance |
getAttributeInstance(IAttribute attribute) |
ModifiableAttributeInstance |
getAttributeInstanceByName(java.lang.String attributeName) |
java.util.Set<IAttributeInstance> |
getAttributeInstanceSet() |
java.util.Collection<IAttributeInstance> |
getWatchedAttributes() |
void |
onAttributeModified(IAttributeInstance instance) |
IAttributeInstance |
registerAttribute(IAttribute attribute) |
applyAttributeModifiers, getAllAttributes, removeAttributeModifiers
protected final java.util.Map<java.lang.String,IAttributeInstance> descriptionToAttributeInstanceMap
public ModifiableAttributeInstance getAttributeInstance(IAttribute attribute)
getAttributeInstance
in class AbstractAttributeMap
public ModifiableAttributeInstance getAttributeInstanceByName(java.lang.String attributeName)
getAttributeInstanceByName
in class AbstractAttributeMap
public IAttributeInstance registerAttribute(IAttribute attribute)
registerAttribute
in class AbstractAttributeMap
protected IAttributeInstance createInstance(IAttribute attribute)
createInstance
in class AbstractAttributeMap
public void onAttributeModified(IAttributeInstance instance)
onAttributeModified
in class AbstractAttributeMap
public java.util.Set<IAttributeInstance> getAttributeInstanceSet()
public java.util.Collection<IAttributeInstance> getWatchedAttributes()