public class MetadataEntry extends Object implements Serializable, Cloneable
Constructor and Description |
---|
MetadataEntry(String name,
String value)
Constructs an instance of this object.
|
Modifier and Type | Method and Description |
---|---|
MetadataEntry |
clone() |
boolean |
equals(Object obj) |
String |
getName() |
String |
getValue() |
int |
hashCode() |
void |
setName(String name)
Set the metadata key.
|
void |
setValue(String value)
Set the metadata value.
|
String |
toString() |
MetadataEntry |
withName(String key)
Set the metadata key.
|
MetadataEntry |
withValue(String metadataValue)
Set the metadata value.
|
public String getName()
public void setName(String name)
name
- The metadata key.public MetadataEntry withName(String key)
key
- The metadata key.public String getValue()
public void setValue(String value)
value
- The metadata value.public MetadataEntry withValue(String metadataValue)
metadataValue
- The metadata value.public MetadataEntry clone()
Copyright © 2018. All rights reserved.