public static final class VersionedValue.Factory
extends Object
This factory class should only be used to restore values from a store.
Modifier and Type | Method and Description |
---|---|
static VersionedValue |
restore(UUID uuid,
Optional<DateTime> stamp,
DateTime version,
Serializable state,
Serializable value)
Restores a versioned value.
|
@Nonnull @CheckReturnValue public static VersionedValue restore(@Nonnull UUID uuid, @Nonnull Optional<DateTime> stamp, @Nonnull DateTime version, @Nullable Serializable state, @Nullable Serializable value)
uuid
- The UUID of the Point definition.stamp
- The optional time stamp of the value.version
- The version of the value.state
- The state.value
- The value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.