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.InverseFlatteningThe parameters for the inverse flattening factor.private static final longFor 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 TypeMethodDescriptionbooleanInvoked when the parameter value is requested.getValue()Getters other than the abovebooleanValue()delegate to this method.protected voidInvoked 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, valueFileMethods 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:
setValuein classDefaultParameterValue<Boolean>- Parameters:
value- the parameter value, ornullto 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:
booleanValuein interfaceorg.opengis.parameter.ParameterValue<Boolean>- Overrides:
booleanValuein classDefaultParameterValue<Boolean>- Returns:
- the boolean value represented by this parameter.
- See Also:
-
getValue
Getters other than the abovebooleanValue()delegate to this method.- Specified by:
getValuein interfaceorg.opengis.parameter.ParameterValue<Boolean>- Overrides:
getValuein classDefaultParameterValue<Boolean>- Returns:
- the parameter value as an object, or
nullif no value has been set and there is no default value. - See Also:
-