org.eclipse.higgins.idas.spi
Class AttributeValueNotification

java.lang.Object
  extended byorg.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() This implies that this attribute value is complex, and signifies that a sub-element of this complex attribute value was updated.
static String UPDATE_METADATA_NOTIFY
          This action is set when there is a MetadataNotification to be returned by getMetadataNotification() This signifies that a metadata element on this attribute value was updated.
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()
           
 MetadataNotification getMetadataNotification()
           
 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_METADATA_NOTIFY

public static final String UPDATE_METADATA_NOTIFY
This action is set when there is a MetadataNotification to be returned by getMetadataNotification() This signifies that a metadata element on this attribute value 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 implies that this attribute value is complex, and signifies that a sub-element of this complex attribute value was 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()

getMetadataNotification

public MetadataNotification getMetadataNotification()

getAttributeNotification

public AttributeNotification getAttributeNotification()