Class BpmnElement

  • All Implemented Interfaces:
    Formula
    Direct Known Subclasses:
    BpmnNode, Lane, Process

    public abstract class BpmnElement
    extends BpmnFormula
    A class to represent elements of a BPMN Model
    Author:
    Benedikt Knopp
    • Constructor Summary

      Constructors 
      Constructor Description
      BpmnElement()
      Create a new BPMN element
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getId()
      retrieve the element's ID
      java.lang.String getName()
      retrieve the element's name
      void setId​(java.lang.String id)
      set the element's ID
      void setName​(java.lang.String name)
      set the element's name
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BpmnElement

        public BpmnElement()
        Create a new BPMN element
    • Method Detail

      • setId

        public void setId​(java.lang.String id)
        set the element's ID
        Parameters:
        id - the unique element identifier
      • setName

        public void setName​(java.lang.String name)
        set the element's name
        Parameters:
        name - the element's name
      • getId

        public java.lang.String getId()
        retrieve the element's ID
        Returns:
        the unique element identifier
      • getName

        public java.lang.String getName()
        retrieve the element's name
        Returns:
        the element's name