com.titan.domain
Class Cruise
java.lang.Object
com.titan.domain.Cruise
- All Implemented Interfaces:
- Serializable
@Entity
public class Cruise
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cruise
public Cruise()
Cruise
public Cruise(String name,
Ship ship)
getId
public int getId()
setId
public void setId(int id)
getName
public String getName()
setName
public void setName(String name)
getShip
public Ship getShip()
setShip
public void setShip(Ship ship)
getReservations
public Collection<Reservation> getReservations()
setReservations
public void setReservations(Collection<Reservation> res)
Copyright © 2011. All Rights Reserved.