public class AttributeMap extends AbstractAttributeMap
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,IAttributeInstance> |
instancesByName |
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> |
getDirtyInstances() |
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> instancesByName
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> getDirtyInstances()
public java.util.Collection<IAttributeInstance> getWatchedAttributes()