|
P-Grid v2.0a2 API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataItem
Defines the operations that all data items stored on the network support.
| Method Summary | |
|---|---|
Object |
getData()
Get the item's content. |
GUID |
getGUID()
Get the ID of the item. |
Key |
getKey()
Get the key index of the item. |
Peer |
getPeer()
Get the host responsible for this item. |
Type |
getType()
Get the item's type of content. |
void |
setData(Object newData)
Set the item's content. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
Key getKey()
GUID getGUID()
Type getType()
Object getData()
void setData(Object newData)
newData - the new dataPeer getPeer()
|
P-Grid v2.0a2 API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||