Package com.luciad.symbology.military
Class MilitaryDataModel
java.lang.Object
com.luciad.symbology.military.MilitaryDataModel
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 Summary
Modifier and TypeMethodDescriptionstatic DataModelget()The data model containing the data type of military symbols.static DataPropertyPathReturns the property path to the geometry property.static DataPropertyPathReturns the property path for the given modifier, ornullif the modifier is an SIDC modifier.static DataPropertyPathReturns the property path to the SIDC property.static DataPropertyPathReturns the property path to the symbology property.static DataTypeReturns the data type of military symbols.
-
Method Details
-
get
The data model containing the data type of military symbols.- Returns:
- the data model containing the data type of military symbols.
-
getSymbolType
Returns the data type of military symbols.- Returns:
- the data type of military symbols.
-
getSymbologyPropertyPath
Returns the property path to the symbology property.- Returns:
- the property path to the symbology property.
-
getSidcPropertyPath
Returns the property path to the SIDC property.- Returns:
- the property path to the SIDC property.
-
getGeometryPropertyPath
Returns the property path to the geometry property.- Returns:
- the property path to the geometry property.
-
getModifierPropertyPath
@Nullable public static DataPropertyPath getModifierPropertyPath(@NotNull MilitarySymbol.Modifier modifier) Returns the property path for the given modifier, ornullif 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
nullif the modifier is an SIDC modifier.
-