public class RecordTag extends Object implements Serializable, Cloneable
A tag associated with the record, stored as a key-value pair.
| Constructor and Description |
|---|
RecordTag() |
| Modifier and Type | Method and Description |
|---|---|
RecordTag |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key for this tag.
|
String |
getValue()
The value for this tag.
|
int |
hashCode() |
void |
setKey(String key)
The key for this tag.
|
void |
setValue(String value)
The value for this tag.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RecordTag |
withKey(String key)
The key for this tag.
|
RecordTag |
withValue(String value)
The value for this tag.
|
public void setKey(String key)
The key for this tag.
key - The key for this tag.public String getKey()
The key for this tag.
public RecordTag withKey(String key)
The key for this tag.
key - The key for this tag.public void setValue(String value)
The value for this tag.
value - The value for this tag.public String getValue()
The value for this tag.
public RecordTag withValue(String value)
The value for this tag.
value - The value for this tag.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.