|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.beans.system.AirlineInformation
public class AirlineInformation
A bean to store information about other virtual airline databases.
| Constructor Summary | |
|---|---|
AirlineInformation(String code,
String name)
Creates a new Airline Information bean. |
|
| Method Summary | |
|---|---|
Object |
cacheKey()
Returns the cache key for this object. |
int |
compareTo(AirlineInformation ai2)
Compares two Airline Information beans by comparing their codes. |
boolean |
equals(Object o)
|
boolean |
getCanTransfer()
Returns whether Pilots can be transferred into this Airline. |
String |
getCode()
Returns the Airline code. |
String |
getComboAlias()
Returns the alias to use in the HTML <OPTION> element. |
String |
getComboName()
Returns the visible name to use in the HTML <OPTION> element. |
String |
getDB()
Returns the Airline database name. |
String |
getDomain()
Returns the Airline domain name. |
String |
getName()
Returns the Airline name. |
int |
hashCode()
Returns the airline code's hashcode. |
void |
setCanTransfer(boolean doTransfer)
Updates whether Pilots can be transferred into this Airline. |
void |
setDB(String dbName)
Updates the Airline database name. |
void |
setDomain(String domain)
Updates the Airline domain name. |
String |
toString()
Returns the airline code. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AirlineInformation(String code,
String name)
code - the Airline Codename - the Airline name
NullPointerException - if code or name are nullgetCode(),
getName()| Method Detail |
|---|
public String getCode()
public String getDomain()
setDomain(String)public String getDB()
setDB(String)public String getName()
public boolean getCanTransfer()
setCanTransfer(boolean)public void setDomain(String domain)
domain - the domain name
NullPointerException - if domain is nullgetDomain()public void setDB(String dbName)
dbName - the database name
NullPointerException - if dbName is nullgetDB()public void setCanTransfer(boolean doTransfer)
doTransfer - TRUE if Pilots can be transferred, otherwise FALSEgetCanTransfer()public String getComboName()
ComboAlias
getComboName in interface ComboAliaspublic String getComboAlias()
ComboAlias
getComboAlias in interface ComboAliaspublic Object cacheKey()
Cacheable
cacheKey in interface Cacheablepublic int compareTo(AirlineInformation ai2)
compareTo in interface Comparable<AirlineInformation>public boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||