|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--rice.p2p.past.testing.PastRegrTest.TestPastContent
Utility class for past content objects
| Field Summary | |
protected rice.p2p.past.PastContent |
existing
|
protected rice.p2p.commonapi.Id |
id
|
| Constructor Summary | |
PastRegrTest.TestPastContent(rice.p2p.commonapi.Id id)
|
|
| Method Summary | |
rice.p2p.past.PastContent |
checkInsert(rice.p2p.commonapi.Id id,
rice.p2p.past.PastContent existingContent)
Checks if a insert operation should be allowed. |
boolean |
equals(java.lang.Object o)
|
rice.p2p.past.PastContentHandle |
getHandle(rice.p2p.past.Past past)
Produces a handle for this content object. |
rice.p2p.commonapi.Id |
getId()
Returns the Id under which this object is stored in Past. |
boolean |
isMutable()
States if this content object is mutable. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected rice.p2p.commonapi.Id id
protected rice.p2p.past.PastContent existing
| Constructor Detail |
public PastRegrTest.TestPastContent(rice.p2p.commonapi.Id id)
| Method Detail |
public rice.p2p.past.PastContent checkInsert(rice.p2p.commonapi.Id id,
rice.p2p.past.PastContent existingContent)
throws PastException
PastContent
checkInsert in interface PastContentid - the key identifying the object
PastExceptionpublic rice.p2p.past.PastContentHandle getHandle(rice.p2p.past.Past past)
PastContent
getHandle in interface PastContentpublic rice.p2p.commonapi.Id getId()
PastContent
getId in interface PastContentpublic boolean isMutable()
PastContent
isMutable in interface PastContentpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||