Package org.apache.sis.parameter
Class MapProjectionParameters.IsIvfDefinitive
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.parameter.DefaultParameterValue<Boolean>
org.apache.sis.parameter.MapProjectionParameters.IsIvfDefinitive
- All Implemented Interfaces:
Serializable
,Cloneable
,LenientComparable
,org.opengis.parameter.GeneralParameterValue
,org.opengis.parameter.ParameterValue<Boolean>
- Enclosing class:
- MapProjectionParameters
Whether the inverse flattening parameter is definitive.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final org.opengis.parameter.ParameterDescriptor<Boolean>
All names known to Apache SIS for the "is IVF definitive" parameter.private final MapProjectionParameters.InverseFlattening
The parameters for the inverse flattening factor.private static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.parameter.DefaultParameterValue
unit, value
-
Constructor Summary
ConstructorsConstructorDescriptionIsIvfDefinitive
(MapProjectionParameters.InverseFlattening inverseFlattening) Creates a new parameter. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Invoked when the parameter value is requested.getValue()
Getters other than the abovebooleanValue()
delegate to this method.protected void
Invoked when a new parameter value is set.Methods inherited from class org.apache.sis.parameter.DefaultParameterValue
clone, doubleValue, doubleValue, doubleValueList, doubleValueList, equals, equals, formatTo, getDescriptor, getUnit, hashCode, intValue, intValueList, setDescriptor, setValue, setValue, setValue, setValue, setValue, setValue, stringValue, unmodifiable, validate, valueFile
Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility. Actually instances of this class are not expected to be serialized, but we try to be a bit safer here.- See Also:
-
DESCRIPTOR
All names known to Apache SIS for the "is IVF definitive" parameter. This is not a standard parameter. -
inverseFlattening
The parameters for the inverse flattening factor.
-
-
Constructor Details
-
IsIvfDefinitive
IsIvfDefinitive(MapProjectionParameters.InverseFlattening inverseFlattening) Creates a new parameter.
-
-
Method Details
-
setValue
Invoked when a new parameter value is set.- Overrides:
setValue
in classDefaultParameterValue<Boolean>
- Parameters:
value
- the parameter value, ornull
to restore the default.unit
- the unit associated to the new parameter value, ornull
.- See Also:
-
booleanValue
public boolean booleanValue()Invoked when the parameter value is requested.- Specified by:
booleanValue
in interfaceorg.opengis.parameter.ParameterValue<Boolean>
- Overrides:
booleanValue
in classDefaultParameterValue<Boolean>
- Returns:
- the boolean value represented by this parameter.
- See Also:
-
getValue
Getters other than the abovebooleanValue()
delegate to this method.- Specified by:
getValue
in interfaceorg.opengis.parameter.ParameterValue<Boolean>
- Overrides:
getValue
in classDefaultParameterValue<Boolean>
- Returns:
- the parameter value as an object, or
null
if no value has been set and there is no default value. - See Also:
-