Package org.n52.io.response
Class GeometryOutput
java.lang.Object
org.n52.io.response.SelfSerializedOutput
org.n52.io.response.ParameterOutput
org.n52.io.response.AbstractOutput
org.n52.io.response.GeometryOutput
- All Implemented Interfaces:
Comparable<ParameterOutput>,GeoJSONFeature,RawFormats
TODO: JavaDoc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.n52.io.response.AbstractOutput
service, SERVICEFields inherited from class org.n52.io.response.ParameterOutput
DOMAIN_ID, EXTRAS, HREF, HREF_BASE, ID, LABEL, RAWFORMATSFields inherited from interface org.n52.io.geojson.GeoJSONFeature
GEOMETRYFields inherited from interface org.n52.series.spi.srv.RawFormats
RAW_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the domain id of the parameter, e.g.org.locationtech.jts.geom.GeometrygetId()getLabel()getType()booleanvoidsetGeometry(OptionalOutput<org.locationtech.jts.geom.Geometry> geometry) setGeometryType(OptionalOutput<GeometryType> geometryType) setPlatform(OptionalOutput<PlatformOutput> platform) Methods inherited from class org.n52.io.response.AbstractOutput
equals, hashCode, setServiceMethods inherited from class org.n52.io.response.ParameterOutput
compareTo, defaultComparator, getExtras, getHref, getLicense, getRawFormats, idComparator, labelComparator, setDomainId, setExtras, setHref, setHrefBase, setId, setLabel, setLicense, setRawFormats, setValueMethods inherited from class org.n52.io.response.SelfSerializedOutput
getIfSerialized, getIfSerializedCollection, getIfSerializedMap, getIfSet, getIfSetCollection, getIfSetMap, isSet, resolvesToNonNullValue
-
Field Details
-
COLLECTION_PATH
- See Also:
-
PROPERTIES
- See Also:
-
GEOMETRY_TYPE
- See Also:
-
PLATFORM
- See Also:
-
-
Constructor Details
-
GeometryOutput
public GeometryOutput()
-
-
Method Details
-
getCollectionName
- Overrides:
getCollectionNamein classParameterOutput
-
getId
- Specified by:
getIdin interfaceGeoJSONFeature- Overrides:
getIdin classParameterOutput
-
setGeometryType
-
getLabel
- Overrides:
getLabelin classParameterOutput- Returns:
- the label. Returns null if label is not set.
-
getDomainId
Description copied from class:ParameterOutputReturns the domain id of the parameter, e.g. a natural id (not arbitrarily generated) or the original id actually being used by proxied data sources.- Overrides:
getDomainIdin classParameterOutput- Returns:
- the domain id
-
getService
- Overrides:
getServicein classAbstractOutput
-
getPlatform
-
setPlatform
-
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()- Specified by:
getGeometryin interfaceGeoJSONFeature
-
setGeometry
- Specified by:
setGeometryin interfaceGeoJSONFeature
-
isSetGeometry
public boolean isSetGeometry()- Specified by:
isSetGeometryin interfaceGeoJSONFeature
-
getHrefBase
- Overrides:
getHrefBasein classParameterOutput
-
getType
-
getGeometryType
-
getProperties
- Specified by:
getPropertiesin interfaceGeoJSONFeature
-