org.eclipse.higgins.idas.spi
Class AttributeNotification
java.lang.Object
org.eclipse.higgins.idas.spi.AttributeNotification
- public class AttributeNotification
- extends Object
UPDATE_ADD
public static final String UPDATE_ADD
- This action is set when the
IAttribute returned by getAttr() was added
- See Also:
- Constant Field Values
UPDATE_REMOVE
public static final String UPDATE_REMOVE
- This action is set when the
IAttribute returned by getAttr() was removed
- See Also:
- Constant Field Values
UPDATE_VALUE_NOTIFY
public static final String UPDATE_VALUE_NOTIFY
- This action is set when there is a
AttributeValueNotification to be returned by getAttributeValueNotification()
This signifies that a value of this attribute was updated.
- 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()
This signifies that a meta-attribute element on this attribute was updated.
- See Also:
- Constant Field Values
AttributeNotification
public AttributeNotification(org.eclipse.higgins.idas.api.IAttribute attr,
String action,
AttributeValueNotification attrValNotif,
AttributeNotification metaAttrNotif)
- Parameters:
attr - action - attrValNotif -
getAttr
public org.eclipse.higgins.idas.api.IAttribute getAttr()
- Returns:
- the IAttribute being added or removed when the action is set to
UPDATE_ADD or UPDATE_REMOVE
getAction
public String getAction()
- Returns:
- one of:
UPDATE_ADD, UPDATE_REMOVE, UPDATE_ATTRIBUTE_NOTIFY, UPDATE_VALUE_NOTIFY
getAttributeValueNotification
public AttributeValueNotification getAttributeValueNotification()
- Returns:
- an AttributeValueNotification when the action is set to
UPDATE_VALUE_NOTIFY.
getAttributeNotification
public AttributeNotification getAttributeNotification()
- Returns:
- an AttributeNotification when the action is set to
UPDATE_ATTRIBUTE_NOTIFY.