dermi.registry
Class Registry.PastContentImpl

java.lang.Object
  extended by dermi.registry.Registry.PastContentImpl
All Implemented Interfaces:
rice.p2p.past.PastContent, java.io.Serializable
Enclosing class:
Registry

public static class Registry.PastContentImpl
extends java.lang.Object
implements rice.p2p.past.PastContent

Utility class for past content objects

See Also:
Serialized Form

Field Summary
protected  rice.p2p.past.PastContent existing
           
protected  rice.p2p.commonapi.Id id
           
protected  java.io.Serializable obj
           
 
Constructor Summary
Registry.PastContentImpl(rice.p2p.commonapi.Id id, java.io.Serializable obj)
           
 
Method Summary
 rice.p2p.past.PastContent checkInsert(rice.p2p.commonapi.Id id, rice.p2p.past.PastContent existingContent)
           
 boolean equals(java.lang.Object o)
           
 rice.p2p.past.PastContentHandle getHandle(rice.p2p.past.Past past)
           
 rice.p2p.commonapi.Id getId()
           
 java.io.Serializable getObject()
           
 boolean isMutable()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected rice.p2p.commonapi.Id id

obj

protected java.io.Serializable obj

existing

protected rice.p2p.past.PastContent existing
Constructor Detail

Registry.PastContentImpl

public Registry.PastContentImpl(rice.p2p.commonapi.Id id,
                                java.io.Serializable obj)
Method Detail

checkInsert

public rice.p2p.past.PastContent checkInsert(rice.p2p.commonapi.Id id,
                                             rice.p2p.past.PastContent existingContent)
                                      throws rice.p2p.past.PastException
Specified by:
checkInsert in interface rice.p2p.past.PastContent
Throws:
rice.p2p.past.PastException

getHandle

public rice.p2p.past.PastContentHandle getHandle(rice.p2p.past.Past past)
Specified by:
getHandle in interface rice.p2p.past.PastContent

getId

public rice.p2p.commonapi.Id getId()
Specified by:
getId in interface rice.p2p.past.PastContent

getObject

public java.io.Serializable getObject()

isMutable

public boolean isMutable()
Specified by:
isMutable in interface rice.p2p.past.PastContent

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object