Class ActivityDefinitionLight

  • Direct Known Subclasses:
    ActivityDefinition

    public class ActivityDefinitionLight
    extends Object
    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. This is a simplified version of a step
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    • Field Detail

      • TYPE_NORMAL

        public static final int TYPE_NORMAL
        An activity that represents a step in the process. There's always an action associated to it
        See Also:
        Constant Field Values
      • TYPE_START

        public static final int TYPE_START
        A start event. When a process instance is created, the "pointer" to the current activity is set there
        See Also:
        Constant Field Values
      • TYPE_END

        public static final int TYPE_END
        An end event. When a process instance doesn't have any more normal actions to be executed, the "pointer" to the current activity is set there. This means that the process instance ended.
        See Also:
        Constant Field Values
      • TYPE_CONDITIONAL

        public static final int TYPE_CONDITIONAL
        A conditional (a logical branch)
        See Also:
        Constant Field Values
      • TYPE_PARALLEL

        public static final int TYPE_PARALLEL
        Activity with parallel paths
        See Also:
        Constant Field Values
    • Method Detail

      • getId

        public String getId()
      • setId

        public void setId​(String 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object