Package org.n52.shetland.ogc.om.values
Class RectifiedGridCoverage
- java.lang.Object
-
- org.n52.shetland.ogc.om.values.RectifiedGridCoverage
-
- All Implemented Interfaces:
DiscreteCoverage<SortedMap<ComparableValue<?,?>,Value<?>>>,Value<SortedMap<ComparableValue<?,?>,Value<?>>>
public class RectifiedGridCoverage extends Object implements DiscreteCoverage<SortedMap<ComparableValue<?,?>,Value<?>>>
Class that represents a rectified grid coverage- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description RectifiedGridCoverage(String gmlId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X,E extends Exception>
Xaccept(ValueVisitor<X,E> visitor)voidaddValue(Double from, Double to, Value<?> value)voidaddValue(Double key, Value<?> value)voidaddValue(BigDecimal from, BigDecimal to, Value<?> value)voidaddValue(SortedMap<ComparableValue<?,?>,Value<?>> value)voidaddValue(ComparableValue<?,?> key, Value<?> value)List<ComparableValue<?,?>>getDomainSet()Get the domainSetStringgetGmlId()StringgetRangeParameters()Collection<Value<?>>getRangeSet()StringgetUnit()Get the unit of measureUoMgetUnitObject()Get the unit of measure objectSortedMap<ComparableValue<?,?>,Value<?>>getValue()Get the measurement valuebooleanisSetRangeParameters()booleanisSetUnit()Check whether the unit of measure is setbooleanisSetValue()Check whether the value is setvoidsetRangeParameters(String rangeParameters)voidsetUnit(String unit)Set the unit of measureRectifiedGridCoveragesetUnit(UoM unit)Set the unit of measure objectRectifiedGridCoveragesetValue(SortedMap<ComparableValue<?,?>,Value<?>> value)Set the measurment value
-
-
-
Constructor Detail
-
RectifiedGridCoverage
public RectifiedGridCoverage(String gmlId)
-
-
Method Detail
-
getGmlId
public String getGmlId()
- Specified by:
getGmlIdin interfaceDiscreteCoverage<SortedMap<ComparableValue<?,?>,Value<?>>>
-
setValue
public RectifiedGridCoverage setValue(SortedMap<ComparableValue<?,?>,Value<?>> value)
Description copied from interface:ValueSet the measurment value- Specified by:
setValuein interfaceValue<SortedMap<ComparableValue<?,?>,Value<?>>>- Parameters:
value- Value to set
-
addValue
public void addValue(ComparableValue<?,?> key, Value<?> value)
-
addValue
public void addValue(SortedMap<ComparableValue<?,?>,Value<?>> value)
-
addValue
public void addValue(BigDecimal from, BigDecimal to, Value<?> value)
-
getValue
public SortedMap<ComparableValue<?,?>,Value<?>> getValue()
Description copied from interface:ValueGet the measurement value- Specified by:
getValuein interfaceValue<SortedMap<ComparableValue<?,?>,Value<?>>>- Returns:
- Measurement value
-
setUnit
public void setUnit(String unit)
Description copied from interface:ValueSet the unit of measure- Specified by:
setUnitin interfaceValue<SortedMap<ComparableValue<?,?>,Value<?>>>- Parameters:
unit- Unit of measure
-
setUnit
public RectifiedGridCoverage setUnit(UoM unit)
Description copied from interface:ValueSet the unit of measure object- Specified by:
setUnitin interfaceValue<SortedMap<ComparableValue<?,?>,Value<?>>>- Parameters:
unit- Unit of measure
-
getUnit
public String getUnit()
Description copied from interface:ValueGet the unit of measure- Specified by:
getUnitin interfaceValue<SortedMap<ComparableValue<?,?>,Value<?>>>- Returns:
- Unit of measure
-
getUnitObject
public UoM getUnitObject()
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<SortedMap<ComparableValue<?,?>,Value<?>>>- Returns:
- Unit of measure
-
isSetUnit
public boolean isSetUnit()
Description copied from interface:ValueCheck whether the unit of measure is set- Specified by:
isSetUnitin interfaceValue<SortedMap<ComparableValue<?,?>,Value<?>>>- Returns:
true, if unit of measure is set
-
isSetValue
public boolean isSetValue()
Description copied from interface:ValueCheck whether the value is set- Specified by:
isSetValuein interfaceValue<SortedMap<ComparableValue<?,?>,Value<?>>>- Returns:
true, if value is set
-
accept
public <X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
-
getDomainSet
public List<ComparableValue<?,?>> getDomainSet()
Get the domainSet- Returns:
- The domainSet as
ComparableValueList
-
getRangeSet
public Collection<Value<?>> getRangeSet()
- Specified by:
getRangeSetin interfaceDiscreteCoverage<SortedMap<ComparableValue<?,?>,Value<?>>>
-
getRangeParameters
public String getRangeParameters()
- Specified by:
getRangeParametersin interfaceDiscreteCoverage<SortedMap<ComparableValue<?,?>,Value<?>>>- Returns:
- the rangeParameters
-
setRangeParameters
public void setRangeParameters(String rangeParameters)
- Specified by:
setRangeParametersin interfaceDiscreteCoverage<SortedMap<ComparableValue<?,?>,Value<?>>>- Parameters:
rangeParameters- the rangeParameters to set
-
isSetRangeParameters
public boolean isSetRangeParameters()
- Specified by:
isSetRangeParametersin interfaceDiscreteCoverage<SortedMap<ComparableValue<?,?>,Value<?>>>
-
-