org.kuali.rice.kew.api.action
Class RoutingReportActionToTake.Builder

java.lang.Object
  extended by org.kuali.rice.kew.api.action.RoutingReportActionToTake.Builder
All Implemented Interfaces:
Serializable, ModelBuilder, RoutingReportActionToTakeContract
Enclosing class:
RoutingReportActionToTake

public static final class RoutingReportActionToTake.Builder
extends Object
implements Serializable, ModelBuilder, RoutingReportActionToTakeContract

A builder which can be used to construct RoutingReportActionToTake instances. Enforces the constraints of the RoutingReportActionToTakeContract.

See Also:
Serialized Form

Method Summary
 RoutingReportActionToTake build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static RoutingReportActionToTake.Builder create(RoutingReportActionToTakeContract contract)
           
static RoutingReportActionToTake.Builder create(String actionToPerform, String principalId, String nodeName)
           
 String getActionToPerform()
           
 String getNodeName()
           
 String getPrincipalId()
           
 void setActionToPerform(String actionToPerform)
           
 void setNodeName(String nodeName)
           
 void setPrincipalId(String principalId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static RoutingReportActionToTake.Builder create(String actionToPerform,
                                                       String principalId,
                                                       String nodeName)

create

public static RoutingReportActionToTake.Builder create(RoutingReportActionToTakeContract contract)

build

public RoutingReportActionToTake build()
Description copied from interface: ModelBuilder
Returns an instance of the object being built by this builder based on the current state of the builder. It should be possible to invoke this method more than once on the same builder. It should never return null;

Specified by:
build in interface ModelBuilder
Returns:
an instance of the object being built by this builder, should never return null

getActionToPerform

public String getActionToPerform()
Specified by:
getActionToPerform in interface RoutingReportActionToTakeContract

getPrincipalId

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

getNodeName

public String getNodeName()
Specified by:
getNodeName in interface RoutingReportActionToTakeContract

setActionToPerform

public void setActionToPerform(String actionToPerform)

setPrincipalId

public void setPrincipalId(String principalId)

setNodeName

public void setNodeName(String nodeName)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.