@Entity public class ActionBo extends Object implements ActionDefinitionContract, Versioned, Serializable
ActionDefinition
,
ActionDefinitionContract
,
Action
,
Serialized FormConstructor and Description |
---|
ActionBo() |
Modifier and Type | Method and Description |
---|---|
static ActionBo |
from(ActionDefinition im)
Converts a immutable object to it's mutable bo counterpart
|
List<ActionAttributeBo> |
getAttributeBos() |
Map<String,String> |
getAttributes()
Returns a set of attributes associated with the
Action.
|
String |
getDescription()
Returns the description for what the parameter is used for.
|
String |
getId()
The unique identifier for an object.
|
String |
getName()
Returns the name of the Action
|
String |
getNamespace()
Returns the namespace of the Action
|
RuleBo |
getRule() |
String |
getRuleId()
Returns the id of the rule associated with the action
|
Integer |
getSequenceNumber()
Returns the sequence number of the action
|
String |
getTypeId()
Returns the KrmsType of the Action
|
Long |
getVersionNumber()
Returns the version number for this object.
|
void |
setAttributeBos(List<ActionAttributeBo> attributeBos) |
void |
setAttributes(Map<String,String> attributes)
Set the Action Attributes
|
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setRule(RuleBo rule) |
void |
setSequenceNumber(Integer sequenceNumber) |
void |
setTypeId(String typeId) |
void |
setVersionNumber(Long versionNumber) |
static ActionDefinition |
to(ActionBo bo)
Converts a mutable bo to it's immutable counterpart
|
public ActionBo()
public Map<String,String> getAttributes()
ActionDefinitionContract
getAttributes
in interface ActionDefinitionContract
public void setAttributes(Map<String,String> attributes)
attributes
- to add to this Actionpublic static ActionDefinition to(ActionBo bo)
bo
- the mutable business objectpublic static ActionBo from(ActionDefinition im)
im
- immutable objectpublic String getId()
Identifiable
getId
in interface Identifiable
public String getNamespace()
ActionDefinitionContract
The namespace of the Action
getNamespace
in interface ActionDefinitionContract
public void setNamespace(String namespace)
public String getName()
ActionDefinitionContract
name - the name of the Action
getName
in interface ActionDefinitionContract
public String getDescription()
ActionDefinitionContract
getDescription
in interface ActionDefinitionContract
public void setDescription(String description)
public String getTypeId()
ActionDefinitionContract
getTypeId
in interface ActionDefinitionContract
public String getRuleId()
ActionDefinitionContract
getRuleId
in interface ActionDefinitionContract
public Integer getSequenceNumber()
ActionDefinitionContract
getSequenceNumber
in interface ActionDefinitionContract
public void setSequenceNumber(Integer sequenceNumber)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
public List<ActionAttributeBo> getAttributeBos()
public void setAttributeBos(List<ActionAttributeBo> attributeBos)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.