Class TLcdAIXM51ModelDescriptor

All Implemented Interfaces:
ILcdAnnotatedElement, ILcdDataModelDescriptor, ILcdModelDescriptor, Serializable

public class TLcdAIXM51ModelDescriptor extends TLcdDataModelDescriptor
Model descriptor for AIXM 5.1 models.

An AIXM 5.1 model is a model that represents an AIXM 5.1 Abstract Message, and is modeled by the class TLcdAIXM51AbstractAIXMMessage. Examples of AIXM 5.1 Abstract Messages are a Basic Message or a Digital NOTAM. The model itself consists of AIXM 5.1 features, which are modeled by TLcdAIXM51AbstractAIXMFeature objects. These features represent real aeronautical entities, like airspaces or navaids.

This model descriptor implements ILcdAnnotatedElement. This enables it to store additional format-specific information, such as the locations of the schemas that were used for reading and interpreting the XML data and a NamespaceContext.

Since:
10.0
See Also:
  • Field Details

    • TYPE_NAME

      public static final String TYPE_NAME
      The type name of this model descriptor, which is set to "AIXM 5.1".
      See Also:
  • Constructor Details

    • TLcdAIXM51ModelDescriptor

      public TLcdAIXM51ModelDescriptor(TLcdDataModel aDataModel)
      Constructs a new TLcdAIXM51ModelDescriptor.
      Parameters:
      aDataModel - the data model containing all types used in the model of this descriptor
    • TLcdAIXM51ModelDescriptor

      public TLcdAIXM51ModelDescriptor(String aSourceName, String aDisplayName, TLcdDataModel aDataModel)
      Constructs a new TLcdAIXM51ModelDescriptor with the given arguments.
      Parameters:
      aSourceName - the name of the data source.
      aDisplayName - the display name of the data source.
      aDataModel - the data model containing all types used in the model of this descriptor
    • TLcdAIXM51ModelDescriptor

      public TLcdAIXM51ModelDescriptor(String aSourceName, String aDisplayName, TLcdDataType aFeatureType)
      Constructs a new TLcdAIXM51ModelDescriptor with the given arguments.
      Parameters:
      aSourceName - the name of the data source.
      aDisplayName - the display name of the data source.
      aFeatureType - the type of AIXM 5.1 features in the model associated with this descriptor.
    • TLcdAIXM51ModelDescriptor

      public TLcdAIXM51ModelDescriptor(String aSourceName, String aDisplayName, TLcdDataModel aDataModel, Set<TLcdDataType> aFeatureTypes)
      Constructs a new TLcdAIXM51ModelDescriptor with the given arguments.
      Parameters:
      aSourceName - the name of the data source.
      aDisplayName - the display name of the data source.
      aDataModel - the data model containing all types used in the model of this descriptor
      aFeatureTypes - the types of AIXM 5.1 features in the model associated with this descriptor.
  • Method Details

    • isSnapshotModel

      public boolean isSnapshotModel()
      Returns true if the model associated with this descriptor is an AIXM 5.1 message containing only snapshot timeslices.

      The default value is false.

      Returns:
      true if this is a descriptor for a snapshot model, false otherwise.
      See Also:
    • setIsSnapshotModel

      public void setIsSnapshotModel(boolean aIsSnapshotModel)
      Sets whether the model associated with this descriptor is an AIXM 5.1 message containing only snapshot timeslices.
      Parameters:
      aIsSnapshotModel - boolean indicating whether the model associated with this descriptor should be treated as an AIXM 5.1 message containing snapshot timeslices.
    • getSourceName

      public String getSourceName()
      Description copied from interface: ILcdModelDescriptor
      Returns the full name that uniquely identifies the data source. This can be the full file name for a file source, or the table name for a database source, for instance.
      Specified by:
      getSourceName in interface ILcdModelDescriptor
      Overrides:
      getSourceName in class TLcdModelDescriptor
      Returns:
      the full name of the data source.
    • setSourceName

      public void setSourceName(String aSystemId)
      Sets the source name for this descriptor.
      Overrides:
      setSourceName in class TLcdModelDescriptor
      Parameters:
      aSystemId - the source name to set