Class SfSpecimen
- java.lang.Object
-
- org.n52.shetland.ogc.gml.AbstractGML
-
- org.n52.shetland.ogc.gml.AbstractFeature
-
- org.n52.shetland.ogc.om.features.samplingFeatures.AbstractSamplingFeature
-
- org.n52.shetland.ogc.om.features.samplingFeatures.SamplingFeature
-
- org.n52.shetland.ogc.om.features.samplingFeatures.SfSpecimen
-
- All Implemented Interfaces:
FeatureWith.FeatureWithEncode,FeatureWith.FeatureWithFeatureType,FeatureWith.FeatureWithGeometry,FeatureWith.FeatureWithUrl,HasDefaultEncoding<AbstractFeature>
public class SfSpecimen extends SamplingFeature
-
-
Constructor Summary
Constructors Constructor Description SfSpecimen(CodeWithAuthority featureIdentifier)SfSpecimen(CodeWithAuthority featureIdentifier, String gmlId)
-
Method Summary
-
Methods inherited from class org.n52.shetland.ogc.om.features.samplingFeatures.SamplingFeature
toString
-
Methods inherited from class org.n52.shetland.ogc.om.features.samplingFeatures.AbstractSamplingFeature
addAllRelatedSamplingFeatures, addParameter, addRelatedSamplingFeature, getGeometry, getGmlId, getParameters, getRelatedSamplingFeatures, getSampledFeatures, getUrl, isEncode, isSetGmlID, isSetParameter, isSetRelatedSamplingFeatures, isSetSampledFeatures, setEncode, setFeatureType, setGeometry, setParameters, setRelatedSamplingFeatures, setSampledFeatures, setUrl
-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
copyTo, getDefaultElementEncoding, 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, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, hashCode, isReferenced, isSetDescription, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.gml.FeatureWith.FeatureWithFeatureType
isSetFeatureType
-
Methods inherited from interface org.n52.shetland.ogc.gml.FeatureWith.FeatureWithGeometry
isSetGeometry
-
Methods inherited from interface org.n52.shetland.ogc.gml.FeatureWith.FeatureWithUrl
isSetUrl
-
-
-
-
Constructor Detail
-
SfSpecimen
public SfSpecimen(CodeWithAuthority featureIdentifier)
-
SfSpecimen
public SfSpecimen(CodeWithAuthority featureIdentifier, String gmlId)
-
-
Method Detail
-
getFeatureType
public String getFeatureType()
Description copied from interface:FeatureWith.FeatureWithFeatureTypeGet feature type- Specified by:
getFeatureTypein interfaceFeatureWith.FeatureWithFeatureType- Overrides:
getFeatureTypein classAbstractSamplingFeature- Returns:
- Type of this feature
-
getMaterialClass
public ReferenceType getMaterialClass()
- Returns:
- the materialClass
-
setMaterialClass
public SfSpecimen setMaterialClass(ReferenceType materialClass)
- Parameters:
materialClass- the materialClass to set
-
getSamplingTime
public Time getSamplingTime()
- Returns:
- the samplingTime
-
setSamplingTime
public SfSpecimen setSamplingTime(Time samplingTime)
- Parameters:
samplingTime- the samplingTime to set
-
getSamplingMethod
public Referenceable<SfProcess> getSamplingMethod()
- Returns:
- the samplingMethod
-
setSamplingMethod
public SfSpecimen setSamplingMethod(SfProcess samplingMethod)
- Parameters:
samplingMethod- the samplingMethod to set
-
setSamplingMethod
public SfSpecimen setSamplingMethod(Referenceable<SfProcess> samplingMethod)
- Parameters:
samplingMethod- the samplingMethod to set
-
isSetSamplingMethod
public boolean isSetSamplingMethod()
-
getSamplingLocation
public org.locationtech.jts.geom.Geometry getSamplingLocation()
- Returns:
- the samplingLocation
-
setSamplingLocation
public SfSpecimen setSamplingLocation(org.locationtech.jts.geom.Geometry samplingLocation) throws InvalidSridException
- Parameters:
samplingLocation- the samplingLocation to set- Throws:
InvalidSridException- If the SRID is invalid
-
isSetSamplingLocation
public boolean isSetSamplingLocation()
-
getProcessingDetails
public List<PreparationStep> getProcessingDetails()
- Returns:
- the processingDetails
-
setProcessingDetails
public SfSpecimen setProcessingDetails(Collection<PreparationStep> processingDetails)
- Parameters:
processingDetails- the processingDetails to set- Returns:
- this
-
addProcessingDetails
public SfSpecimen addProcessingDetails(PreparationStep processingDetails)
-
addProcessingDetails
public SfSpecimen addProcessingDetails(Collection<PreparationStep> processingDetails)
-
isSetProcessingDetails
public boolean isSetProcessingDetails()
-
getSize
public QuantityValue getSize()
- Returns:
- the size
-
setSize
public SfSpecimen setSize(QuantityValue size)
- Parameters:
size- the size to set
-
isSetSize
public boolean isSetSize()
-
getCurrentLocation
public Referenceable<SpecLocation> getCurrentLocation()
- Returns:
- the currentLocation
-
setCurrentLocation
public SfSpecimen setCurrentLocation(Referenceable<SpecLocation> currentLocation)
- Parameters:
currentLocation- the currentLocation to set
-
isSetCurrentLocation
public boolean isSetCurrentLocation()
-
getSpecimenType
public ReferenceType getSpecimenType()
- Returns:
- the specimenType
-
setSpecimenType
public SfSpecimen setSpecimenType(ReferenceType specimenType)
- Parameters:
specimenType- the specimenType to set- Returns:
- this
-
isSetSpecimenType
public boolean isSetSpecimenType()
-
accept
public <X> X accept(FeatureOfInterestVisitor<X> visitor) throws OwsExceptionReport
- Overrides:
acceptin classSamplingFeature- Throws:
OwsExceptionReport
-
-