@Entity(name="Captain") public class Captain extends Object
Captain()
Captain(String name)
boolean
equals(Object o)
Long
getId()
String
getName()
Ship
getShip()
int
hashCode()
void
setId(Long id)
setName(String name)
setShip(Ship ship)
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public Captain()
public Captain(String name)
public Long getId()
public void setId(Long id)
public String getName()
public void setName(String name)
public Ship getShip()
public void setShip(Ship ship)
public String toString()
toString
Object
public boolean equals(Object o)
equals
public int hashCode()
hashCode