com.titan.domain
Class Cabin
java.lang.Object
com.titan.domain.Cabin
- All Implemented Interfaces:
- Serializable
@Entity
public class Cabin
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Constructor Summary |
Cabin()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cabin
public Cabin()
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.