Package com.luciad.format.aixm51.model
Class TLcdAIXM51ModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdDataModelDescriptor
com.luciad.format.aixm51.model.TLcdAIXM51ModelDescriptor
- All Implemented Interfaces:
ILcdAnnotatedElement
,ILcdDataModelDescriptor
,ILcdModelDescriptor
,Serializable
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 Summary
-
Constructor Summary
ConstructorDescriptionTLcdAIXM51ModelDescriptor
(TLcdDataModel aDataModel) Constructs a newTLcdAIXM51ModelDescriptor
.TLcdAIXM51ModelDescriptor
(String aSourceName, String aDisplayName, TLcdDataModel aDataModel) Constructs a newTLcdAIXM51ModelDescriptor
with the given arguments.TLcdAIXM51ModelDescriptor
(String aSourceName, String aDisplayName, TLcdDataModel aDataModel, Set<TLcdDataType> aFeatureTypes) Constructs a newTLcdAIXM51ModelDescriptor
with the given arguments.TLcdAIXM51ModelDescriptor
(String aSourceName, String aDisplayName, TLcdDataType aFeatureType) Constructs a newTLcdAIXM51ModelDescriptor
with the given arguments. -
Method Summary
Modifier and TypeMethodDescriptionReturns the full name that uniquely identifies the data source.boolean
Returns true if the model associated with this descriptor is an AIXM 5.1 message containing only snapshot timeslices.void
setIsSnapshotModel
(boolean aIsSnapshotModel) Sets whether the model associated with this descriptor is an AIXM 5.1 message containing only snapshot timeslices.void
setSourceName
(String aSystemId) Sets the source name for this descriptor.Methods inherited from class com.luciad.model.TLcdDataModelDescriptor
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelElementTypes, getModelTypes, isAnnotationPresent, removeAnnotation
Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getTypeName, setDisplayName, setTypeName, sourceNameToDisplayName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getTypeName
-
Field Details
-
TYPE_NAME
The type name of this model descriptor, which is set to "AIXM 5.1".- See Also:
-
-
Constructor Details
-
TLcdAIXM51ModelDescriptor
Constructs a newTLcdAIXM51ModelDescriptor
.- Parameters:
aDataModel
- the data model containing all types used in the model of this descriptor
-
TLcdAIXM51ModelDescriptor
Constructs a newTLcdAIXM51ModelDescriptor
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 newTLcdAIXM51ModelDescriptor
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 newTLcdAIXM51ModelDescriptor
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 descriptoraFeatureTypes
- 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
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 interfaceILcdModelDescriptor
- Overrides:
getSourceName
in classTLcdModelDescriptor
- Returns:
- the full name of the data source.
-
setSourceName
Sets the source name for this descriptor.- Overrides:
setSourceName
in classTLcdModelDescriptor
- Parameters:
aSystemId
- the source name to set
-