Class RemoteActivityDefinition
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.application.RemoteActivityDefinition
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RemoteConditionalActivityDefinition
,RemoteParallelActivityDefinition
public class RemoteActivityDefinition extends Object implements Serializable
wrapper of ActivityDefinition. An activity is an step in a process. Conditionals are a particular type of activities from the point of view of this API. This class is a representation of a definition of an activity, which is basically a description of what it does (like presenting a form for the user to fill it in). The activity definition has at least one artifact definition, which contains (in our example) the actual form.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteActivityDefinition()
RemoteActivityDefinition(long id, String name, String description, int type, RemoteArtifactDefinition arfifact, RemoteActor actor, boolean idling, boolean confirm, String color, List<RemoteKpi> kpis, List<RemoteKpiAction> kpiActions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoteActivityDefinition
asRemoteActivityDefinition(ActivityDefinition activityDefinition)
boolean
confirm()
boolean
equals(Object obj)
RemoteActor
getActor()
RemoteArtifactDefinition
getArfifact()
String
getColor()
String
getDescription()
long
getId()
List<RemoteKpiAction>
getKpiActions()
List<RemoteKpi>
getKpis()
String
getName()
RemoteActivityDefinition
getNextActivity()
int
getType()
int
hashCode()
boolean
isIdling()
void
setActor(RemoteActor actor)
void
setArfifact(RemoteArtifactDefinition arfifact)
void
setColor(String color)
void
setConfirm(boolean confirm)
void
setDescription(String description)
void
setId(long id)
void
setIdling(boolean idling)
void
setKpiActions(List<RemoteKpiAction> kpiActions)
void
setKpis(List<RemoteKpi> kpis)
void
setName(String name)
void
setNextActivity(RemoteActivityDefinition nextActivity)
void
setType(int type)
String
toString()
-
-
-
Constructor Detail
-
RemoteActivityDefinition
public RemoteActivityDefinition()
-
RemoteActivityDefinition
public RemoteActivityDefinition(long id, String name, String description, int type, RemoteArtifactDefinition arfifact, RemoteActor actor, boolean idling, boolean confirm, String color, List<RemoteKpi> kpis, List<RemoteKpiAction> kpiActions)
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getArfifact
public RemoteArtifactDefinition getArfifact()
-
setArfifact
public void setArfifact(RemoteArtifactDefinition arfifact)
-
getActor
public RemoteActor getActor()
-
setActor
public void setActor(RemoteActor actor)
-
getNextActivity
public RemoteActivityDefinition getNextActivity()
-
setNextActivity
public void setNextActivity(RemoteActivityDefinition nextActivity)
-
isIdling
public boolean isIdling()
-
setIdling
public void setIdling(boolean idling)
-
confirm
public boolean confirm()
-
setConfirm
public void setConfirm(boolean confirm)
-
getColor
public String getColor()
-
setColor
public void setColor(String color)
-
getKpiActions
public List<RemoteKpiAction> getKpiActions()
-
setKpiActions
public void setKpiActions(List<RemoteKpiAction> kpiActions)
-
asRemoteActivityDefinition
public static RemoteActivityDefinition asRemoteActivityDefinition(ActivityDefinition activityDefinition)
-
-