Package org.eclipse.viatra.addon.validation.core.violationkey

## Class CompositeViolationKey

- java.lang.Object
- - org.eclipse.viatra.addon.validation.core.violationkey.CompositeViolationKey

- All Implemented Interfaces:
    `ViolationKey`

      public class CompositeViolationKey
      extends java.lang.Object
      implements ViolationKey

  A composite violation key serves as an object to uniquely identify a set of String - Object pairs.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CompositeViolationKey​(java.util.Map<java.lang.String,​java.lang.Object> keyObjects)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(java.lang.Object obj)` |
    `java.util.Map<java.lang.String,​java.lang.Object>` | `getKeyObjects()` |
    `int` | `hashCode()` |
    `void` | `setKeyObjects​(java.util.Map<java.lang.String,​java.lang.Object> keyObjects)` |

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

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

- - ### Constructor Detail

    - #### CompositeViolationKey

          public CompositeViolationKey​(java.util.Map<java.lang.String,​java.lang.Object> keyObjects)

  - ### Method Detail

    - #### getKeyObjects

          public java.util.Map<java.lang.String,​java.lang.Object> getKeyObjects()

    - #### setKeyObjects

          public void setKeyObjects​(java.util.Map<java.lang.String,​java.lang.Object> keyObjects)

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