org.eclipse.higgins.idas.spi
Class MetadataNotification

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

public class MetadataNotification
extends Object


Field Summary
static String UPDATE_ADD
          This action is set when the IMetadata returned by getMeta() was added
static String UPDATE_REMOVE
          This action is set when the IMetadata returned by getMeta() was removed
static String UPDATE_VALUE_NOTIFY
          This action is set when there is a MetadataValueNotification to be returned by getMetadataValueNotification() This signifies that a value of this metadata was updated.
 
Constructor Summary
MetadataNotification(org.eclipse.higgins.idas.api.IMetadata meta, String action, MetadataValueNotification metaValNotif)
           
 
Method Summary
 String getAction()
           
 org.eclipse.higgins.idas.api.IMetadata getMeta()
           
 MetadataValueNotification getMetadataValueNotification()
           
 
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 IMetadata returned by getMeta() was added

See Also:
Constant Field Values

UPDATE_REMOVE

public static final String UPDATE_REMOVE
This action is set when the IMetadata returned by getMeta() 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 MetadataValueNotification to be returned by getMetadataValueNotification() This signifies that a value of this metadata was updated.

See Also:
Constant Field Values
Constructor Detail

MetadataNotification

public MetadataNotification(org.eclipse.higgins.idas.api.IMetadata meta,
                            String action,
                            MetadataValueNotification metaValNotif)
Parameters:
meta -
action -
metaValNotif -
Method Detail

getMeta

public org.eclipse.higgins.idas.api.IMetadata getMeta()
Returns:
the IMetadata 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_VALUE_NOTIFY

getMetadataValueNotification

public MetadataValueNotification getMetadataValueNotification()
Returns:
an MetadataValueNotification when the action is set to UPDATE_VALUE_NOTIFY.