Class Ship
- java.lang.Object
-
- org.hibernate.reactive.it.lazytoone.Ship
-
@Entity(name="Ship") public class Ship extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Captain
getCaptain()
Long
getId()
String
getName()
byte[]
getPicture()
int
hashCode()
void
setCaptain(Captain captain)
void
setId(Long id)
void
setName(String name)
void
setPicture(byte[] picture)
String
toString()
-
-
-
Constructor Detail
-
Ship
public Ship()
-
Ship
public Ship(String name)
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getCaptain
public Captain getCaptain()
-
setCaptain
public void setCaptain(Captain captain)
-
getPicture
public byte[] getPicture()
-
setPicture
public void setPicture(byte[] picture)
-
-