Package org.n52.io.response
Class FeatureOutput
-
- All Implemented Interfaces:
Comparable<ParameterOutput>,GeoJSONFeature,RawFormats
public class FeatureOutput extends HierarchicalParameterOutput<FeatureOutput> implements GeoJSONFeature
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLLECTION_PATHstatic StringDATASETSstatic StringGEOMETRYstatic StringPARAMETERSstatic StringPROPERTIES-
Fields inherited from class org.n52.io.response.HierarchicalParameterOutput
CHILDREN, PARENTS
-
Fields inherited from class org.n52.io.response.AbstractOutput
service, SERVICE
-
Fields inherited from class org.n52.io.response.ParameterOutput
DOMAIN_ID, EXTRAS, HREF, HREF_BASE, ID, LABEL, RAWFORMATS
-
Fields inherited from interface org.n52.series.spi.srv.RawFormats
RAW_FORMAT
-
-
Constructor Summary
Constructors Constructor Description FeatureOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCollectionName()Map<String,DatasetParameters>getDatasets()org.locationtech.jts.geom.GeometrygetGeometry()Map<String,Object>getParameters()Map<String,Object>getProperties()booleanisSetGeometry()voidsetDatasets(OptionalOutput<Map<String,DatasetParameters>> datasets)voidsetGeometry(OptionalOutput<org.locationtech.jts.geom.Geometry> geometry)voidsetParameters(OptionalOutput<Map<String,Object>> parameters)-
Methods inherited from class org.n52.io.response.HierarchicalParameterOutput
getChildren, getParents, setChildren, setParents
-
Methods inherited from class org.n52.io.response.AbstractOutput
equals, getService, hashCode, setService
-
Methods inherited from class org.n52.io.response.ParameterOutput
compareTo, defaultComparator, getDomainId, getExtras, getHref, getHrefBase, getId, getLabel, getLicense, getRawFormats, idComparator, labelComparator, setDomainId, setExtras, setHref, setHrefBase, setId, setLabel, setLicense, setRawFormats, setValue
-
Methods inherited from class org.n52.io.response.SelfSerializedOutput
getIfSerialized, getIfSerializedCollection, getIfSerializedMap, getIfSet, getIfSetCollection, getIfSetMap, isSet, resolvesToNonNullValue
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.io.geojson.GeoJSONFeature
getId
-
-
-
-
Field Detail
-
COLLECTION_PATH
public static final String COLLECTION_PATH
- See Also:
- Constant Field Values
-
PROPERTIES
public static final String PROPERTIES
- See Also:
- Constant Field Values
-
GEOMETRY
public static final String GEOMETRY
- See Also:
- Constant Field Values
-
DATASETS
public static final String DATASETS
- See Also:
- Constant Field Values
-
PARAMETERS
public static final String PARAMETERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCollectionName
public String getCollectionName()
- Overrides:
getCollectionNamein classParameterOutput
-
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()
- Specified by:
getGeometryin interfaceGeoJSONFeature
-
setGeometry
public void setGeometry(OptionalOutput<org.locationtech.jts.geom.Geometry> geometry)
- Specified by:
setGeometryin interfaceGeoJSONFeature
-
isSetGeometry
public boolean isSetGeometry()
- Specified by:
isSetGeometryin interfaceGeoJSONFeature
-
getDatasets
public Map<String,DatasetParameters> getDatasets()
-
setDatasets
public void setDatasets(OptionalOutput<Map<String,DatasetParameters>> datasets)
-
setParameters
public void setParameters(OptionalOutput<Map<String,Object>> parameters)
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getPropertiesin interfaceGeoJSONFeature
-
-