faa.tg.prep.aces.geomaps
Class AcesGeoLine

java.lang.Object
  extended by faa.tg.prep.aces.geomaps.AcesGeoLine

public class AcesGeoLine
extends java.lang.Object

 This class represents a completed AcesGeoLine consisting of an
 AcesClassType, AcesLineStyle and two Positions.
 
See the source AcesGeoLine

Version:
$Id: AcesGeoLine.java,v 3.1 2006/03/14 15:57:30 samf Exp $
Author:
Timothy Swantek

Field Summary
private  AcesClassType classType
           
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  Position endPosition
           
private  AcesLineStyle lineStyle
           
private  Position startPosition
           
 
Constructor Summary
AcesGeoLine(AcesClassType classType, AcesLineStyle lineStyle, Position startPosition, Position endPosition)
          Constructor -
 
Method Summary
 java.lang.String getClassTypeString()
          Method getClassTypeString returns a String representation of this objects ClassType Number field.
 java.lang.String getEndLatitude()
          Method getEndLatitude returns a String represenation of a Latitude based after the endPosition field of this object.
 java.lang.String getEndLongitude()
          Method getEndLongitude returns a String representation of a longitude based after the endPosition field of this object.
 java.lang.String getEndPositionString()
          Method getEndPositionString returns the endPosition field of this object converted to DraText format.
 java.lang.String getLineStyleString()
          Method getLineStyleString returns a String representation of this objects LineStyle TypeName field.
 java.lang.String getNameTypeString()
          Method getNameTypeString returns a String representation of this objects ClassType Name field.
 java.lang.String getStartLatitude()
          Method getStartLatitude returns a String representation of a Latitude based after he startPosition field of this object.
 java.lang.String getStartLongitude()
          Method getStartLongitude returns a String representation of a longitude based after the startPosition field of this object.
 java.lang.String getStartPositionString()
          Method getStartPositionString returns the startPosition field of this object converted to DraText format.
 java.lang.String toString()
          Method toString returns a string representation of an AcesGeoline object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

classType

private AcesClassType classType

lineStyle

private AcesLineStyle lineStyle

startPosition

private Position startPosition

endPosition

private Position endPosition
Constructor Detail

AcesGeoLine

public AcesGeoLine(AcesClassType classType,
                   AcesLineStyle lineStyle,
                   Position startPosition,
                   Position endPosition)
Constructor -
 AcesGeoLine is the representation of a completed Geoline given a
 start position and end position.

Parameters:
classType - : The information reguarding what the line relates to. : an example would be SECTOR for a sector boundary.
lineStyle - : What type of line is to be displayed. Solid, : dashed, or short-dashed are examples.
startPosition - : Where the line originates from.
endPosition - : Where the line ends at.
Method Detail

toString

public java.lang.String toString()
Method toString returns a string representation of an AcesGeoline object.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of a Geoline.

getNameTypeString

public final java.lang.String getNameTypeString()
Method getNameTypeString returns a String representation of this objects ClassType Name field.

Returns:
the String representation of the AcesClassType name.

getClassTypeString

public final java.lang.String getClassTypeString()
Method getClassTypeString returns a String representation of this objects ClassType Number field.

Returns:
the String representation of valid numerical equivalents for the an AcesClassType.

getLineStyleString

public final java.lang.String getLineStyleString()
Method getLineStyleString returns a String representation of this objects LineStyle TypeName field.

Returns:
the String representation of a valid AcesLineStyle.

getStartLatitude

public final java.lang.String getStartLatitude()
Method getStartLatitude returns a String representation of a Latitude based after he startPosition field of this object. The String returned is in DMS format.

Returns:
a valid latitude converted to a DmsString.

getEndLatitude

public final java.lang.String getEndLatitude()
Method getEndLatitude returns a String represenation of a Latitude based after the endPosition field of this object. The String returned is in DMS format.

Returns:
a valid latitude converted to a DmsString.

getStartLongitude

public final java.lang.String getStartLongitude()
Method getStartLongitude returns a String representation of a longitude based after the startPosition field of this object. The String returned is in DMS format.

Returns:
a valid longitude converted to a DmsString.

getEndLongitude

public final java.lang.String getEndLongitude()
Method getEndLongitude returns a String representation of a longitude based after the endPosition field of this object. The String returned is in DMS format.

Returns:
a valid longitude converted to a DmsString.

getStartPositionString

public final java.lang.String getStartPositionString()
Method getStartPositionString returns the startPosition field of this object converted to DraText format.

Returns:
a DraString representation of the lines start postiion.

getEndPositionString

public final java.lang.String getEndPositionString()
Method getEndPositionString returns the endPosition field of this object converted to DraText format.

Returns:
a DraString representation of the lines end position.