public class KeyInfo extends Object implements Comparable<KeyInfo>, Serializable
| Constructor and Description |
|---|
KeyInfo()
No-argument constructor.
|
KeyInfo(String fullKey,
KeyType type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(KeyInfo other) |
boolean |
equals(Object obj) |
List<String> |
getArrayValue() |
String |
getName() |
String |
getNamespace() |
Long |
getSize() |
KeyType |
getType() |
int |
hashCode() |
void |
setArrayValue(List<String> arrayValue) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setSize(Long size) |
void |
setType(KeyType type) |
String |
toString() |
public String getName()
public void setName(String name)
name - the name of the keypublic String getNamespace()
public void setNamespace(String namespace)
namespace - the namespace of the keypublic KeyType getType()
public void setType(KeyType type)
type - the type of the key valuepublic Long getSize()
public void setSize(Long size)
size - the size of the key valuepublic void setArrayValue(List<String> arrayValue)
arrayValue - the value as an arraypublic int compareTo(KeyInfo other)
compareTo in interface Comparable<KeyInfo>Copyright © 2011-2015. All Rights Reserved.