Class TLcdNVG15ModelDescriptor

All Implemented Interfaces:
ILcdAnnotatedElement, ILcdDataModelDescriptor, ILcdModelDescriptor, Serializable

public class TLcdNVG15ModelDescriptor extends TLcdNVGModelDescriptor
Model descriptor for NVG 1.4/1.5 data.
Since:
2015.0
See Also:
  • Field Details

    • TYPE_NAME

      public static final String TYPE_NAME
      Type name identifying the NVG 1.5 format type.
      Since:
      2018.0
      See Also:
  • Constructor Details

    • TLcdNVG15ModelDescriptor

      public TLcdNVG15ModelDescriptor(String aSourceName)
      Creates a new TLcdNVG15ModelDescriptor, initialized with the specified source name.
      Parameters:
      aSourceName - the full name that uniquely identifies the data source from which this descriptor's model was decoded.
    • TLcdNVG15ModelDescriptor

      public TLcdNVG15ModelDescriptor(String aSourceName, String aDisplayName)
      Creates a new TLcdNVG15ModelDescriptor, initialized with the specified source name.
      Parameters:
      aSourceName - the full name that uniquely identifies the data source from which this descriptor's model was decoded.
      aDisplayName - a displayable name for the model.
  • Method Details

    • getModelElementTypes

      public Set<TLcdDataType> getModelElementTypes()
      Description copied from interface: ILcdDataModelDescriptor

      Returns a set containing all the data types of which instances can be elements in the model associated with this descriptor. Implementations are free to limit the result to only include the types of which there are actually elements in the model; but they are not required to do so.

      Implementations should return null in case they don't know which element types are present in the model.

      For each element of the model associated with this model descriptor, the following holds true : getModelElementTypes().contains( element.getDataType() ).

      Specified by:
      getModelElementTypes in interface ILcdDataModelDescriptor
      Overrides:
      getModelElementTypes in class TLcdDataModelDescriptor
      Returns:
      a set containing all the data types of which instances can be elements in the model associated with this descriptor