Interface ILcdEditableRoute

All Superinterfaces:
Cloneable, ILcdBounded, ILcdCloneable, ILcdDataObject, ILcdRoute, ILcdShape, ILcdShapeList, Serializable
All Known Subinterfaces:
ILcdEditableATSRoute, ILcdEditableMilitaryTrainingRoute
All Known Implementing Classes:
TLcdATSRoute, TLcdFeaturedATSRoute, TLcdFeaturedMilitaryTrainingRoute, TLcdMilitaryTrainingRoute, TLcdSegmentBasedRoute

public interface ILcdEditableRoute extends ILcdRoute
This interface is an extension of the ILcdRoute interface that allows to change the attributes, relationships and geometry of a route.

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 Details

    • insertSegmentAt

      int insertSegmentAt(ILcdRouteSegment aSegment, int aIndex)
      Adds a segment to this route at the specified index.
      Parameters:
      aSegment - the ILcdRouteSegment to be added.
      aIndex - the index at which the segment is to be inserted
      Returns:
      the position of the added segment in this route
    • addSegmentBySequenceNumber

      int addSegmentBySequenceNumber(ILcdRouteSegment aSegment)
      Adds a segment to this route. The position at which the segment is inserted is determined by looking at the segment's sequence number.
      Parameters:
      aSegment - the ILcdRouteSegment to be added.
      Returns:
      the position of the added segment in this route
    • removeSegment

      void removeSegment(ILcdRouteSegment aSegment)
      Removes a ILcdRouteSegment object from this route.
      Parameters:
      aSegment - the ILcdRouteSegment object to be removed
    • removeSegmentAt

      void removeSegmentAt(int anIndex)
      Removes the ILcdRouteSegment object on the specified index from the ILcdEditableRoute.
      Parameters:
      anIndex - the index in the ILcdEditableRoute where the ILcdRouteSegment object must be removed