public class TLcdAISDataObjectFactory extends Object
ALcdAISObjectFactory
. Creation of geometry is delegated to a separate factory class
ALcdAISGeometryFactory
, to reduce the amount of factory methods. This class ensures that the domain objects it creates have a proper data type filled in.
Constructor and Description |
---|
TLcdAISDataObjectFactory()
Creates a new data object factory that uses
TLcdAISLonLatHeightGeometryFactory as
geometry factory, initialized with the default WGS 84 ellipsoid. |
TLcdAISDataObjectFactory(ALcdAISGeometryFactory aGeometryFactory)
Creates a new data object factory that uses the given geometry factory to create geometries for
the data objects.
|
TLcdAISDataObjectFactory(ILcdEllipsoid aEllipsoid)
Creates a new data object factory that uses
TLcdAISLonLatHeightGeometryFactory as
geometry factory, initialized with the given ellipsoid. |
public TLcdAISDataObjectFactory(ALcdAISGeometryFactory aGeometryFactory)
aGeometryFactory
- A geometry factory.public TLcdAISDataObjectFactory(ILcdEllipsoid aEllipsoid)
TLcdAISLonLatHeightGeometryFactory
as
geometry factory, initialized with the given ellipsoid.aEllipsoid
- The ellipsoid that will be used to create data objects.TLcdAISLonLatHeightGeometryFactory.TLcdAISLonLatHeightGeometryFactory(ILcdEllipsoid)
public TLcdAISDataObjectFactory()
TLcdAISLonLatHeightGeometryFactory
as
geometry factory, initialized with the default WGS 84 ellipsoid.public ILcdEditableLocationBasedService createLocationBasedService(TLcdDataType aType)
ILcdEditableLocationBasedService
. The location of this service is
created by the geometry factory.aType
- The data type of the object that should be either an extension of the
LocationBasedService
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.LocationBasedService
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableILS createILS(TLcdDataType aType)
ILcdEditableILS
.aType
- The data type of the object that should be either an extension of the
ILS
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.ILS
public ILcdEditableOrtca createOrtca(TLcdDataType aType)
ILcdEditableOrtca
. The geometry of this ORTCA (Off-Route Terrain
Clearance Altitude) is created by the geometry factory.aType
- The data type of the object that should be either an extension of the
Ortca
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Ortca
,
ALcdAISGeometryFactory.createPolygon()
public ILcdEditableAerodrome createAerodrome(ILcdEditableAerodrome aAerodrome)
ILcdEditableAerodrome
.aAerodrome
- the aerodrome to be copied.ILcdEditableAerodrome
.public ILcdEditableAerodrome createAerodrome(TLcdDataType aType)
ILcdEditableAerodrome
. The location of this aerodrome is initialized by
the geometry factory.aType
- The data type of the object that should be either an extension of the
Aerodrome
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Aerodrome
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableRunway createRunway(TLcdDataType aType)
ILcdEditableRunway
. The geometry of this runway is created by the
geometry factory.aType
- The data type of the object that should be either an extension of the
Runway
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Runway
,
ALcdAISGeometryFactory.createPolyline()
public ILcdEditableRunwayClinePoint createRunwayClinePoint(TLcdDataType aType)
ILcdEditableRunwayClinePoint
. The location of this runway cline point
is created by the geometry factory.aType
- The data type of the object that should be either an extension of the
RunwayClinePoint
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.RunwayClinePoint
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableHelipad createHelipad(TLcdDataType aType)
ILcdEditableHelipad
.aType
- The data type of the object that should be either an extension of the
Helipad
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Helipad
public ILcdEditableArrestingGear createArrestingGear(TLcdDataType aType)
ILcdEditableArrestingGear
. The location of this arresting gear is
initialized by the geometry factory.aType
- The data type of the object that should be either an extension of the
ArrestingGear
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.ArrestingGear
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableRunwayDirection createRunwayDirection(TLcdDataType aType)
ILcdEditableRunwayDirection
.aType
- The data type of the object that should be either an extension of the
RunwayDirection
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.RunwayDirection
public ILcdGeoborder createGeoborder(TLcdDataType aType, ILcd3DEditablePointList aPointList)
ILcdGeoborder
. The geometry of this geoborder is created by the
geometry factory based on the given point list.aType
- The data type of the object that should be either an extension of the
Geoborder
AIS base type, or the 'Unknown'
type.aPointList
- A pointlist that represents the geometry of this geoborder.TLcdAISDataTypes.Geoborder
,
ALcdAISGeometryFactory.createPolyline(ILcd3DEditablePointList)
public ILcdGeoborder createGeoborder(ILcdGeoborder aSourceGeoborder, ILcd3DEditablePointList aPointList)
ILcdGeoborder
with a given geometry.aSourceGeoborder
- The geoborder to copyaPointList
- A pointlist that should be used to create the geometry of the
geoborder.ALcdAISGeometryFactory.createPolyline(ILcd3DEditablePointList)
public ILcdEditableRefuelingTrack createRefuelingTrack(TLcdDataType aType, ILcd3DEditablePointList aPointList)
ILcdEditableRefuelingTrack
. The geometry of this refueling track is
created by the geometry factory based on the given point list.aType
- The data type of the object that should be either an extension of the
RefuelingTrack
AIS base type, or the 'Unknown'
type.aPointList
- A pointlist that represents the geometry of this refueling track.TLcdAISDataTypes.RefuelingTrack
,
ALcdAISGeometryFactory.createPolyline(ILcd3DEditablePointList)
public ILcdEditableRefuelingTrack createRefuelingTrack(ILcdRefuelingTrack aSourceTrack, ILcd3DEditablePointList aPointList)
ILcdEditableRefuelingTrack
with a given geometry.aSourceTrack
- The refueling track to copyaPointList
- A pointlist that should be used to create the geometry of the refueling
track.ALcdAISGeometryFactory.createPolyline(ILcd3DEditablePointList)
public ILcdEditableRefuelingTrackPoint createRefuelingTrackPoint(TLcdDataType aType)
ILcdEditableRefuelingTrackPoint
. The location of this refueling track
point is initialized by the geometry factory.aType
- The data type of the object that should be either an extension of the
RefuelingTrackPoint
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.RefuelingTrackPoint
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableRefuelingAirspace createRefuelingAirspace(TLcdDataType aType)
ILcdEditableRefuelingAirspace
.aType
- The data type of the object that should be either an extension of the
RefuelingAirspace
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.RefuelingAirspace
public ILcdEditableParachuteJumpArea createParachuteJumpArea(TLcdDataType aType)
ILcdEditableParachuteJumpArea
.aType
- The data type of the object that should be either an extension of the
ParachuteJumpArea
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.ParachuteJumpArea
public ILcdEditableWayPoint createWayPoint(TLcdDataType aType)
ILcdEditableWayPoint
. The location of this waypoint is initialized by
the geometry factory.aType
- The data type of the object that should be either an extension of the
WayPoint
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.WayPoint
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableAirspace createAirspace(TLcdDataType aType)
ILcdEditableAirspace
.aType
- The data type of the object that should be either an extension of the
Airspace
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Airspace
public ILcdEditableAssociationBasedAirspace createAssociationBasedAirspace(TLcdDataType aType)
ILcdEditableAssociationBasedAirspace
.aType
- The data type of the object that should be either an extension of the
AssociationBasedAirspace
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.AssociationBasedAirspace
public ILcdEditableAirspaceCorridor createAirspaceCorridor(TLcdDataType aType)
ILcdEditableAirspaceCorridor
.aType
- The data type of the object that should be either an extension of the
AirspaceCorridor
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.AirspaceCorridor
public ILcdEditableRouteSegment createRouteSegment(TLcdDataType aType, ILcd3DEditablePoint aBeginPoint, ILcd3DEditablePoint aEndPoint)
ILcdEditableRouteSegment
with the given begin and end point.aType
- The data type of the object that should be either an extension of the
RouteSegment
AIS base type, or the 'Unknown'
type.aBeginPoint
- the begin point of the route segmentaEndPoint
- the end point of the route segmentTLcdAISDataTypes.RouteSegment
public ILcdEditableATSRoute createATSRoute(TLcdDataType aType)
ILcdEditableATSRoute
. The geometry of this ATS route is created by the
geometry factory.aType
- The data type of the object that should be either an extension of the
ATSRoute
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.ATSRoute
,
ALcdAISGeometryFactory.createPolyline()
public ILcdEditableMilitaryTrainingRoute createMilitaryTrainingRoute(TLcdDataType aType)
ILcdEditableMilitaryTrainingRoute
. The geometry of this military
training route is created by the geometry factory.aType
- The data type of the object that should be either an extension of the
MilitaryTrainingRoute
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.MilitaryTrainingRoute
,
ALcdAISGeometryFactory.createPolyline()
public ILcdEditableMilitaryTrainingRoutePoint createMilitaryTrainingRoutePoint(TLcdDataType aType)
ILcdEditableMilitaryTrainingRoutePoint
. The location of this military
training route point is initialized by the geometry factory.aType
- The data type of the object that should be either an extension of the
MilitaryTrainingRoutePoint
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.MilitaryTrainingRoutePoint
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableVOR createVOR(TLcdDataType aType)
ILcdEditableVOR
. The location of this VOR is initialized by the
geometry factory.aType
- The data type of the object that should be either an extension of the
VOR
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.VOR
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableTACAN createTACAN(TLcdDataType aType)
ILcdEditableTACAN
. The location of this TACAN is initialized by the
geometry factory.aType
- The data type of the object that should be either an extension of the
TACAN
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.TACAN
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableNDB createNDB(TLcdDataType aType)
ILcdEditableNDB
. The location of this NDB is initialized by the
geometry factory.aType
- The data type of the object that should be either an extension of the
NDB
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.NDB
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableDME createDME(TLcdDataType aType)
ILcdEditableDME
. The location of this DME is initialized by the
geometry factory.aType
- The data type of the object that should be either an extension of the
DME
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.DME
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableGlidePath createGlidePath(TLcdDataType aType)
ILcdEditableGlidePath
. The location of this glide path is initialized
by the geometry factory.aType
- The data type of the object that should be either an extension of the
GlidePath
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.GlidePath
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableLocalizer createLocalizer(TLcdDataType aType)
ILcdEditableLocalizer
. The location of this localizer is initialized by
the geometry factory.aType
- The data type of the object that should be either an extension of the
Localizer
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Localizer
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableMarker createMarker(TLcdDataType aType)
ILcdEditableMarker
. The location of this marker is initialized by the
geometry factory.aType
- The data type of the object that should be either an extension of the
Marker
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Marker
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableVFRRoute createVFRRoute(TLcdDataType aType)
ILcdEditableVFRRoute
. The geometry of this VFR route is created by the
geometry factory.aType
- The data type of the object that should be either an extension of the
VFRRoute
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.VFRRoute
,
ALcdAISGeometryFactory.createPolyline()
public ILcdEditableVFRRoutePoint createVFRRoutePoint(TLcdDataType aType)
ILcdEditableVFRRoutePoint
. The location of this VFR route point is
initialized by the geometry factory.aType
- The data type of the object that should be either an extension of the
VFRRoutePoint
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.VFRRoutePoint
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableObstacle createObstacle(TLcdDataType aType)
ILcdEditableObstacle
. The location of this obstacle is initialized by
the geometry factory.aType
- The data type of the object that should be either an extension of the
Obstacle
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Obstacle
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableProcedure createProcedure(TLcdDataType aType)
ILcdEditableProcedure
.aType
- The data type of the object that should be either an extension of the
Procedure
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Procedure
public ILcdEditableProcedureLeg createProcedureLeg(TLcdDataType aType)
ILcdEditableProcedureLeg
.aType
- The data type of the object that should be either an extension of the
ProcedureLeg
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.ProcedureLeg
public ILcdEditableProcedureLeg createProcedureLeg(TLcdDataType aType, String aProcedureLegType)
ILcdEditableProcedureLeg
of the given type.aType
- The data type of the object that should be either an extension of the
ProcedureLeg
AIS base type, or the 'Unknown'
type.aProcedureLegType
- The type of the leg to create.TLcdAISDataTypes.ProcedureLeg
public ILcdEditableHolding createHolding(TLcdDataType aType)
ILcdEditableHolding
.aType
- The data type of the object that should be either an extension of the
Holding
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.Holding
public TLcdProcedureTrajectory createProcedureTrajectory(ILcdProcedure aProcedure)
TLcdProcedureTrajectory
for the given procedure. A procedure trajectory
calculates and caches the geometry of a procedure, and is the preferred way to add procedures
to an ILcdModel
.aProcedure
- the ILcdProcedure
to be wrapped by the procedure trajectoryTLcdProcedureTrajectory
public void setDefaultAircraftPerformanceSettings(TLcdAircraftPerformanceSettings aSettings)
TLcdAircraftPerformanceSettings
to be used by
createProcedureTrajectory
.aSettings
- the aircraft performance settings to be used for creating procedure
trajectories.TLcdProcedureTrajectory
,
TLcdAircraftPerformanceSettings
,
getDefaultAircraftPerformanceSettings()
public TLcdAircraftPerformanceSettings getDefaultAircraftPerformanceSettings()
setDefaultAircraftPerformanceSettings(TLcdAircraftPerformanceSettings)
public void setDefaultProcedureGeometryCalculator(TLcdProcedureGeometryCalculator aCalculator)
TLcdProcedureGeometryCalculator
to be used by
createProcedureTrajectory
.aCalculator
- the procedure geometry calculator to be used for creating procedure
trajectories.TLcdProcedureTrajectory
,
TLcdProcedureGeometryCalculator
,
getDefaultProcedureGeometryCalculator()
public TLcdProcedureGeometryCalculator getDefaultProcedureGeometryCalculator()
setDefaultProcedureGeometryCalculator(TLcdProcedureGeometryCalculator)
public ILcdEditableAirspaceAssociation createAirspaceAssociation(TLcdDataType aType)
ILcdEditableAirspaceAssociation
.aType
- The data type of the object that should be either an extension of the
AirspaceAssociation
AIS base type, or the 'Unknown'
type.TLcdAISDataTypes.AirspaceAssociation
public ILcdEditableAreaMinimumAltitude createAreaMinimumAltitude(TLcdDataType aDataType)
ILcdEditableAreaMinimumAltitude
.aDataType
- The data type of the object that should be either an extension of the
AIS base type
,
or the 'Unknown'
type.public ILcdEditableMinimumSectorAltitude createMinimumSectorAltitude(TLcdDataType aDataType)
ILcdEditableMinimumSectorAltitude
.aDataType
- The data type of the object that should be either an extension of the
AIS base type
,
or the 'Unknown'
type.ILcdEditableMinimumSectorAltitude
instancepublic ILcdEditableSector createSector(TLcdDataType aDataType)
ILcdEditableSector
.aDataType
- The data type of the object that should be either an extension of the
AIS base type
,
or the 'Unknown'
type.ILcdEditableSector
instancepublic ILcdEditableAirspaceSegment createAirspaceSegment(int aType)
ILcdEditableAirspaceSegment
of the given geopath leg type. The location
of this airspace segment is initialized by the geometry factory.aType
- The type of geo path leg.ILcdGeoPathLeg
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableGeoPathLeg createGeoPathLeg(int aType)
ILcdEditableGeoPathLeg
of the given geopath leg type. The location of
this geopath leg is initialized by the geometry factory.aType
- The type of geo path leg.ILcdGeoPathLeg
,
ALcdAISGeometryFactory.createPoint()
public ILcdEditableParachuteJumpAreaSegment createParachuteJumpAreaSegment(int aType)
ILcdEditableParachuteJumpAreaSegment
of the given geopath leg type. The
location of this parachute jump area segment is initialized by the geometry factory.aType
- The type of geo path leg.ILcdGeoPathLeg
,
ALcdAISGeometryFactory.createPoint()
public ALcdAISGeometryFactory getGeometryFactory()