|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.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 PastContentid - the key identifying the object
PastExceptionpublic PastContentHandle getHandle(Past past)
PastContent
getHandle in interface PastContentpublic 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 | |||||||||