org.cdlib.xtf.util
Interface Linkable

All Known Implementing Classes:
Cache.ListEntry, LinkableImpl

public interface Linkable

All entries added to an EmbeddedList must implement this interface. For an easy way to do so, extend the LinkableImpl class instead.


Method Summary
 Linkable getNext()
          Get a reference to the next item in the chain
 EmbeddedList getOwner()
          Get a reference to the EmbeddedList that owns this object
 Linkable getPrev()
          Get a reference to the previous item in the chain
 void setNext(Linkable l)
          Assign the next item in the chain
 void setOwner(EmbeddedList o)
          Get a reference to the EmbeddedList that owns this object
 void setPrev(Linkable l)
          Assign the previous item in the chain
 

Method Detail

getNext

Linkable getNext()
Get a reference to the next item in the chain


getPrev

Linkable getPrev()
Get a reference to the previous item in the chain


getOwner

EmbeddedList getOwner()
Get a reference to the EmbeddedList that owns this object


setNext

void setNext(Linkable l)
Assign the next item in the chain


setPrev

void setPrev(Linkable l)
Assign the previous item in the chain


setOwner

void setOwner(EmbeddedList o)
Get a reference to the EmbeddedList that owns this object