Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jflight.flightbook
Class Glider  view Glider download Glider.java

java.lang.Object
  extended byjflight.db.PersistentObject
      extended byjflight.flightbook.Glider

public class Glider
extends jflight.db.PersistentObject

Glider class Glider class OLC-class (?) 0 1 1 2 1 3 2 4 2 5 6

Since:
JDK1.1.x

Field Summary
private  java.lang.String gliderName
           
private  int gliderType
           
static int HG
           
static int HG_TL
           
static int PG
           
static int PG_OPEN
           
static int PG_SPORT
           
static int PG_TANDEM
           
static int RW
           
static int RW_FAIRED
           
static int UD
           
 double vh1
           
 double vh2
           
 double vv1
           
 double vv2
           
 
Fields inherited from class jflight.db.PersistentObject
changed, storedInDB, uniqueDatabaseID
 
Constructor Summary
Glider(java.lang.String name)
           
Glider(java.lang.String name, int gliderType)
           
Glider(java.lang.String name, int gliderType, double vh1, double vv1, double vh2, double vv2)
          Constructor Glider
 
Method Summary
 java.lang.String getGliderName()
          Method getGliderName
 int getGliderType()
          Method getGliderType
 double getVh1()
           
 double getVh2()
           
 double getVv1()
           
 double getVv2()
           
 void setGliderName(java.lang.String aName)
           
 void setGliderType(int aType)
           
 void setVh1(double vh1)
           
 void setVh2(double vh2)
           
 void setVv1(double vv1)
           
 void setVv2(double vv2)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class jflight.db.PersistentObject
getID, hasBeenChanged, hasBeenLoadedFromDB, loadedFromDB, setChanged, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UD

public static final int UD
See Also:
Constant Field Values

HG

public static final int HG
See Also:
Constant Field Values

HG_TL

public static final int HG_TL
See Also:
Constant Field Values

RW

public static final int RW
See Also:
Constant Field Values

RW_FAIRED

public static final int RW_FAIRED
See Also:
Constant Field Values

PG_OPEN

public static final int PG_OPEN
See Also:
Constant Field Values

PG_SPORT

public static final int PG_SPORT
See Also:
Constant Field Values

PG_TANDEM

public static final int PG_TANDEM
See Also:
Constant Field Values

PG

public static final int PG
See Also:
Constant Field Values

gliderName

private java.lang.String gliderName

gliderType

private int gliderType

vh1

public double vh1

vv1

public double vv1

vh2

public double vh2

vv2

public double vv2
Constructor Detail

Glider

public Glider(java.lang.String name,
              int gliderType,
              double vh1,
              double vv1,
              double vh2,
              double vv2)
Constructor Glider


Glider

public Glider(java.lang.String name,
              int gliderType)

Glider

public Glider(java.lang.String name)
Method Detail

setVh1

public void setVh1(double vh1)

getVh1

public double getVh1()

setVv1

public void setVv1(double vv1)

getVv1

public double getVv1()

setVh2

public void setVh2(double vh2)

getVh2

public double getVh2()

setVv2

public void setVv2(double vv2)

getVv2

public double getVv2()

getGliderName

public java.lang.String getGliderName()
Method getGliderName


setGliderName

public void setGliderName(java.lang.String aName)

getGliderType

public int getGliderType()
Method getGliderType


setGliderType

public void setGliderType(int aType)

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).