com.titan.domain
Class Cruise

java.lang.Object
  extended by com.titan.domain.Cruise
All Implemented Interfaces:
Serializable

@Entity
public class Cruise
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Cruise()
           
Cruise(String name, Ship ship)
           
 
Method Summary
 int getId()
           
 String getName()
           
 Collection<Reservation> getReservations()
           
 Ship getShip()
           
 void setId(int id)
           
 void setName(String name)
           
 void setReservations(Collection<Reservation> res)
           
 void setShip(Ship ship)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cruise

public Cruise()

Cruise

public Cruise(String name,
              Ship ship)
Method Detail

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.