Package org.flowable.engine.repository

# Class DiagramElement

java.lang.Object
org.flowable.engine.repository.DiagramElement

All Implemented Interfaces:
  `Serializable`

Direct Known Subclasses:
  `DiagramEdge`, `DiagramNode`

public abstract class DiagramElement extends Object implements Serializable
Represents a diagram node.

Author:
  Falko Menge
See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected String`
  `id`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DiagramElement()`
  `DiagramElement(String id)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getId()`
  Id of the diagram element.
  `abstract boolean`
  `isEdge()`
  `abstract boolean`
  `isNode()`
  `void`
  `setId(String id)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### id

    protected String id

- ## Constructor Details

  - ### DiagramElement

    public DiagramElement()

  - ### DiagramElement

    public DiagramElement(String id)

- ## Method Details

  - ### getId

    public String getId()
    Id of the diagram element.

  - ### setId

    public void setId(String id)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### isNode

    public abstract boolean isNode()

  - ### isEdge

    public abstract boolean isEdge()