reservations
Class SeatCategory

java.lang.Object
  |
  +--reservations.SeatCategory

public class SeatCategory
extends java.lang.Object

A simple typesafe enumeration of seat categories. All possible SeatCategory's are represented by the static fields defined for this class.


Field Summary
static SeatCategory BUSINESS_CLASS
          Uniquely identifies a Business Class SeatCategory
static SeatCategory ECONOMY_CLASS
          Uniquely identifies an Economy Class SeatCategory
static SeatCategory FIRST_CLASS
          Uniquely identifies a First Class SeatCategory
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIRST_CLASS

public static final SeatCategory FIRST_CLASS
Uniquely identifies a First Class SeatCategory


BUSINESS_CLASS

public static final SeatCategory BUSINESS_CLASS
Uniquely identifies a Business Class SeatCategory


ECONOMY_CLASS

public static final SeatCategory ECONOMY_CLASS
Uniquely identifies an Economy Class SeatCategory

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object