|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.beans.DatabaseBean
org.deltava.beans.stats.LandingStatistics
public class LandingStatistics
A bean used to track average landing speeds.
| Constructor Summary | |
|---|---|
LandingStatistics(String name,
String eqType)
Initializes the bean. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares two beans by comparing their average touchdown speeds. |
double |
getAverageDistance()
Returns the average runway threshold displacement. |
double |
getAverageSpeed()
Returns the average touchdown speed. |
double |
getDistanceStdDeviation()
Returns the standard deviation of runway threshold displacements. |
String |
getEquipmentType()
Returns the equipment type. |
double |
getHours()
Returns the number of hours logged. |
int |
getLegs()
Returns the number of legs flown. |
String |
getPilotName()
Returns the pilot name. |
double |
getStdDeviation()
Returns the standard deviation of touchdown speeds. |
int |
hashCode()
Returns the hash code of the database ID. |
void |
setAverageDistance(double distance)
Updates the average threshold displacement. |
void |
setAverageSpeed(double spd)
Updates the average touchdown speed. |
void |
setDistanceStdDeviation(double sd)
Updates the standard deviation of threshold displacements. |
void |
setHours(double hours)
Updates the number of hours logged. |
void |
setLegs(int legs)
Updates the number of legs flown. |
void |
setStdDeviation(double sd)
Updates the standard deviation of touchdown speeds. |
String |
toString()
Returns the pilot and equipment type. |
| Methods inherited from class org.deltava.beans.DatabaseBean |
|---|
cacheKey, equals, getHexID, getID, setID, validateID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LandingStatistics(String name,
String eqType)
name - the pilot nameeqType - the equipment type| Method Detail |
|---|
public String getPilotName()
public String getEquipmentType()
public int getLegs()
public double getHours()
public double getAverageSpeed()
public double getStdDeviation()
public double getAverageDistance()
public double getDistanceStdDeviation()
public void setLegs(int legs)
legs - the number of legspublic void setHours(double hours)
hours - the number of hourspublic void setAverageSpeed(double spd)
spd - the average speed in feet per minutepublic void setStdDeviation(double sd)
sd - the standard deviation in feet per minutepublic void setAverageDistance(double distance)
distance - the distance in feetpublic void setDistanceStdDeviation(double sd)
sd - the standard deviation in feetpublic int compareTo(Object o)
compareTo in interface Comparable<Object>compareTo in class DatabaseBeanComparable.compareTo(Object)public String toString()
toString in class Objectpublic int hashCode()
DatabaseBean
hashCode in class DatabaseBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||