com.titan.domain
Class Cabin

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

@Entity
public class Cabin
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Cabin()
           
 
Method Summary
 int getBedCount()
           
 int getDeckLevel()
           
 int getId()
           
 String getName()
           
 Ship getShip()
           
 void setBedCount(int count)
           
 void setDeckLevel(int level)
           
 void setId(int id)
           
 void setName(String name)
           
 void setShip(Ship ship)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cabin

public Cabin()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)

getBedCount

public int getBedCount()

setBedCount

public void setBedCount(int count)

getDeckLevel

public int getDeckLevel()

setDeckLevel

public void setDeckLevel(int level)

getShip

public Ship getShip()

setShip

public void setShip(Ship ship)


Copyright © 2011. All Rights Reserved.