com.sap.engine.interfaces.messaging.api

Class Action

java.lang.Object
  extended by com.sap.engine.interfaces.messaging.api.Action
All Implemented Interfaces:
Serializable, Comparable

public final class Action
extends Object
implements Serializable, Comparable

The Action of a Message identifies a process within a Service. In the context of the SAP Exchange Infrastructure, the Action is for now identical to the root element of the XML document in the message with the action type representing the namespace of the root element if one exists.

See Also:
Service, Serialized Form

Constructor Summary
Action(String name)
          Constructs a new Action object with a name but no type.
Action(String name, String type)
          Constructs a new Action object with a name and a type.
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 String getName()
          Returns the name of the Action.
 String getType()
          Returns the type of the Action.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Action

public Action(String name,
              String type)
Constructs a new Action object with a name and a type.

Parameters:
name - the action name.
type - the action type.

Action

public Action(String name)
Constructs a new Action object with a name but no type.

Parameters:
name - the action name.
Method Detail

getName

public String getName()
Returns the name of the Action.

Returns:
action name.

getType

public String getType()
Returns the type of the Action.

Returns:
action type.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.af.ifc.facade api BC-XI


Copyright 2014 SAP AG Complete Copyright Notice