public class KeyAndVersion extends Object
Constructor and Description |
---|
KeyAndVersion(String key)
Constructor
|
KeyAndVersion(String key,
String version)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Obtain the object name.
|
String |
getVersion()
Obtain the object version ID.
|
void |
setKey(String key)
Set the object name.
|
void |
setVersion(String version)
Set the version ID of the object.
|
String |
toString() |
public KeyAndVersion(String key, String version)
key
- Object nameversion
- Version ID of the objectpublic KeyAndVersion(String key)
key
- Object namepublic String getKey()
public String getVersion()
public void setKey(String key)
key
- Object namepublic void setVersion(String version)
version
- Version ID of the objectCopyright © 2019. All rights reserved.