public class TLcdAIXM51ModelDescriptor extends TLcdDataModelDescriptor
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
.
TLcdAIXM51AbstractAIXMMessage
,
TLcdAIXM51AbstractAIXMFeature
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
TYPE_NAME
The type name of this model descriptor, which is set to "AIXM 5.1".
|
Constructor and Description |
---|
TLcdAIXM51ModelDescriptor(String aSourceName,
String aDisplayName,
TLcdDataModel aDataModel)
Constructs a new
TLcdAIXM51ModelDescriptor with the given arguments. |
TLcdAIXM51ModelDescriptor(String aSourceName,
String aDisplayName,
TLcdDataModel aDataModel,
Set<TLcdDataType> aFeatureTypes)
Constructs a new
TLcdAIXM51ModelDescriptor with the given arguments. |
TLcdAIXM51ModelDescriptor(String aSourceName,
String aDisplayName,
TLcdDataType aFeatureType)
Constructs a new
TLcdAIXM51ModelDescriptor with the given arguments. |
TLcdAIXM51ModelDescriptor(TLcdDataModel aDataModel)
Constructs a new
TLcdAIXM51ModelDescriptor . |
Modifier and Type | Method and Description |
---|---|
String |
getSourceName()
Returns the full name that uniquely identifies the data source.
|
boolean |
isSnapshotModel()
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.
|
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelElementTypes, getModelTypes, isAnnotationPresent, removeAnnotation
getDisplayName, getTypeName, setDisplayName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getTypeName
public static final String TYPE_NAME
public TLcdAIXM51ModelDescriptor(TLcdDataModel aDataModel)
TLcdAIXM51ModelDescriptor
.aDataModel
- the data model containing all types used in the model of this descriptorpublic TLcdAIXM51ModelDescriptor(String aSourceName, String aDisplayName, TLcdDataModel aDataModel)
TLcdAIXM51ModelDescriptor
with the given arguments.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 descriptorpublic TLcdAIXM51ModelDescriptor(String aSourceName, String aDisplayName, TLcdDataType aFeatureType)
TLcdAIXM51ModelDescriptor
with the given arguments.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.public TLcdAIXM51ModelDescriptor(String aSourceName, String aDisplayName, TLcdDataModel aDataModel, Set<TLcdDataType> aFeatureTypes)
TLcdAIXM51ModelDescriptor
with the given arguments.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.public boolean isSnapshotModel()
The default value is false.
TLcdAIXM51MessageUtil.generateSnapshot(TLcdAIXM51AbstractAIXMMessage, Date)
public void setIsSnapshotModel(boolean aIsSnapshotModel)
aIsSnapshotModel
- boolean indicating whether the model associated with this descriptor should
be treated as an AIXM 5.1 message containing snapshot timeslices.public String getSourceName()
ILcdModelDescriptor
getSourceName
in interface ILcdModelDescriptor
getSourceName
in class TLcdModelDescriptor
public void setSourceName(String aSystemId)
setSourceName
in class TLcdModelDescriptor
aSystemId
- the source name to set