org.activiti.engine.repository

## Class DiagramEdge

- java.lang.Object
- - org.activiti.engine.repository.DiagramElement
  - - org.activiti.engine.repository.DiagramEdge

- All Implemented Interfaces:
    Serializable

      public class DiagramEdge
      extends DiagramElement

  Stores waypoints of a diagram edge.
  Author:
    Falko Menge
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.activiti.engine.repository.DiagramElement

      `id`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DiagramEdge()`
    `DiagramEdge(String id, List<DiagramEdgeWaypoint> waypoints)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<DiagramEdgeWaypoint>` | `getWaypoints()`
    `boolean` | `isEdge()`
    `boolean` | `isNode()`
    `void` | `setWaypoints(List<DiagramEdgeWaypoint> waypoints)`

    - ### Methods inherited from class org.activiti.engine.repository.DiagramElement

      `getId, setId, toString`

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

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

- - ### Constructor Detail

    - #### DiagramEdge

          public DiagramEdge()

    - #### DiagramEdge

          public DiagramEdge(String id,
                             List<DiagramEdgeWaypoint> waypoints)

  - ### Method Detail

    - #### isNode

          public boolean isNode()

      Specified by:
        `isNode` in class `DiagramElement`

    - #### isEdge

          public boolean isEdge()

      Specified by:
        `isEdge` in class `DiagramElement`

    - #### getWaypoints

          public List<DiagramEdgeWaypoint> getWaypoints()

    - #### setWaypoints

          public void setWaypoints(List<DiagramEdgeWaypoint> waypoints)

Copyright © 2016 Alfresco. All rights reserved.