org.eclipse.higgins.idas.spi
Class AttributeValueNotification

java.lang.Object
  extended by org.eclipse.higgins.idas.spi.AttributeValueNotification

public class AttributeValueNotification
extends Object


Field Summary
static String UPDATE_ADD
          This action is set when the IAttributeValue returned by getAttributeValue() was added
static 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).
static String UPDATE_REMOVE
          This action is set when the IAttributeValue returned by getAttributeValue() was removed
static String UPDATE_SET_DATA
          This action is set when the Object returned by getOldValueData() was replaced.
 
Constructor Summary
AttributeValueNotification(org.eclipse.higgins.idas.api.IAttributeValue attrVal, String action, Object oldValData)
           
 
Method Summary
 String getAction()
           
 AttributeNotification getAttributeNotification()
           
 org.eclipse.higgins.idas.api.IAttributeValue getAttributeValue()
           
 Object getOldValueData()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AttributeValueNotification

public AttributeValueNotification(org.eclipse.higgins.idas.api.IAttributeValue attrVal,
                                  String action,
                                  Object oldValData)
Parameters:
attrVal -
action -
oldValData -
Method Detail

getAttributeValue

public org.eclipse.higgins.idas.api.IAttributeValue getAttributeValue()

getAction

public String getAction()

getOldValueData

public Object getOldValueData()

getAttributeNotification

public AttributeNotification getAttributeNotification()