org.apache.cayenne.graph

## Class ArcId

- java.lang.Object
- - org.apache.cayenne.graph.ArcId

- All Implemented Interfaces:
    Serializable

      public class ArcId
      extends Object
      implements Serializable

  Object that represents Arc identifier. Used in graph change operations.
  Since:
    4.2
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ArcId(ArcProperty property)`
    `ArcId(String forwardArc, String reverseArc)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `String` | `getForwardArc()`
    `String` | `getReverseArc()`
    `ArcId` | `getReverseId()`
    `int` | `hashCode()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### ArcId

          public ArcId(ArcProperty property)

    - #### ArcId

          public ArcId(String forwardArc,
                       String reverseArc)

  - ### Method Detail

    - #### getForwardArc

          public String getForwardArc()

    - #### getReverseArc

          public String getReverseArc()

    - #### getReverseId

          public ArcId getReverseId()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2001–2021 Apache Cayenne. All rights reserved.