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 TypeMethodDescriptionvoidaddAirspaceAssociation(ILcdAirspaceAssociation aAirspaceAssociation) Adds anILcdAirspaceAssociationobject to theILcdAssociationBasedAirspaceobject.voidremoveAirspaceAssociation(ILcdAirspaceAssociation aAirspaceAssociation) Removes anILcdAirspaceAssociationobject from theILcdAssociationBasedAirspaceobject.voidremoveAirspaceAssociationAt(int aIndex) Removes theILcdAirspaceAssociationobject on the specified index from theILcdAssociationBasedAirspace.Methods inherited from interface com.luciad.ais.model.airspace.ILcdAssociationBasedAirspace
getAirspaceAssociation, getAirspaceAssociationCountMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValueMethods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPointMethods inherited from interface com.luciad.shape.ILcdShapeList
getShape, getShapeCount
-
Method Details
-
addAirspaceAssociation
Adds anILcdAirspaceAssociationobject to theILcdAssociationBasedAirspaceobject. Note that there is no explicit check fornullassociations, which leave the airspace in an invalid state.- Parameters:
aAirspaceAssociation- AnILcdAirspaceAssociationobject for theILcdAssociationBasedAirspaceobject
-
removeAirspaceAssociation
Removes anILcdAirspaceAssociationobject from theILcdAssociationBasedAirspaceobject. If this airspace does not contain the association or ifnullis supplied, it is unchanged. If the association is found and removed, subsequent associations are shifted to the left.- Parameters:
aAirspaceAssociation- theILcdAirspaceAssociationobject to be removed.
-
removeAirspaceAssociationAt
void removeAirspaceAssociationAt(int aIndex) Removes theILcdAirspaceAssociationobject on the specified index from theILcdAssociationBasedAirspace. Subsequent associations are shifted to the left after the removal.- Parameters:
aIndex- the index in theILcdEditableAssociationBasedAirspacewhere theILcdAirspaceAssociationobject must be removed.- Throws:
ArrayIndexOutOfBoundsException- if the index is out of range (index < 0 || index >= getAirspaceAssociationCount()).
-