Class Element

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Element.ElementType
      The types of the flow elements.
    • Constructor Summary

      Constructors 
      Constructor Description
      Element​(java.lang.String typeId, java.lang.String id, java.lang.String elementId, java.lang.String name, java.lang.String description, Element.ElementType type, ProcessFlowDescriptor.FlowStatus flowStatus, java.lang.String processFlowId, java.util.Date created)
      It is not intended or recommended that the consumer of this API construct these objects.
    • Constructor Detail

      • Element

        public Element​(java.lang.String typeId,
                       java.lang.String id,
                       java.lang.String elementId,
                       java.lang.String name,
                       java.lang.String description,
                       Element.ElementType type,
                       ProcessFlowDescriptor.FlowStatus flowStatus,
                       java.lang.String processFlowId,
                       java.util.Date created)
        It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the elements returned by the API.
        Parameters:
        typeId - The object type identifier of the element.
        id - The unique identifier of the element.
        elementId - The identifier of the element as it appears in the process flow definition.
        name - The name of the element.
        description - The description of the element.
        type - The type of the element.
        flowStatus - The status of the process flow that contains the element.
        processFlowId - The identifier of the process flow that contains the element.
        created - The date on which the element was created.
    • Method Detail

      • getElementId

        public java.lang.String getElementId()
        Gets the identifier for the element as defined in the process definition.
        Returns:
        The identifier.
      • getName

        public java.lang.String getName()
        Gets the name for the element.
        Returns:
        The name.
      • setName

        public void setName​(java.lang.String name)
        Sets the name of the element.
        Parameters:
        name - The name.
      • getProcessFlowId

        public java.lang.String getProcessFlowId()
        Gets the identifier of the process flow that contains the element.
        Returns:
        The process flow identifier.
      • getCreated

        public java.util.Date getCreated()
        Gets the date on which the element was created.
        Returns:
        The date.
      • getType

        public Element.ElementType getType()
        Gets the type of the element.
        Returns:
        The type.
      • getDescription

        public java.lang.String getDescription()
        Gets the description of the element.
        Returns:
        The description of the element.
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description of the element.
        Parameters:
        description - The description.