@NotThreadSafe public abstract class Selection extends ResultValue
PointValue.Null
NULL, POINT_FIELD, STAMP_FIELD, STATE_FIELD, UUID_FIELD, VALUE_FIELD
SERIALIZABLE_MODE, SIMPLE_STRING_MODE
Modifier | Constructor and Description |
---|---|
|
Selection(Point point,
Optional<DateTime> stamp)
Constructs an instance.
|
protected |
Selection(Selection other)
Constructs an instance from an other.
|
Modifier and Type | Method and Description |
---|---|
Optional<DateTime> |
getStartStamp()
Gets the interval start stamp.
|
Optional<PointValue> |
getStartValue()
Gets the point value starting the interval.
|
Optional<DateTime> |
getStopStamp()
Gets the interval stop stamp.
|
Optional<PointValue> |
getStopValue()
Gets the point value stopping the interval.
|
boolean |
isReplaceable()
Asks if this instance is replaceable.
|
void |
setStartValue(PointValue startValue)
Sets the point value starting the interval.
|
void |
setStopValue(PointValue stopValue)
Sets the point value stopping the interval.
|
addInputValue, copy, getInputValues, isFetched, morph, readExternal, setFetched, writeExternal
checkNotFrozen, clearStamp, confirm, copyValueFrom, decoded, denormalized, encoded, equals, freeze, frozen, getNullablePoint, getPoint, getPointName, getPointUUID, getStamp, getStampString, getState, getSynthesizedString, getThisLogger, getValue, getVersion, hashCode, hasPointUUID, hasStamp, isAbsent, isCacheable, isDeleted, isExtrapolated, isFrozen, isInterpolated, isNormalized, isPresent, isSynthesized, morph, normalized, pointString, readMap, reset, restore, restore, sameValueAs, setFrozen, setPointName, setPointUUID, setStamp, setState, setValue, setVersion, thawed, toDouble, toLong, toString, toString, updateStore, validate, valueString, writeMap
public Selection(@Nonnull Point point, @Nonnull Optional<DateTime> stamp)
point
- The point definition.stamp
- The optional time stamp of the value.protected Selection(@Nonnull Selection other)
other
- The other instance.@Nonnull @CheckReturnValue public Optional<DateTime> getStartStamp()
@Nonnull @CheckReturnValue public Optional<PointValue> getStartValue()
@Nonnull @CheckReturnValue public Optional<DateTime> getStopStamp()
@Nonnull @CheckReturnValue public Optional<PointValue> getStopValue()
public boolean isReplaceable()
isReplaceable
in class ResultValue
public void setStartValue(@Nonnull PointValue startValue)
startValue
- The point value.public void setStopValue(@Nonnull PointValue stopValue)
stopValue
- The point value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.