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