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

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

public final class RequestedActions
extends Object
implements ModelObjectComplete

See Also:
Serialized Form

Nested Class Summary
(package private) static class RequestedActions.Constants
          Defines some internal constants used on this class.
(package private) static class RequestedActions.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  boolean acknowledgeRequested
           
private  boolean approveRequested
           
private  boolean completeRequested
           
private  boolean fyiRequested
           
private static long serialVersionUID
           
 
Constructor Summary
private RequestedActions()
           
private RequestedActions(boolean completeRequested, boolean approveRequested, boolean acknowledgeRequested, boolean fyiRequested)
           
 
Method Summary
static RequestedActions create(boolean completeRequested, boolean approveRequested, boolean acknowledgeRequested, boolean fyiRequested)
           
 boolean equals(Object object)
          All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.
 int hashCode()
          All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract.
 boolean isAcknowledgeRequested()
           
 boolean isApproveRequested()
           
 boolean isCompleteRequested()
           
 boolean isFyiRequested()
           
 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

completeRequested

private final boolean completeRequested

approveRequested

private final boolean approveRequested

acknowledgeRequested

private final boolean acknowledgeRequested

fyiRequested

private final boolean fyiRequested

_futureElements

private final Collection<Element> _futureElements
Constructor Detail

RequestedActions

private RequestedActions()

RequestedActions

private RequestedActions(boolean completeRequested,
                         boolean approveRequested,
                         boolean acknowledgeRequested,
                         boolean fyiRequested)
Method Detail

create

public static RequestedActions create(boolean completeRequested,
                                      boolean approveRequested,
                                      boolean acknowledgeRequested,
                                      boolean fyiRequested)

isCompleteRequested

public boolean isCompleteRequested()

isApproveRequested

public boolean isApproveRequested()

isAcknowledgeRequested

public boolean isAcknowledgeRequested()

isFyiRequested

public boolean isFyiRequested()

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.