public abstract class AbstractSamplingFeature extends AbstractFeature implements FeatureWith.FeatureWithGeometry, FeatureWith.FeatureWithFeatureType, FeatureWith.FeatureWithUrl, FeatureWith.FeatureWithEncode
| Constructor and Description |
|---|
AbstractSamplingFeature(CodeWithAuthority featureIdentifier)
constructor
|
AbstractSamplingFeature(CodeWithAuthority featureIdentifier,
String gmlId)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllRelatedSamplingFeatures(Collection<SamplingFeatureComplex> relatedSamplingFeatures)
Add related sampling features
|
void |
addParameter(NamedValue<?> namedValue)
Add parameter
|
void |
addRelatedSamplingFeature(SamplingFeatureComplex relatedSamplingFeature)
Add related sampling feature
|
String |
getFeatureType()
Get feature type
|
org.locationtech.jts.geom.Geometry |
getGeometry()
Get feature geometry
|
String |
getGmlId()
Get GML id
|
List<NamedValue<?>> |
getParameters()
Get parameters
|
List<SamplingFeatureComplex> |
getRelatedSamplingFeatures()
Get related sampling features
|
List<AbstractFeature> |
getSampledFeatures()
Get sampled feaures
|
String |
getUrl()
Get URL
|
boolean |
isEncode()
Check whether feature should be encoded
|
boolean |
isSetGmlID()
Check whether GML id is set
|
boolean |
isSetParameter()
Check whether parameters are set
|
boolean |
isSetRelatedSamplingFeatures()
Check whether related sampling features are set
|
boolean |
isSetSampledFeatures()
Check whether sampled features are set
|
void |
setEncode(boolean encode)
Set indicator if feature should be encoded
|
void |
setFeatureType(String featureType)
Set feature type
|
void |
setGeometry(org.locationtech.jts.geom.Geometry geometry)
Set feature geometry, checks whether srid is valid
|
void |
setParameters(Collection<NamedValue<?>> parameters)
Add parameters
|
void |
setRelatedSamplingFeatures(Collection<SamplingFeatureComplex> relatedSamplingFeatures)
Set related sampling features
|
void |
setSampledFeatures(List<AbstractFeature> sampledFeatures)
Set sampled features
|
void |
setUrl(String url)
Set URL
|
String |
toString() |
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncodedaddMetaDataProperty, 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, setNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitisSetGeometryisSetFeatureTypeisSetUrlpublic AbstractSamplingFeature(CodeWithAuthority featureIdentifier)
featureIdentifier - identifier of sampling featurepublic AbstractSamplingFeature(CodeWithAuthority featureIdentifier, String gmlId)
featureIdentifier - identifier of sampling featuregmlId - GML of this featurepublic boolean isSetGmlID()
AbstractGMLisSetGmlID in class AbstractGMLtrue if GML id is setpublic String getGmlId()
AbstractGMLgetGmlId in class AbstractGMLpublic org.locationtech.jts.geom.Geometry getGeometry()
FeatureWith.FeatureWithGeometrygetGeometry in interface FeatureWith.FeatureWithGeometrypublic void setGeometry(org.locationtech.jts.geom.Geometry geometry)
throws InvalidSridException
FeatureWith.FeatureWithGeometrysetGeometry in interface FeatureWith.FeatureWithGeometrygeometry - Geometry to setInvalidSridExceptionpublic String getFeatureType()
FeatureWith.FeatureWithFeatureTypegetFeatureType in interface FeatureWith.FeatureWithFeatureTypepublic void setFeatureType(String featureType)
FeatureWith.FeatureWithFeatureTypesetFeatureType in interface FeatureWith.FeatureWithFeatureTypefeatureType - Type of this featurepublic String getUrl()
FeatureWith.FeatureWithUrlgetUrl in interface FeatureWith.FeatureWithUrlpublic void setUrl(String url)
FeatureWith.FeatureWithUrlsetUrl in interface FeatureWith.FeatureWithUrlurl - URL to setpublic void setSampledFeatures(List<AbstractFeature> sampledFeatures)
sampledFeatures - Sampled fearure listpublic List<AbstractFeature> getSampledFeatures()
public boolean isSetSampledFeatures()
true, if sampled features are setpublic void addParameter(NamedValue<?> namedValue)
namedValue - Parameter ro addpublic void setParameters(Collection<NamedValue<?>> parameters)
parameters - Parameters to addpublic List<NamedValue<?>> getParameters()
public boolean isSetParameter()
FeatureWith.FeatureWithEncodeisSetParameter in interface FeatureWith.FeatureWithEncodetrue, if parameters are setpublic boolean isEncode()
FeatureWith.FeatureWithEncodeisEncode in interface FeatureWith.FeatureWithEncodetrue, if feature should be encodedpublic void setEncode(boolean encode)
encode - Encoding indicatorpublic void addRelatedSamplingFeature(SamplingFeatureComplex relatedSamplingFeature)
relatedSamplingFeature - Related sampling feature to addpublic void addAllRelatedSamplingFeatures(Collection<SamplingFeatureComplex> relatedSamplingFeatures)
relatedSamplingFeatures - Related sampling features to addpublic void setRelatedSamplingFeatures(Collection<SamplingFeatureComplex> relatedSamplingFeatures)
relatedSamplingFeatures - Related sampling features to setpublic List<SamplingFeatureComplex> getRelatedSamplingFeatures()
public boolean isSetRelatedSamplingFeatures()
true, if related sampling features are setCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.