public class DefaultPairNameValue extends Object implements PairNameValue
Constructor and Description |
---|
DefaultPairNameValue(String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PairNameValue o) |
String |
getName() |
Object |
getValue() |
void |
setName(String name) |
void |
setValue(Object value) |
String |
toString() |
public String getName()
getName
in interface PairNameValue
public Object getValue()
getValue
in interface PairNameValue
public int compareTo(PairNameValue o)
compareTo
in interface Comparable<PairNameValue>
public void setName(String name)
setName
in interface PairNameValue
public void setValue(Object value)
setValue
in interface PairNameValue