|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDbStorage.manager.DictionaryEntry
This class represents a pair formed of a PhysicalID
and a string name.
Nested Class Summary | |
static class |
DictionaryEntry.ByIDComparator
This class is used to compare two DictionaryEntry s
using their ID component first and their name component second. |
static class |
DictionaryEntry.ByNameComparator
This class is used to compare two DictionaryEntry s
using their name component first and their ID component second. |
Constructor Summary | |
DictionaryEntry()
Constructs DictionaryEntry with null components. |
|
DictionaryEntry(java.lang.String name,
PhysicalID id)
Constructs DictionaryEntry with specified components. |
Method Summary | |
PhysicalID |
getID()
Returns the ID component. |
java.lang.String |
getName()
Returns the name component. |
void |
setID(PhysicalID id)
Sets the ID component. |
void |
setName(java.lang.String name)
Sets the name component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DictionaryEntry()
DictionaryEntry
with null components.
public DictionaryEntry(java.lang.String name, PhysicalID id)
DictionaryEntry
with specified components.
Method Detail |
public java.lang.String getName()
public PhysicalID getID()
public void setName(java.lang.String name)
public void setID(PhysicalID id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |