org.eclipse.higgins.idas.spi
Class EntityNotification
java.lang.Object
org.eclipse.higgins.idas.spi.EntityNotification
- public class EntityNotification
- extends Object
UPDATE_ADD
public static final String UPDATE_ADD
- This action is set when the
IEntity returned by getEntity() was added
- See Also:
- Constant Field Values
UPDATE_REMOVE
public static final String UPDATE_REMOVE
- This action is set when the
IEntity returned by getEntity() was removed
- See Also:
- Constant Field Values
UPDATE_ATTR_NOTIFY
public static final String UPDATE_ATTR_NOTIFY
- This action is set when there is a
AttributeNotification to be returned by getAttributeNotification()
This signifies that an attribute on the entity was updated.
- 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 the entity was updated.
- See Also:
- Constant Field Values
EntityNotification
public EntityNotification(org.eclipse.higgins.idas.api.IEntity entity,
String action,
AttributeNotification attrNotif,
MetadataNotification metadataNotif)
- Parameters:
entity - action - attrNotif -
getEntity
public org.eclipse.higgins.idas.api.IEntity getEntity()
- Returns:
- the IEntity 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_METADATA_NOTIFY, UPDATE_ATTR_NOTIFY
getAttributeNotification
public AttributeNotification getAttributeNotification()
- Returns:
- an AttributeNotification when the action is set to
UPDATE_ATTR_NOTIFY.
getMetadataNotification
public MetadataNotification getMetadataNotification()
- Returns:
- an MetadataNotification when the action is set to
UPDATE_METADATA_NOTIFY.