org.eclipse.stardust.engine.api.runtime
Interface EventActionBinding

All Superinterfaces:
Serializable

public interface EventActionBinding
extends Serializable

Client view of the binding state of an event action. It can be used to retrieve or modify the binding state of the event action.


Method Summary
 EventAction getAction()
          Gets the associated event action.
 Map getAllAttributes()
          Gets all the attributes of the event action binding.
 Map getAllTypeAttributes()
          Gets all the attributes of the event action type.
 Object getAttribute(String name)
          Gets an attribute.
 Object getTypeAttribute(String name)
          Gets an attribute of the type of the event action.
 Object removeAttribute(String name)
          Removes an attribute.
 Object setAttribute(String name, Object value)
          Sets the value of an attribute.
 

Method Detail

getAllTypeAttributes

Map getAllTypeAttributes()
Gets all the attributes of the event action type.

Returns:
an unmodifiable map with the type attributes.

getTypeAttribute

Object getTypeAttribute(String name)
Gets an attribute of the type of the event action.

Parameters:
name - the name of the attribute.
Returns:
the value of the attribute.

setAttribute

Object setAttribute(String name,
                    Object value)
Sets the value of an attribute.

Parameters:
name - the name of the attribute.
value - the new value of the attribute.
Returns:
the previous value of the attribute, or null if the attribute didn't exist.

removeAttribute

Object removeAttribute(String name)
Removes an attribute.

Parameters:
name - the name of the attribute.
Returns:
the value of the removed attribute.

getAction

EventAction getAction()
Gets the associated event action.

Returns:
the event action.

getAllAttributes

Map getAllAttributes()
Gets all the attributes of the event action binding.

Returns:
a modifiable Map of attributes.

getAttribute

Object getAttribute(String name)
Gets an attribute.

Parameters:
name - the name of the attribute.
Returns:
the value of the attribute.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.