Package org.sensorhub.api.data
Class ObsData.ObsDataBuilder<B extends ObsData.ObsDataBuilder<B,T>,T extends ObsData>
java.lang.Object
org.vast.util.BaseBuilder<T>
org.sensorhub.api.data.ObsData.ObsDataBuilder<B,T>
- Direct Known Subclasses:
ObsData.Builder
- Enclosing class:
- ObsData
public abstract static class ObsData.ObsDataBuilder<B extends ObsData.ObsDataBuilder<B,T>,T extends ObsData>
extends BaseBuilder<T>
-
Field Summary
Fields inherited from class org.vast.util.BaseBuilder
instance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object configured by this builder.protected B
withDataStream
(BigId id) withParameter
(String key, Object value) withPhenomenonLocation
(org.locationtech.jts.geom.Geometry phenomenonLocation) withPhenomenonTime
(Instant phenomenonTime) withResult
(DataBlock result) withResultTime
(Instant resultTime)
-
Constructor Details
-
ObsDataBuilder
protected ObsDataBuilder()
-
-
Method Details
-
copyFrom
-
withDataStream
-
withFoi
-
withPhenomenonTime
-
withResultTime
-
withParameter
-
withPhenomenonLocation
-
withResult
-
build
Description copied from class:BaseBuilder
Builds the object configured by this builder. This can only be called once.- Overrides:
build
in classBaseBuilder<T extends ObsData>
- Returns:
- The new object instance.
-