|
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
DESCRIBE THE FIELD |
protected Id |
id
DESCRIBE THE FIELD |
static short |
TYPE
DESCRIBE THE FIELD |
| Constructor Summary | |
|---|---|
RawPastRegrTest.TestPastContent(Id id)
Constructor for TestPastContent. |
|
RawPastRegrTest.TestPastContent(InputBuffer buf,
Endpoint endpoint,
PastContentDeserializer pcd)
Constructor for TestPastContent. |
|
| Method Summary | |
|---|---|
PastContent |
checkInsert(Id id,
PastContent existingContent)
DESCRIBE THE METHOD |
boolean |
equals(java.lang.Object o)
Compares this to the parameter. |
PastContentHandle |
getHandle(Past past)
Gets the Handle attribute of the TestPastContent object |
Id |
getId()
Gets the Id attribute of the TestPastContent object |
short |
getType()
Gets the Type attribute of the TestPastContent object |
boolean |
isMutable()
Gets the Mutable attribute of the TestPastContent object |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
Converts to a String representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Id id
protected RawPastContent existing
public static final short TYPE
| Constructor Detail |
|---|
public RawPastRegrTest.TestPastContent(Id id)
id - DESCRIBE THE PARAMETER
public RawPastRegrTest.TestPastContent(InputBuffer buf,
Endpoint endpoint,
PastContentDeserializer pcd)
throws java.io.IOException
buf - DESCRIBE THE PARAMETERendpoint - DESCRIBE THE PARAMETERpcd - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION| Method Detail |
|---|
public PastContentHandle getHandle(Past past)
getHandle in interface PastContentpast - DESCRIBE THE PARAMETER
public Id getId()
getId in interface PastContentpublic boolean isMutable()
isMutable in interface PastContentpublic short getType()
getType in interface RawPastContent
public PastContent checkInsert(Id id,
PastContent existingContent)
throws PastException
checkInsert in interface PastContentid - DESCRIBE THE PARAMETERexistingContent - DESCRIBE THE PARAMETER
PastException - DESCRIBE THE EXCEPTIONpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the reference object with which to compare.
public java.lang.String toString()
toString in class java.lang.Object
public void serialize(OutputBuffer buf)
throws java.io.IOException
serialize in interface RawPastContentbuf - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||