@MappedSuperclass public abstract class Ship extends Object
Modifier and Type | Field and Description |
---|---|
protected Date |
created |
protected int |
id |
private static AtomicInteger |
instanceId |
protected org.apache.commons.logging.Log |
log |
protected String |
name |
private int |
oid |
Constructor and Description |
---|
Ship() |
Modifier and Type | Method and 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() |
protected final org.apache.commons.logging.Log log
private static AtomicInteger instanceId
private int oid
protected int id
protected String name
protected Date created
public int getId()
public Ship setId(int id)
public String getName()
public Date getCreated()
public abstract int peekHashCode()
protected int objectHashCode()
public int logHashCode(int hashCode)
public boolean logEquals(Object obj, boolean equals)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.