Class MilitaryDataModel

java.lang.Object
com.luciad.symbology.military.MilitaryDataModel

public final class MilitaryDataModel extends Object
Provides the data model and type of military symbols, as well as the relevant data property paths.

Instances of MilitarySymbol can be converted to Features with this data type using MilitarySymbol#copyToFeature. Converting a Feature back into a MilitarySymbol can be done with MilitarySymbol#create.

  • Method Details Link icon

    • get Link icon

      @NotNull public static DataModel get()
      The data model containing the data type of military symbols.
      Returns:
      the data model containing the data type of military symbols.
    • getSymbolType Link icon

      @NotNull public static DataType getSymbolType()
      Returns the data type of military symbols.
      Returns:
      the data type of military symbols.
    • getSymbologyPropertyPath Link icon

      @NotNull public static DataPropertyPath getSymbologyPropertyPath()
      Returns the property path to the symbology property.
      Returns:
      the property path to the symbology property.
    • getSidcPropertyPath Link icon

      @NotNull public static DataPropertyPath getSidcPropertyPath()
      Returns the property path to the SIDC property.
      Returns:
      the property path to the SIDC property.
    • getGeometryPropertyPath Link icon

      @NotNull public static DataPropertyPath getGeometryPropertyPath()
      Returns the property path to the geometry property.
      Returns:
      the property path to the geometry property.
    • getModifierPropertyPath Link icon

      @Nullable public static DataPropertyPath getModifierPropertyPath(@NotNull MilitarySymbol.Modifier modifier)
      Returns the property path for the given modifier, or null if the modifier is an SIDC modifier.

      SIDC modifiers do not have a separate property, because they are encoded in the SIDC property.

      Parameters:
      modifier - the modifier for which to return the property path.
      Returns:
      the property path for the given modifier, or null if the modifier is an SIDC modifier.