Package com.luciad.ais.model.airspace
Interface ILcdEditableAssociationBasedAirspace
- All Superinterfaces:
Cloneable
,ILcdAssociationBasedAirspace
,ILcdBounded
,ILcdCloneable
,ILcdDataObject
,ILcdGenericAirspace
,ILcdShape
,ILcdShapeList
,Serializable
- All Known Implementing Classes:
TLcdAssociationBasedAirspace
,TLcdFeaturedAssociationBasedAirspace
This interface defines operations to edit the attributes, relationships
and geometry of an
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.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAirspaceAssociation
(ILcdAirspaceAssociation aAirspaceAssociation) Adds anILcdAirspaceAssociation
object to theILcdAssociationBasedAirspace
object.void
removeAirspaceAssociation
(ILcdAirspaceAssociation aAirspaceAssociation) Removes anILcdAirspaceAssociation
object from theILcdAssociationBasedAirspace
object.void
removeAirspaceAssociationAt
(int aIndex) Removes theILcdAirspaceAssociation
object on the specified index from theILcdAssociationBasedAirspace
.Methods inherited from interface com.luciad.ais.model.airspace.ILcdAssociationBasedAirspace
getAirspaceAssociation, getAirspaceAssociationCount
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
Methods inherited from interface com.luciad.shape.ILcdShapeList
getShape, getShapeCount
-
Method Details
-
addAirspaceAssociation
Adds anILcdAirspaceAssociation
object to theILcdAssociationBasedAirspace
object. Note that there is no explicit check fornull
associations, which leave the airspace in an invalid state.- Parameters:
aAirspaceAssociation
- AnILcdAirspaceAssociation
object for theILcdAssociationBasedAirspace
object
-
removeAirspaceAssociation
Removes anILcdAirspaceAssociation
object from theILcdAssociationBasedAirspace
object. If this airspace does not contain the association or ifnull
is supplied, it is unchanged. If the association is found and removed, subsequent associations are shifted to the left.- Parameters:
aAirspaceAssociation
- theILcdAirspaceAssociation
object to be removed.
-
removeAirspaceAssociationAt
void removeAirspaceAssociationAt(int aIndex) Removes theILcdAirspaceAssociation
object on the specified index from theILcdAssociationBasedAirspace
. Subsequent associations are shifted to the left after the removal.- Parameters:
aIndex
- the index in theILcdEditableAssociationBasedAirspace
where theILcdAirspaceAssociation
object must be removed.- Throws:
ArrayIndexOutOfBoundsException
- if the index is out of range (index < 0 || index >= getAirspaceAssociationCount()).
-