Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleViolationKey​(java.lang.Object keyObject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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

        clone, finalize, 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