public interface ILcdEditableProcedure extends ILcdProcedure
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.
Modifier and Type | Method and Description |
---|---|
void |
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 the
ILcdAerodrome 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.
|
cloneAsEditableProcedure, getAerodrome, getDesignator, getLeg, getLegCount, getType
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
void setDesignator(String aDesignator)
aDesignator
- the unique identifier of this procedure to the given string.void setType(TLcdProcedureType aType)
aType
- Either SID, STAR or IAP.void setAerodrome(ILcdAerodrome aAerodrome)
ILcdAerodrome
associated with this procedure.aAerodrome
- the ILcdAerodrome
associated with this procedure.void addLeg(ILcdProcedureLeg aLeg)
aLeg
- the leg to be added.boolean removeLeg(ILcdProcedureLeg aLeg)
aLeg
- the leg to be removed.void insertSegmentAt(ILcdProcedureLeg aLeg, int aIndex)
aLeg
- the leg to be added.aIndex
- the index at which to insert the new leg.