Package myorg.relex.collection
Class Ship
- java.lang.Object
-
- myorg.relex.collection.Ship
-
- Direct Known Subclasses:
ShipByBusinessId
,ShipByDefault
,ShipByPK
,ShipBySwitch
@MappedSuperclass public abstract class Ship extends Object
This class is used as a common base implementation by several implementations of hashCode/equals.
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
created
protected int
id
private static AtomicInteger
instanceId
protected org.slf4j.Logger
log
protected String
name
private int
oid
-
Constructor Summary
Constructors Constructor Description Ship()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Date
getCreated()
int
getId()
String
getName()
int
hashCode()
boolean
logEquals(Object obj, boolean equals)
int
logHashCode(int hashCode)
protected int
objectHashCode()
abstract int
peekHashCode()
Ship
setCreated(Date created)
Ship
setId(int id)
Ship
setName(String name)
String
toString()
-
-
-
Field Detail
-
log
protected final org.slf4j.Logger log
-
instanceId
private static AtomicInteger instanceId
-
oid
private int oid
-
id
protected int id
-
name
protected String name
-
created
protected Date created
-
-
Method Detail
-
getId
public int getId()
-
setId
public Ship setId(int id)
-
getName
public String getName()
-
getCreated
public Date getCreated()
-
peekHashCode
public abstract int peekHashCode()
-
objectHashCode
protected int objectHashCode()
-
logHashCode
public int logHashCode(int hashCode)
-
logEquals
public boolean logEquals(Object obj, boolean equals)
-
-