Package org.apache.sis.parameter
Class UninitializedParameter
java.lang.Object
org.apache.sis.parameter.UninitializedParameter
- All Implemented Interfaces:
Serializable,org.opengis.parameter.GeneralParameterValue
final class UninitializedParameter
extends Object
implements org.opengis.parameter.GeneralParameterValue, Serializable
Placeholder for a mandatory parameter value which has not yet been initialized.
UninitializedParameter are immutable and contains only the descriptor of
the parameter to initialize. UninitializedParameters are replaced by the
actual parameter when first needed.- Since:
- 0.4
- Version:
- 0.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.opengis.parameter.GeneralParameterDescriptorThe descriptor of the parameter to initialize.private static final longFor cross-version serialization compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionUninitializedParameter(org.opengis.parameter.GeneralParameterDescriptor descriptor) Creates a newUninitializedParameterfor the given descriptor. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.parameter.GeneralParameterValueclone()Returnsthissince there is no need to clone this object.org.opengis.parameter.GeneralParameterDescriptorReturns the descriptor of the parameter to initialize.toString()Returns a string representation of this parameter.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version serialization compatibility.- See Also:
-
descriptor
private final org.opengis.parameter.GeneralParameterDescriptor descriptorThe descriptor of the parameter to initialize.
-
-
Constructor Details
-
UninitializedParameter
UninitializedParameter(org.opengis.parameter.GeneralParameterDescriptor descriptor) Creates a newUninitializedParameterfor the given descriptor.
-
-
Method Details
-
getDescriptor
public org.opengis.parameter.GeneralParameterDescriptor getDescriptor()Returns the descriptor of the parameter to initialize.- Specified by:
getDescriptorin interfaceorg.opengis.parameter.GeneralParameterValue
-
clone
public org.opengis.parameter.GeneralParameterValue clone()Returnsthissince there is no need to clone this object. This method is required byGeneralParameterValueinterface. -
toString
Returns a string representation of this parameter.
-