org.eclipse.higgins.idas.spi
Class AttributeValueNotification
java.lang.Object
org.eclipse.higgins.idas.spi.AttributeValueNotification
- public class AttributeValueNotification
- extends Object
UPDATE_ADD
public static final String UPDATE_ADD
- This action is set when the
IAttributeValue returned by getAttributeValue() was added
- See Also:
- Constant Field Values
UPDATE_REMOVE
public static final String UPDATE_REMOVE
- This action is set when the
IAttributeValue returned by getAttributeValue() was removed
- See Also:
- Constant Field Values
UPDATE_SET_DATA
public static final String UPDATE_SET_DATA
- This action is set when the
Object returned by getOldValueData() was replaced.
This implies that this attribute value is simple, and signifies that the data in this simple attribute
value was set (or reset). The old value data is returned by getOldValueData(),
and the new value data exists in the ITypedValue.getData() returned by getAttributeValue().
The old value data will be null in the event that the data is being set for the first time.
- See Also:
- Constant Field Values
UPDATE_ATTRIBUTE_NOTIFY
public static final String UPDATE_ATTRIBUTE_NOTIFY
- This action is set when there is a
AttributeNotification to be returned by getAttributeNotification()
When the attribute value is simple, this would happen when an update took place on a meta-attribute (attribute on this attribute).
When the attribute value is complex, this happens when a sub-element of this complex attribute value is updated.
- See Also:
- Constant Field Values
AttributeValueNotification
public AttributeValueNotification(org.eclipse.higgins.idas.api.IAttributeValue attrVal,
String action,
Object oldValData)
- Parameters:
attrVal - action - oldValData -
getAttributeValue
public org.eclipse.higgins.idas.api.IAttributeValue getAttributeValue()
getAction
public String getAction()
getOldValueData
public Object getOldValueData()
getAttributeNotification
public AttributeNotification getAttributeNotification()