Package com.luciad.ais.model.procedure
Interface ILcdEditableProcedure
- All Superinterfaces:
ILcdDataObject
,ILcdProcedure
- All Known Subinterfaces:
ILcdEditableHolding
- All Known Implementing Classes:
TLcdFeaturedHolding
,TLcdFeaturedProcedure
,TLcdHolding
,TLcdProcedure
This interface defines operations to edit the attributes, relationships
and geometry of an
ILcdProcedure
.
Attributes and relationships in AIS domain objects can be required or optional. When unspecified, an attribute or relationship is optional. Note that most optional attributes are modeled using features.
In future releases of AIS, optional attributes or relationship may be added to this interface. When this would happen, existing implementations may just provide an empty implementation modifying or setting these new attributes or relationships. This will require a minimal effort to update existing code to a new version of AIS.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLeg
(ILcdProcedureLeg aLeg) Adds a leg to this procedure.void
insertSegmentAt
(ILcdProcedureLeg aLeg, int aIndex) Inserts the given leg into the procedure at the specified index.boolean
removeLeg
(ILcdProcedureLeg aLeg) Removes the specified leg from this procedure.void
setAerodrome
(ILcdAerodrome aAerodrome) Sets theILcdAerodrome
associated with this procedure.void
setDesignator
(String aDesignator) Sets the unique identifier of this procedure to the given string.void
setType
(TLcdProcedureType aType) Sets the type of this procedure.Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.ais.model.procedure.ILcdProcedure
cloneAsEditableProcedure, getAerodrome, getDesignator, getLeg, getLegCount, getType
-
Method Details
-
setDesignator
Sets the unique identifier of this procedure to the given string.- Parameters:
aDesignator
- the unique identifier of this procedure to the given string.
-
setType
Sets the type of this procedure.- Parameters:
aType
- Either SID, STAR or IAP.
-
setAerodrome
Sets theILcdAerodrome
associated with this procedure.- Parameters:
aAerodrome
- theILcdAerodrome
associated with this procedure.
-
addLeg
Adds a leg to this procedure.- Parameters:
aLeg
- the leg to be added.
-
removeLeg
Removes the specified leg from this procedure.- Parameters:
aLeg
- the leg to be removed.- Returns:
- true if the leg was successfully removed.
-
insertSegmentAt
Inserts the given leg into the procedure at the specified index.- Parameters:
aLeg
- the leg to be added.aIndex
- the index at which to insert the new leg.
-