salsa.corpora.elements
Class Action

java.lang.Object
  extended by salsa.corpora.elements.Action

public class Action
extends java.lang.Object


Constructor Summary
Action(java.lang.String date, java.lang.String time, java.lang.String user, java.lang.String type)
          Default constructor that takes the date, time, user and type as arguments.
 
Method Summary
 void addRecipient(Recipient newRecipient)
          Adds a new Recipient to this Action.
 java.util.ArrayList<Recipient> getRecipients()
          Returns the list of Recipient elements.
 Step getStep()
          Returns the Step of this Action.
static java.lang.String getXmltag()
          Returns the XML element name of Action, i. e.
 void setStep(Step step)
          Sets the Step of this Action.
 java.lang.String toString()
          Returns a recursively created XML representation of this Action.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Action

public Action(java.lang.String date,
              java.lang.String time,
              java.lang.String user,
              java.lang.String type)
Default constructor that takes the date, time, user and type as arguments.

Parameters:
date -
time -
user -
type -
Method Detail

addRecipient

public void addRecipient(Recipient newRecipient)
Adds a new Recipient to this Action.


getRecipients

public java.util.ArrayList<Recipient> getRecipients()
Returns the list of Recipient elements.


getStep

public Step getStep()
Returns the Step of this Action.

Returns:

getXmltag

public static java.lang.String getXmltag()
Returns the XML element name of Action, i. e. 'action'.


setStep

public void setStep(Step step)
Sets the Step of this Action.

Parameters:
step -

toString

public java.lang.String toString()
Returns a recursively created XML representation of this Action.

Overrides:
toString in class java.lang.Object