public static final class ActionSet.Builder extends Object implements Serializable, ModelBuilder, ActionSetContract
ActionSet
instances. Enforces the constraints of the ActionSetContract
.Modifier and Type | Method and Description |
---|---|
boolean |
addAcknowledge()
This overridden method ...
|
boolean |
addAction(String actionCode) |
boolean |
addApprove() |
boolean |
addCancel() |
boolean |
addComplete() |
boolean |
addDisapprove() |
boolean |
addFyi() |
boolean |
addRouted() |
ActionSet |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static ActionSet.Builder |
create() |
static ActionSet.Builder |
create(ActionSetContract contract)
Creates a builder by populating it with data from the given .
|
List<String> |
getActionSet() |
boolean |
hasAcknowledge() |
boolean |
hasAction(String actionCode) |
boolean |
hasApprove() |
boolean |
hasCancel() |
boolean |
hasComplete() |
boolean |
hasDisapprove() |
boolean |
hasFyi() |
boolean |
hasRouted() |
boolean |
removeAction(String actionCode) |
void |
setActionSetList(List<String> actionSet) |
public static ActionSet.Builder create()
public static ActionSet.Builder create(ActionSetContract contract)
contract
- the contract from which to populate this builderpublic ActionSet build()
ModelBuilder
build
in interface ModelBuilder
public List<String> getActionSet()
public void setActionSetList(List<String> actionSet)
public boolean hasAction(String actionCode)
hasAction
in interface ActionSetContract
public boolean addAction(String actionCode)
addAction
in interface ActionSetContract
public boolean removeAction(String actionCode)
removeAction
in interface ActionSetContract
public boolean hasApprove()
hasApprove
in interface ActionSetContract
public boolean hasComplete()
hasComplete
in interface ActionSetContract
public boolean hasAcknowledge()
hasAcknowledge
in interface ActionSetContract
public boolean hasFyi()
hasFyi
in interface ActionSetContract
public boolean hasDisapprove()
hasDisapprove
in interface ActionSetContract
public boolean hasCancel()
hasCancel
in interface ActionSetContract
public boolean hasRouted()
hasRouted
in interface ActionSetContract
public boolean addApprove()
addApprove
in interface ActionSetContract
public boolean addComplete()
addComplete
in interface ActionSetContract
public boolean addAcknowledge()
addAcknowledge
in interface ActionSetContract
ActionSetContract.addAcknowledge()
public boolean addFyi()
addFyi
in interface ActionSetContract
public boolean addDisapprove()
addDisapprove
in interface ActionSetContract
public boolean addCancel()
addCancel
in interface ActionSetContract
public boolean addRouted()
addRouted
in interface ActionSetContract
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.