|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.schema.codegen.StringKeyed
public class StringKeyed
Base class for a data representation using a string value as a key. This just holds the key and implements the
Comparable
interface.
Field Summary | |
---|---|
private java.lang.String |
m_key
Key string. |
Constructor Summary | |
---|---|
StringKeyed(java.lang.String key)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compare to another instance. |
java.lang.String |
getKey()
Get the key string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.String m_key
Constructor Detail |
---|
public StringKeyed(java.lang.String key)
key
- Method Detail |
---|
public java.lang.String getKey()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- other instance
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |