public class KeyValueImpl extends java.lang.Object implements KeyValue, java.io.Externalizable
Constructor and Description |
---|
KeyValueImpl() |
KeyValueImpl(java.lang.String code,
java.lang.String concept) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(KeyValue compareTo) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
Returns the code that the value is for
|
java.lang.String |
getConcept()
Returns the key (concept/dimension) that this KeyValue is for
|
int |
hashCode() |
void |
readExternal(java.io.ObjectInput in) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
public KeyValueImpl()
public KeyValueImpl(java.lang.String code, java.lang.String concept)
public java.lang.String getCode()
KeyValue
public java.lang.String getConcept()
KeyValue
getConcept
in interface KeyValue
public int compareTo(KeyValue compareTo)
compareTo
in interface java.lang.Comparable<KeyValue>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException