Class ILfnCustomPropertyDecoder.CustomPropertiesWithSource

java.lang.Object
com.luciad.fusion.platform.model.properties.ILfnCustomPropertyDecoder.CustomPropertiesWithSource
Enclosing interface:
ILfnCustomPropertyDecoder

public static class ILfnCustomPropertyDecoder.CustomPropertiesWithSource extends Object
A TLfnCustomProperty collection paired with the additional source files from which they were decoded.

Custom properties can be decoded from two possible sources: the ISO metadata or additional source files. This class not only holds the custom properties, it also contains a list of TLcdModelMetadata.Source objects pointing to the additional source files used by the decoder. For custom properties decoded from the ISO metadata, no additional source files are added. For custom properties stored inside additional files, the list contains one TLcdModelMetadata.Source object per additional source file.

Since:
2022.1
  • Constructor Details

    • CustomPropertiesWithSource

      public CustomPropertiesWithSource(Collection<TLfnCustomProperty> aCustomProperties)
      Creates a new CustomPropertiesWithSource instance for the given TLfnCustomProperty collection. The result has an empty list of additional source files.
      Parameters:
      aCustomProperties - the collection of custom properties
    • CustomPropertiesWithSource

      public CustomPropertiesWithSource(Collection<TLfnCustomProperty> aCustomProperties, List<TLcdModelMetadata.Source> aSources)
      Creates a new CustomPropertiesWithSource instance for the given TLfnCustomProperty collection and given list of additional source files.
      Parameters:
      aCustomProperties - the collection of custom properties
      aSources - the list of additional source files
  • Method Details

    • getCustomProperties

      public Collection<TLfnCustomProperty> getCustomProperties()
      Returns the collection of custom properties.
    • getSources

      public List<TLcdModelMetadata.Source> getSources()
      Returns the list of additional source files from which the custom properties were decoded.