Class SampleCompoundKey
- java.lang.Object
-
- pl.com.external.essw.system.database.domain.keys.SampleCompoundKey
-
- All Implemented Interfaces:
java.io.Serializable
public class SampleCompoundKey extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SampleCompoundKey()SampleCompoundKey(java.lang.Integer value1, java.lang.Integer value2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object otherOb)java.lang.IntegergetValue1()java.lang.IntegergetValue2()inthashCode()voidsetValue1(java.lang.Integer value1)voidsetValue2(java.lang.Integer value2)java.lang.StringtoString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object otherOb)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getValue1
public java.lang.Integer getValue1()
- Returns:
- the value1
-
setValue1
public void setValue1(java.lang.Integer value1)
- Parameters:
value1- the value1 to set
-
getValue2
public java.lang.Integer getValue2()
- Returns:
- the value2
-
setValue2
public void setValue2(java.lang.Integer value2)
- Parameters:
value2- the value2 to set
-
-