|
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.RawPastRegrTest.TestPastContent
protected static class RawPastRegrTest.TestPastContent
Utility class for past content objects
| Field Summary | |
|---|---|
protected RawPastContent |
existing
|
protected Id |
id
|
static short |
TYPE
|
| Constructor Summary | |
|---|---|
RawPastRegrTest.TestPastContent(Id id)
|
|
RawPastRegrTest.TestPastContent(InputBuffer buf,
Endpoint endpoint,
PastContentDeserializer pcd)
|
|
| 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. |
short |
getType()
|
boolean |
isMutable()
States if this content object is mutable. |
void |
serialize(OutputBuffer buf)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short TYPE
protected Id id
protected RawPastContent existing
| Constructor Detail |
|---|
public RawPastRegrTest.TestPastContent(Id id)
public RawPastRegrTest.TestPastContent(InputBuffer buf,
Endpoint endpoint,
PastContentDeserializer pcd)
throws java.io.IOException
java.io.IOException| 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.Objectpublic short getType()
getType in interface RawPastContent
public void serialize(OutputBuffer buf)
throws java.io.IOException
serialize in interface RawPastContentjava.io.IOException
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||