|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.xdbm.ForwardIndexEntry<V,O,ID>
public class ForwardIndexEntry<V,O,ID>
An index id value pair based on a Tuple which can optionally reference the indexed obj if one has already been loaded.
Constructor Summary | |
---|---|
ForwardIndexEntry()
|
Method Summary | |
---|---|
void |
clear()
Clears the id, value and object in this IndexEntry. |
void |
copy(IndexEntry<V,O,ID> entry)
Copies the values of another IndexEntry into this IndexEntry. |
ID |
getId()
Gets the id of the object indexed. |
O |
getObject()
Gets the object indexed if resusitated. |
Tuple<V,ID> |
getTuple()
Gets access to the underlying tuple. |
V |
getValue()
Gets the value referred to by this IndexEntry. |
void |
setId(ID id)
Sets the id of the object indexed. |
void |
setObject(O obj)
Sets the object indexed. |
void |
setTuple(Tuple<V,ID> tuple,
O entry)
Sets the key value tuple represented by this ForwardIndexEntry optionally setting the obj associated with the id if one was loaded from the master table. |
void |
setValue(V value)
Sets the value referred to by this IndexEntry. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ForwardIndexEntry()
Method Detail |
---|
public void setTuple(Tuple<V,ID> tuple, O entry)
tuple
- the tuple for the ForwardIndexEntryentry
- the resusitated obj if anypublic ID getId()
IndexEntry
getId
in interface IndexEntry<V,O,ID>
public V getValue()
IndexEntry
getValue
in interface IndexEntry<V,O,ID>
public void setId(ID id)
IndexEntry
setId
in interface IndexEntry<V,O,ID>
id
- the id of the object indexedpublic void setValue(V value)
IndexEntry
setValue
in interface IndexEntry<V,O,ID>
value
- the value of the object referred topublic O getObject()
IndexEntry
getObject
in interface IndexEntry<V,O,ID>
public void setObject(O obj)
IndexEntry
setObject
in interface IndexEntry<V,O,ID>
obj
- the object indexedpublic Tuple<V,ID> getTuple()
IndexEntry
getTuple
in interface IndexEntry<V,O,ID>
public void clear()
IndexEntry
clear
in interface IndexEntry<V,O,ID>
public void copy(IndexEntry<V,O,ID> entry)
IndexEntry
copy
in interface IndexEntry<V,O,ID>
entry
- the entry to copy fields ofpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |