Package es.caib.bpm.vo
Class ProcessDefinition
- java.lang.Object
-
- es.caib.bpm.vo.ProcessDefinition
-
- All Implemented Interfaces:
Serializable
public class ProcessDefinition extends Object implements Serializable
ValueObject ProcessDefinition- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessDefinition()
ProcessDefinition(int version, boolean enabled)
ProcessDefinition(int version, String tag, String name, long id, boolean enabled, String appliesTo, PredefinedProcessType type, Date deployed, String author)
ProcessDefinition(ProcessDefinition otherBean)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAppliesTo()
Gets value for attribute appliesToString
getAuthor()
Gets value for attribute authorDate
getDeployed()
Gets value for attribute deployedlong
getId()
Gets value for attribute idString
getName()
Gets value for attribute nameString
getTag()
Gets value for attribute tagPredefinedProcessType
getType()
Gets value for attribute typeint
getVersion()
Gets value for attribute versionboolean
isEnabled()
Gets value for attribute enabledvoid
setAppliesTo(String appliesTo)
Sets value for attribute appliesTovoid
setAuthor(String author)
Sets value for attribute authorvoid
setDeployed(Date deployed)
Sets value for attribute deployedvoid
setEnabled(boolean enabled)
Sets value for attribute enabledvoid
setId(long id)
Sets value for attribute idvoid
setName(String name)
Sets value for attribute namevoid
setTag(String tag)
Sets value for attribute tagvoid
setType(PredefinedProcessType type)
Sets value for attribute typevoid
setVersion(int version)
Sets value for attribute versionstatic ProcessDefinition
toProcessDefinition(ProcessDefinition vo)
Creates a ProcessDefinition value object based on a ProcessDefinition object.static void
toProcessDefinition(ProcessDefinition source, ProcessDefinition target)
Updates a ProcessDefinition value object based on a ProcessDefinition object.static ProcessDefinition[]
toProcessDefinitionArray(ProcessDefinition[] source)
Creates a ProcessDefinition array on a ProcessDefinition array.static AsyncList<ProcessDefinition>
toProcessDefinitionAsyncList(AsyncList<ProcessDefinition> source)
Creates a ProcessDefinition asynclist on a ProcessDefinition collection.static PagedResult<ProcessDefinition>
toProcessDefinitionList(PagedResult<ProcessDefinition> source)
Creates a ProcessDefinition pagedResult on a ProcessDefinition collection.static List<ProcessDefinition>
toProcessDefinitionList(Collection<ProcessDefinition> source)
Creates a ProcessDefinition list on a ProcessDefinition collection.String
toString()
Returns a string representation of the value object.
-
-
-
Constructor Detail
-
ProcessDefinition
public ProcessDefinition()
-
ProcessDefinition
public ProcessDefinition(int version, String tag, String name, long id, boolean enabled, String appliesTo, PredefinedProcessType type, Date deployed, String author)
-
ProcessDefinition
public ProcessDefinition(int version, boolean enabled)
-
ProcessDefinition
public ProcessDefinition(ProcessDefinition otherBean)
-
-
Method Detail
-
getVersion
public int getVersion()
Gets value for attribute version
-
setVersion
public void setVersion(int version)
Sets value for attribute version
-
getTag
public String getTag()
Gets value for attribute tag
-
setTag
public void setTag(String tag)
Sets value for attribute tag
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getId
public long getId()
Gets value for attribute id
-
setId
public void setId(long id)
Sets value for attribute id
-
isEnabled
public boolean isEnabled()
Gets value for attribute enabled
-
setEnabled
public void setEnabled(boolean enabled)
Sets value for attribute enabled
-
getAppliesTo
public String getAppliesTo()
Gets value for attribute appliesTo
-
setAppliesTo
public void setAppliesTo(String appliesTo)
Sets value for attribute appliesTo
-
getType
public PredefinedProcessType getType()
Gets value for attribute type
-
setType
public void setType(PredefinedProcessType type)
Sets value for attribute type
-
getDeployed
public Date getDeployed()
Gets value for attribute deployed
-
setDeployed
public void setDeployed(Date deployed)
Sets value for attribute deployed
-
getAuthor
public String getAuthor()
Gets value for attribute author
-
setAuthor
public void setAuthor(String author)
Sets value for attribute author
-
toString
public String toString()
Returns a string representation of the value object.
-
toProcessDefinition
public static ProcessDefinition toProcessDefinition(ProcessDefinition vo)
Creates a ProcessDefinition value object based on a ProcessDefinition object.
-
toProcessDefinitionList
public static List<ProcessDefinition> toProcessDefinitionList(Collection<ProcessDefinition> source)
Creates a ProcessDefinition list on a ProcessDefinition collection.
-
toProcessDefinitionList
public static PagedResult<ProcessDefinition> toProcessDefinitionList(PagedResult<ProcessDefinition> source)
Creates a ProcessDefinition pagedResult on a ProcessDefinition collection.
-
toProcessDefinitionAsyncList
public static AsyncList<ProcessDefinition> toProcessDefinitionAsyncList(AsyncList<ProcessDefinition> source)
Creates a ProcessDefinition asynclist on a ProcessDefinition collection.
-
toProcessDefinitionArray
public static ProcessDefinition[] toProcessDefinitionArray(ProcessDefinition[] source)
Creates a ProcessDefinition array on a ProcessDefinition array.
-
toProcessDefinition
public static void toProcessDefinition(ProcessDefinition source, ProcessDefinition target)
Updates a ProcessDefinition value object based on a ProcessDefinition object.
-
-