org.kuali.rice.kew.api.action
Class ActionTaken

java.lang.Object
  extended by org.kuali.rice.kew.api.action.ActionTaken
All Implemented Interfaces:
Serializable, Identifiable, ModelObjectBasic, ModelObjectComplete, ActionTakenContract

public final class ActionTaken
extends Object
implements ModelObjectComplete, ActionTakenContract

See Also:
Serialized Form

Nested Class Summary
static class ActionTaken.Builder
          A builder which can be used to construct ActionTaken instances.
(package private) static class ActionTaken.Constants
          Defines some internal constants used on this class.
(package private) static class ActionTaken.Elements
          A private class which exposes constants which define the XML element names to use when this object is marshalled to XML.
 
Field Summary
private  Collection<Element> _futureElements
           
private  org.joda.time.DateTime actionDate
           
private  String actionTakenCode
           
private  String annotation
           
private  boolean current
           
private  String delegatorGroupId
           
private  String delegatorPrincipalId
           
private  String documentId
           
private  String id
           
private  String principalId
           
private static long serialVersionUID
           
 
Constructor Summary
private ActionTaken()
          Private constructor used only by JAXB.
private ActionTaken(ActionTaken.Builder builder)
           
 
Method Summary
 boolean equals(Object object)
          All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.
 org.joda.time.DateTime getActionDate()
           
 ActionType getActionTaken()
           
 String getAnnotation()
           
 String getDelegatorGroupId()
           
 String getDelegatorPrincipalId()
           
 String getDocumentId()
           
 String getId()
          The unique identifier for an object.
 String getPrincipalId()
           
 int hashCode()
          All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract.
 boolean isCurrent()
           
 String toString()
          This will return a proper string representation of the Model Object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

id

private final String id

documentId

private final String documentId

principalId

private final String principalId

delegatorPrincipalId

private final String delegatorPrincipalId

delegatorGroupId

private final String delegatorGroupId

actionTakenCode

private final String actionTakenCode

actionDate

private final org.joda.time.DateTime actionDate

annotation

private final String annotation

current

private final boolean current

_futureElements

private final Collection<Element> _futureElements
Constructor Detail

ActionTaken

private ActionTaken()
Private constructor used only by JAXB.


ActionTaken

private ActionTaken(ActionTaken.Builder builder)
Method Detail

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Specified by:
getId in interface ActionTakenContract
Returns:
the id

getDocumentId

public String getDocumentId()
Specified by:
getDocumentId in interface ActionTakenContract

getPrincipalId

public String getPrincipalId()
Specified by:
getPrincipalId in interface ActionTakenContract

getDelegatorPrincipalId

public String getDelegatorPrincipalId()
Specified by:
getDelegatorPrincipalId in interface ActionTakenContract

getDelegatorGroupId

public String getDelegatorGroupId()
Specified by:
getDelegatorGroupId in interface ActionTakenContract

getActionTaken

public ActionType getActionTaken()
Specified by:
getActionTaken in interface ActionTakenContract

getActionDate

public org.joda.time.DateTime getActionDate()
Specified by:
getActionDate in interface ActionTakenContract

getAnnotation

public String getAnnotation()
Specified by:
getAnnotation in interface ActionTakenContract

isCurrent

public boolean isCurrent()
Specified by:
isCurrent in interface ActionTakenContract

hashCode

public int hashCode()
Description copied from interface: ModelObjectComplete
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract.

Specified by:
hashCode in interface ModelObjectComplete
Overrides:
hashCode in class Object
Returns:
the hashCode value

equals

public boolean equals(Object object)
Description copied from interface: ModelObjectComplete
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.

Specified by:
equals in interface ModelObjectComplete
Overrides:
equals in class Object
Parameters:
object - to object to compare for equality
Returns:
if equal

toString

public String toString()
Description copied from interface: ModelObjectBasic
This will return a proper string representation of the Model Object. All of the fields comprising the "public" api should be represented in the return value.

Specified by:
toString in interface ModelObjectBasic
Overrides:
toString in class Object
Returns:
the string representation


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.