faa.tg.prep.aces.geomaps
Class AcesGeomap

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

public class AcesGeomap
extends java.lang.Object

 AcesGeomap represents a single geomap found within the ACES
 GEOMAP dataset.
 
 See the source  AcesGeomap 
 

Author:
Dan Warburton, Scott Cramer, Timothy Swantek

Field Summary
private  Position centerPosition
          The center coord's for this map in position format.
private  java.util.Vector contents
          contents represents the AcesGeoLines, AcesGeoSymbols found within the ACES GEOMAP dataset.
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  java.lang.String mapName
          The name of this particular GeoMap.
 
Constructor Summary
AcesGeomap(java.lang.String mapName, Position centerPosition)
          Constructor - AcesGeomap is the object representing a particluar geomap within the given ACES GEOMAP dataset consisting of it's name, center coords and various line information.
 
Method Summary
 void add(AcesGeoLine acesGeoLine)
          Method Add - is an overloaded method able to receive AcesGeoLines or AcesGeoSymbols and add them into the vector contents.
 void add(AcesGeoSymbol acesGeoSymbol)
          Method add - is an overloaded method able to receive AcesGeoSymbols or AcesGeoLines and add them into the vector contents.
 java.lang.String getCenterLatitude()
          Method getCenterLatitude returns a converted latitude String in DMS format from the centerPosition field of this object.
 java.lang.String getCenterLongitude()
          Method getCenterLongitude returns a converted longitude String in DMS format from the centerPosition field of this object.
 java.util.Enumeration getMapLines()
          getMapLines releases this geomaps Vector as an Enumeration for use in parsing and manipulation/accessing.
 java.lang.String getMapName()
          Method getMapName is an accessor to the mapName field of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

mapName

private java.lang.String mapName
The name of this particular GeoMap.


centerPosition

private Position centerPosition
The center coord's for this map in position format.


contents

private java.util.Vector contents
contents represents the AcesGeoLines, AcesGeoSymbols found within the ACES GEOMAP dataset.

Constructor Detail

AcesGeomap

public AcesGeomap(java.lang.String mapName,
                  Position centerPosition)
Constructor - AcesGeomap is the object representing a particluar geomap within the given ACES GEOMAP dataset consisting of it's name, center coords and various line information.

Parameters:
mapName - : The name of this geomap.
centerPosition - : The center coord's (in position format) for this Geomap.
Method Detail

getMapName

public java.lang.String getMapName()
Method getMapName is an accessor to the mapName field of this object.

Returns:
the name of this AcesGeomap.

getCenterLatitude

public java.lang.String getCenterLatitude()
Method getCenterLatitude returns a converted latitude String in DMS format from the centerPosition field of this object.

Returns:
the center Latitude for this map in DMS format.

getCenterLongitude

public java.lang.String getCenterLongitude()
Method getCenterLongitude returns a converted longitude String in DMS format from the centerPosition field of this object.

Returns:
the center Longitude for this map in DMS format.

add

public void add(AcesGeoLine acesGeoLine)
Method Add - is an overloaded method able to receive AcesGeoLines or AcesGeoSymbols and add them into the vector contents.

Parameters:
AcesGeoLine - : a Geoline to add.
See Also:
AcesGeoLine

add

public void add(AcesGeoSymbol acesGeoSymbol)
Method add - is an overloaded method able to receive AcesGeoSymbols or AcesGeoLines and add them into the vector contents.

Parameters:
acesGeoSymbol - : a valid acesGeoSymbol.
See Also:
AcesGeoSymbol

getMapLines

public final java.util.Enumeration getMapLines()
getMapLines releases this geomaps Vector as an Enumeration for use in parsing and manipulation/accessing.

Returns:
the Enumeration of this geomaps lines.