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 DataModel
get()
The data model containing the data type of military symbols.static DataPropertyPath
Returns the property path to the geometry property.static DataPropertyPath
Returns the property path for the given modifier, ornull
if the modifier is an SIDC modifier.static DataPropertyPath
Returns the property path to the SIDC property.static DataPropertyPath
Returns the property path to the symbology property.static DataType
Returns 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, ornull
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.
-