Package com.luciad.model
Class ILcdModelReferenceDecoder.ModelReferenceWithSource
java.lang.Object
com.luciad.model.ILcdModelReferenceDecoder.ModelReferenceWithSource
- Enclosing interface:
ILcdModelReferenceDecoder
A model reference paired with the source file from which it was decoded.
- Since:
- 2022.0
-
Constructor Summary
ConstructorDescriptionModelReferenceWithSource
(ILcdModelReference aModelReference) Creates a new model reference with an empty source, indicating that it is unknown or does not exist.ModelReferenceWithSource
(ILcdModelReference aModelReference, TLcdModelMetadata.Source aSource) Creates a new model reference with source. -
Method Summary
Modifier and TypeMethodDescriptionReturns the model reference.Returns the source file from which the model reference was decoded, or an empty optional, if the source is unknown or does not exist.
-
Constructor Details
-
ModelReferenceWithSource
Creates a new model reference with an empty source, indicating that it is unknown or does not exist.- Parameters:
aModelReference
- the model reference.
-
ModelReferenceWithSource
public ModelReferenceWithSource(ILcdModelReference aModelReference, TLcdModelMetadata.Source aSource) Creates a new model reference with source.- Parameters:
aModelReference
- the model reference.aSource
- the source file from which the model reference was decoded, or null if it is unknown or does not exist.
-
-
Method Details
-
getModelReference
Returns the model reference.- Returns:
- the model reference.
-
getSource
Returns the source file from which the model reference was decoded, or an empty optional, if the source is unknown or does not exist.- Returns:
- the source file from which the model reference was decoded, or an empty optional if the source is unknown or does not exist.
-