Class EntityWithNotAggregateId.PK

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    EntityWithNotAggregateId

    public static class EntityWithNotAggregateId.PK
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PK()  
      PK​(java.lang.Integer value1, java.lang.String value2)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.Integer getValue1()  
      java.lang.String getValue2()  
      int hashCode()  
      void setValue1​(java.lang.Integer value1)  
      void setValue2​(java.lang.String value2)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PK

        public PK()
      • PK

        public PK​(java.lang.Integer value1,
                  java.lang.String value2)
    • Method Detail

      • getValue1

        public java.lang.Integer getValue1()
      • setValue1

        public void setValue1​(java.lang.Integer value1)
      • getValue2

        public java.lang.String getValue2()
      • setValue2

        public void setValue2​(java.lang.String value2)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object