|
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
protected static class PastRegrTest.TestPastContent
Utility class for past content objects
Field Summary | |
---|---|
protected PastContent |
existing
|
protected Id |
id
|
Constructor Summary | |
---|---|
PastRegrTest.TestPastContent(Id id)
|
Method Summary | |
---|---|
PastContent |
checkInsert(Id id,
PastContent existingContent)
Checks if a insert operation should be allowed. |
boolean |
equals(java.lang.Object o)
|
PastContentHandle |
getHandle(Past past)
Produces a handle for this content object. |
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 Id id
protected PastContent existing
Constructor Detail |
---|
public PastRegrTest.TestPastContent(Id id)
Method Detail |
---|
public PastContent checkInsert(Id id, PastContent existingContent) throws PastException
PastContent
checkInsert
in interface PastContent
id
- the key identifying the object
PastException
public PastContentHandle getHandle(Past past)
PastContent
getHandle
in interface PastContent
public Id getId()
PastContent
getId
in interface PastContent
public boolean isMutable()
PastContent
isMutable
in interface PastContent
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public 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 |