Package org.n52.shetland.ogc.om.values
Class ProfileValue
- java.lang.Object
-
- org.n52.shetland.ogc.gml.AbstractGML
-
- org.n52.shetland.ogc.gml.AbstractFeature
-
- org.n52.shetland.ogc.om.values.ProfileValue
-
- All Implemented Interfaces:
HasDefaultEncoding<AbstractFeature>,Value<List<ProfileLevel>>
public class ProfileValue extends AbstractFeature implements Value<List<ProfileLevel>>
Represents the GroundWaterML 2.0 GW_GeologyLogCoverage- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description ProfileValue(String identifier)ProfileValue(CodeWithAuthority identifier)ProfileValue(CodeWithAuthority identifier, String gmlId)
-
Method Summary
-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncoded
-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractGML
addMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, equals, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setName
-
-
-
-
Constructor Detail
-
ProfileValue
public ProfileValue(String identifier)
-
ProfileValue
public ProfileValue(CodeWithAuthority identifier)
-
ProfileValue
public ProfileValue(CodeWithAuthority identifier, String gmlId)
-
-
Method Detail
-
setValue
public ProfileValue setValue(List<ProfileLevel> value)
Description copied from interface:ValueSet the measurment value- Specified by:
setValuein interfaceValue<List<ProfileLevel>>- Parameters:
value- Value to set
-
addValue
public ProfileValue addValue(ProfileLevel value)
-
addValues
public ProfileValue addValues(List<ProfileLevel> value)
-
getValue
public List<ProfileLevel> getValue()
Description copied from interface:ValueGet the measurement value- Specified by:
getValuein interfaceValue<List<ProfileLevel>>- Returns:
- Measurement value
-
setUnit
public void setUnit(String unit)
Description copied from interface:ValueSet the unit of measure- Specified by:
setUnitin interfaceValue<List<ProfileLevel>>- Parameters:
unit- Unit of measure
-
setUnit
public ProfileValue setUnit(UoM unit)
Description copied from interface:ValueSet the unit of measure object- Specified by:
setUnitin interfaceValue<List<ProfileLevel>>- Parameters:
unit- Unit of measure
-
getUnit
public String getUnit()
Description copied from interface:ValueGet the unit of measure- Specified by:
getUnitin interfaceValue<List<ProfileLevel>>- Returns:
- Unit of measure
-
getUnitObject
public UoM getUnitObject()
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<List<ProfileLevel>>- Returns:
- Unit of measure
-
isSetUnit
public boolean isSetUnit()
Description copied from interface:ValueCheck whether the unit of measure is set- Specified by:
isSetUnitin interfaceValue<List<ProfileLevel>>- 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<List<ProfileLevel>>- Returns:
true, if value is set
-
getFromLevel
public QuantityValue getFromLevel()
- Returns:
- the fromLevel
-
setFromLevel
public ProfileValue setFromLevel(QuantityValue fromLevel)
- Parameters:
fromLevel- the fromLevel to set
-
isSetFromLevel
public boolean isSetFromLevel()
-
isFromLevel
public boolean isFromLevel()
-
getToLevel
public QuantityValue getToLevel()
- Returns:
- the toLevel
-
setToLevel
public ProfileValue setToLevel(QuantityValue toLevel)
- Parameters:
toLevel- the toLevel to set
-
isSetToLevel
public boolean isSetToLevel()
-
getDefaultElementEncoding
public String getDefaultElementEncoding()
- Specified by:
getDefaultElementEncodingin interfaceHasDefaultEncoding<AbstractFeature>- Overrides:
getDefaultElementEncodingin classAbstractFeature
-
accept
public <X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
- Specified by:
acceptin interfaceValue<List<ProfileLevel>>- Throws:
E extends Exception
-
asDataRecord
public SweDataRecord asDataRecord()
-
isSetPhenomenonTime
public boolean isSetPhenomenonTime()
-
getPhenomenonTime
public Time getPhenomenonTime()
-
isSetGeometry
public boolean isSetGeometry()
-
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()
-
getLevelFromToAsParameter
public Collection<NamedValue<?>> getLevelFromToAsParameter()
-
-