Package myorg.relex.collection
Class ShipByDefault
- java.lang.Object
-
- myorg.relex.collection.Ship
-
- myorg.relex.collection.ShipByDefault
-
@Entity public class ShipByDefault extends Ship
This class is provides an example of an entity that implements hashCode/equals using the default java.lang.Object implementation. Note this implementation is instance-specific. No other instance will report the same value even if they represent the same row in the DB.
-
-
Constructor Summary
Constructors Constructor Description ShipByDefault()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
peekHashCode()
-
Methods inherited from class myorg.relex.collection.Ship
getCreated, getId, getName, hashCode, logEquals, logHashCode, objectHashCode, setCreated, setId, setName, toString
-
-
-
-
Method Detail
-
peekHashCode
public int peekHashCode()
- Specified by:
peekHashCode
in classShip
-
-