ArcId (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.graph, class: ArcId

# 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
  Description
  `ArcId(String forwardArc, String reverseArc)`
  `ArcId(ArcProperty property)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `String`
  `getForwardArc()`
  `String`
  `getReverseArc()`
  `ArcId`
  `getReverseId()`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### ArcId

    public ArcId(ArcProperty property)

  - ### ArcId

    public ArcId(String forwardArc, String reverseArc)

- ## Method Details

  - ### 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`