org.activiti.engine.repository

## Class DiagramElement

- java.lang.Object
- - org.activiti.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 and Description
    --- | ---
    `protected String` | `id`

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### id

          protected String id

  - ### Constructor Detail

    - #### DiagramElement

          public DiagramElement()

    - #### DiagramElement

          public DiagramElement(String id)

  - ### Method Detail

    - #### 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()

Copyright © 2016 Alfresco. All rights reserved.