org.eclipse.incquery.validation.core.violationkey

## Class SimpleViolationKey

- java.lang.Object
- - org.eclipse.incquery.validation.core.violationkey.SimpleViolationKey

- All Implemented Interfaces:
    ViolationKey

      public class SimpleViolationKey
      extends java.lang.Object
      implements ViolationKey

  A simple violation key serves as an object to uniquely identify an Object.
  Author:
    Balint Lorand

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleViolationKey(java.lang.Object keyObject)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Object` | `getKeyObject()`
    `int` | `hashCode()`
    `void` | `setKeyObject(java.lang.Object keyObject)`

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

      `getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleViolationKey

          public SimpleViolationKey(java.lang.Object keyObject)

  - ### Method Detail

    - #### getKeyObject

          public java.lang.Object getKeyObject()

    - #### setKeyObject

          public void setKeyObject(java.lang.Object keyObject)

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`