public interface ILcdEditableAssociationBasedAirspace extends ILcdAssociationBasedAirspace
ILcdAssociationBasedAirspace
.
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
return a specified default value for these new attributes or
relationships (for instance 'null'). This will require a minimal effort to update
existing code to a new version of AIS.Modifier and Type | Method and Description |
---|---|
void |
addAirspaceAssociation(ILcdAirspaceAssociation aAirspaceAssociation)
Adds an
ILcdAirspaceAssociation object to the ILcdAssociationBasedAirspace object. |
void |
removeAirspaceAssociation(ILcdAirspaceAssociation aAirspaceAssociation)
Removes an
ILcdAirspaceAssociation object from the ILcdAssociationBasedAirspace object. |
void |
removeAirspaceAssociationAt(int aIndex)
Removes the
ILcdAirspaceAssociation object on the specified index from the
ILcdAssociationBasedAirspace . |
getAirspaceAssociation, getAirspaceAssociationCount
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
getShape, getShapeCount
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
void addAirspaceAssociation(ILcdAirspaceAssociation aAirspaceAssociation)
ILcdAirspaceAssociation
object to the ILcdAssociationBasedAirspace
object.
Note that there is no explicit check for null
associations,
which leave the airspace in an invalid state.aAirspaceAssociation
- An ILcdAirspaceAssociation
object for the ILcdAssociationBasedAirspace
objectvoid removeAirspaceAssociation(ILcdAirspaceAssociation aAirspaceAssociation)
ILcdAirspaceAssociation
object from the ILcdAssociationBasedAirspace
object.
If this airspace does not contain the association or if null
is supplied,
it is unchanged. If the association is found and removed, subsequent associations are shifted to the left.aAirspaceAssociation
- the ILcdAirspaceAssociation
object to be removed.void removeAirspaceAssociationAt(int aIndex)
ILcdAirspaceAssociation
object on the specified index from the
ILcdAssociationBasedAirspace
. Subsequent associations are shifted to the left
after the removal.aIndex
- the index in the ILcdEditableAssociationBasedAirspace
where the
ILcdAirspaceAssociation
object must be removed.ArrayIndexOutOfBoundsException
- if the index is out of range (index
< 0 || index >= getAirspaceAssociationCount()).