ReturnValueVersionpublic class ValueVersion
extends java.lang.Object
| Constructor | Description |
|---|---|
ValueVersion() |
Used internally to create an object with null value and version.
|
ValueVersion(Value value,
Version version) |
Used internally to create an object with a value and version.
|
| Modifier and Type | Method | Description |
|---|---|---|
Value |
getValue() |
Returns the Value part of the KV pair.
|
Version |
getVersion() |
Returns the Version of the KV pair.
|
ValueVersion |
setValue(Value value) |
Used internally to initialize the Value part of the KV pair.
|
ValueVersion |
setVersion(Version version) |
Used internally to initialize the Version of the KV pair.
|
java.lang.String |
toString() |
public ValueVersion()
public Value getValue()
public Version getVersion()
public ValueVersion setValue(Value value)
public ValueVersion setVersion(Version version)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.