org.eclipse.higgins.idas.spi
Class MetadataValueNotification
java.lang.Object
org.eclipse.higgins.idas.spi.MetadataValueNotification
- public class MetadataValueNotification
- extends Object
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
MetadataValueNotification
public MetadataValueNotification(org.eclipse.higgins.idas.api.IMetadataValue metaVal,
String action,
Object oldValData)
- Parameters:
metaVal - action - oldValData -
getMetadataValue
public org.eclipse.higgins.idas.api.IMetadataValue getMetadataValue()
getAction
public String getAction()
getOldValueData
public Object getOldValueData()
getMetadataNotification
public MetadataNotification getMetadataNotification()