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

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

public static final class ActionItemCustomization.Builder
extends Object
implements Serializable, ModelBuilder, ActionItemCustomizationContract

A builder which can be used to construct ActionItemCustomization instances. Enforces the constraints of the ActionItemCustomizationContract.

See Also:
Serialized Form

Method Summary
 ActionItemCustomization build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static ActionItemCustomization.Builder create(ActionItemCustomizationContract contract)
           
static ActionItemCustomization.Builder create(ActionSet actionSet, DisplayParameters displayParameters)
           
 ActionSet getActionSet()
           
 DisplayParameters getDisplayParameters()
           
 String getId()
           
 void setActionSet(ActionSet actionSet)
           
 void setDisplayParameters(DisplayParameters displayParameters)
           
 void setId(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static ActionItemCustomization.Builder create(ActionSet actionSet,
                                                     DisplayParameters displayParameters)

create

public static ActionItemCustomization.Builder create(ActionItemCustomizationContract contract)

build

public ActionItemCustomization 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

getActionSet

public ActionSet getActionSet()
Specified by:
getActionSet in interface ActionItemCustomizationContract

getDisplayParameters

public DisplayParameters getDisplayParameters()
Specified by:
getDisplayParameters in interface ActionItemCustomizationContract

getId

public String getId()
Specified by:
getId in interface ActionItemCustomizationContract

setId

public void setId(String id)

setActionSet

public void setActionSet(ActionSet actionSet)

setDisplayParameters

public void setDisplayParameters(DisplayParameters displayParameters)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.