org.eclipse.higgins.idas.spi
Class MetadataValueNotification

java.lang.Object
  extended byorg.eclipse.higgins.idas.spi.MetadataValueNotification

public class MetadataValueNotification
extends Object


Field Summary
static String UPDATE_ADD
          This action is set when the IMetadataValue returned by getMetadataValue() was added
static String UPDATE_METADATA_NOTIFY
          This action is set when there is a MetadataNotification to be returned by getMetadataNotification() This implies that this metadata value is complex, and signifies that a sub-element of this complex metadata value was updated.
static String UPDATE_REMOVE
          This action is set when the IMetadataValue returned by getMetadataValue() was removed
static String UPDATE_SET_DATA
          This action is set when the Object returned by getOldValueData() was replaced.
 
Constructor Summary
MetadataValueNotification(org.eclipse.higgins.idas.api.IMetadataValue metaVal, String action, Object oldValData)
           
 
Method Summary
 String getAction()
           
 MetadataNotification getMetadataNotification()
           
 org.eclipse.higgins.idas.api.IMetadataValue getMetadataValue()
           
 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 IMetadataValue returned by getMetadataValue() was added

See Also:
Constant Field Values

UPDATE_REMOVE

public static final String UPDATE_REMOVE
This action is set when the IMetadataValue returned by getMetadataValue() 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 metadata value is simple, and signifies that the data in this simple metadata value was set (or reset). The old value data is returned by getOldValueData(), and the new value data exists in the ISimpleMetaValue#getData() returned by getMetadataValue(). 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 implies that this metadata value is complex, and signifies that a sub-element of this complex metadata value was updated.

See Also:
Constant Field Values
Constructor Detail

MetadataValueNotification

public MetadataValueNotification(org.eclipse.higgins.idas.api.IMetadataValue metaVal,
                                 String action,
                                 Object oldValData)
Parameters:
metaVal -
action -
oldValData -
Method Detail

getMetadataValue

public org.eclipse.higgins.idas.api.IMetadataValue getMetadataValue()

getAction

public String getAction()

getOldValueData

public Object getOldValueData()

getMetadataNotification

public MetadataNotification getMetadataNotification()