Package org.n52.shetland.ogc.om.values
Class MultiPointCoverage
- java.lang.Object
-
- org.n52.shetland.ogc.om.values.MultiPointCoverage
-
- All Implemented Interfaces:
DiscreteCoverage<List<PointValuePair>>,Value<List<PointValuePair>>
public class MultiPointCoverage extends Object implements DiscreteCoverage<List<PointValuePair>>
Class that represents a multi point coverage- Since:
- 1.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiPointCoverage.PointValueListsElement that holdsPoints andValues
-
Constructor Summary
Constructors Constructor Description MultiPointCoverage(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(PointValuePair value)Add time value pair valuevoidaddValues(List<PointValuePair> values)Add time value pair valuesorg.locationtech.jts.geom.PolygongetExtent()Get the extent of allPointsStringgetGmlId()MultiPointCoverage.PointValueListsgetPointValue()StringgetRangeParameters()List<Value<?>>getRangeSet()StringgetUnit()Get the unit of measureUoMgetUnitObject()Get the unit of measure objectList<PointValuePair>getValue()Get the measurement valuebooleanisSetRangeParameters()booleanisSetValue()Check whether the value is setvoidsetRangeParameters(String rangeParameters)voidsetUnit(String unit)Set the unit of measureMultiPointCoveragesetUnit(UoM unit)Set the unit of measure objectMultiPointCoveragesetValue(List<PointValuePair> value)Set the measurment value
-
-
-
Constructor Detail
-
MultiPointCoverage
public MultiPointCoverage(String gmlId)
-
-
Method Detail
-
getGmlId
public String getGmlId()
- Specified by:
getGmlIdin interfaceDiscreteCoverage<List<PointValuePair>>
-
getValue
public List<PointValuePair> getValue()
Description copied from interface:ValueGet the measurement value- Specified by:
getValuein interfaceValue<List<PointValuePair>>- Returns:
- Measurement value
-
getPointValue
public MultiPointCoverage.PointValueLists getPointValue()
-
setValue
public MultiPointCoverage setValue(List<PointValuePair> value)
Description copied from interface:ValueSet the measurment value- Specified by:
setValuein interfaceValue<List<PointValuePair>>- Parameters:
value- Value to set
-
addValue
public void addValue(PointValuePair value)
Add time value pair value- Parameters:
value- Time value pair value to add
-
addValues
public void addValues(List<PointValuePair> values)
Add time value pair values- Parameters:
values- Time value pair values to add
-
setUnit
public void setUnit(String unit)
Description copied from interface:ValueSet the unit of measure- Specified by:
setUnitin interfaceValue<List<PointValuePair>>- Parameters:
unit- Unit of measure
-
setUnit
public MultiPointCoverage setUnit(UoM unit)
Description copied from interface:ValueSet the unit of measure object- Specified by:
setUnitin interfaceValue<List<PointValuePair>>- Parameters:
unit- Unit of measure
-
getUnit
public String getUnit()
Description copied from interface:ValueGet the unit of measure- Specified by:
getUnitin interfaceValue<List<PointValuePair>>- Returns:
- Unit of measure
-
getUnitObject
public UoM getUnitObject()
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<List<PointValuePair>>- Returns:
- Unit of measure
-
isSetValue
public boolean isSetValue()
Description copied from interface:ValueCheck whether the value is set- Specified by:
isSetValuein interfaceValue<List<PointValuePair>>- Returns:
true, if value is set
-
getExtent
public org.locationtech.jts.geom.Polygon getExtent()
Get the extent of allPoints- Returns:
- The extent as
Polygon
-
getRangeSet
public List<Value<?>> getRangeSet()
- Specified by:
getRangeSetin interfaceDiscreteCoverage<List<PointValuePair>>
-
getRangeParameters
public String getRangeParameters()
- Specified by:
getRangeParametersin interfaceDiscreteCoverage<List<PointValuePair>>- Returns:
- the rangeParameters
-
setRangeParameters
public void setRangeParameters(String rangeParameters)
- Specified by:
setRangeParametersin interfaceDiscreteCoverage<List<PointValuePair>>- Parameters:
rangeParameters- the rangeParameters to set
-
isSetRangeParameters
public boolean isSetRangeParameters()
- Specified by:
isSetRangeParametersin interfaceDiscreteCoverage<List<PointValuePair>>
-
accept
public <X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
- Specified by:
acceptin interfaceValue<List<PointValuePair>>- Throws:
E extends Exception
-
-