|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ConcertSeat
| Field Summary | |
static int |
ALLOCATED
|
static int |
FREE
|
static int |
RESERVED
|
| Constructor Summary | |
ConcertSeat(int x,
int y)
This method is ConcertSeat constructor. |
|
| Method Summary | |
java.lang.String |
getOperator()
This method is use to get the operator name |
int |
getStatus()
This method is use to get the seat status |
java.lang.String |
seatNumber()
This method is use to get the Seat Number |
boolean |
setStatus(int newStatus,
java.lang.String operator)
This method is set the seat status according to new seat status |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FREE
public static final int RESERVED
public static final int ALLOCATED
| Constructor Detail |
public ConcertSeat(int x,
int y)
without - throws exceptions| Method Detail |
public java.lang.String seatNumber()
without - throws exceptionspublic java.lang.String getOperator()
without - throws exceptionspublic int getStatus()
without - throws exceptions
public boolean setStatus(int newStatus,
java.lang.String operator)
without - throws exceptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||