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. UninitializedParameter
s are replaced by the
actual parameter when first needed.- Since:
- 0.4
- Version:
- 0.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.opengis.parameter.GeneralParameterDescriptor
The descriptor of the parameter to initialize.private static final long
For cross-version serialization compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionUninitializedParameter
(org.opengis.parameter.GeneralParameterDescriptor descriptor) Creates a newUninitializedParameter
for the given descriptor. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.parameter.GeneralParameterValue
clone()
Returnsthis
since there is no need to clone this object.org.opengis.parameter.GeneralParameterDescriptor
Returns 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 newUninitializedParameter
for the given descriptor.
-
-
Method Details
-
getDescriptor
public org.opengis.parameter.GeneralParameterDescriptor getDescriptor()Returns the descriptor of the parameter to initialize.- Specified by:
getDescriptor
in interfaceorg.opengis.parameter.GeneralParameterValue
-
clone
public org.opengis.parameter.GeneralParameterValue clone()Returnsthis
since there is no need to clone this object. This method is required byGeneralParameterValue
interface. -
toString
Returns a string representation of this parameter.
-