pt.ist.fenixframework.core
Class AbstractDomainObjectAdapter

Package class diagram package AbstractDomainObjectAdapter
java.lang.Object
  extended by pt.ist.fenixframework.core.AbstractDomainObject
      extended by pt.ist.fenixframework.core.AbstractDomainObjectAdapter
All Implemented Interfaces:
Serializable, DomainObject
Direct Known Subclasses:
InfinispanDomainObject, JVSTMMemDomainObject, MemDomainObject, OgmDomainObject

public class AbstractDomainObjectAdapter
extends AbstractDomainObject

This class contains useful code, required by concrete DomainObjects. Backend implementations may benefit from the code in this class when providing their own implementations of DomainObject.

See Also:
Serialized Form

Nested Class Summary
protected static class AbstractDomainObjectAdapter.SerializedForm
           
 
Constructor Summary
protected AbstractDomainObjectAdapter()
           
protected AbstractDomainObjectAdapter(DomainObjectAllocator.OID oid)
           
 
Method Summary
protected  AbstractDomainObjectAdapter.SerializedForm makeSerializedForm()
          Creates the concrete instance of SerializedForm for this DomainObject.
 
Methods inherited from class pt.ist.fenixframework.core.AbstractDomainObject
ensureOid, equals, getExternalId, getOid, hashCode, toString, writeReplace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractDomainObjectAdapter

protected AbstractDomainObjectAdapter()

AbstractDomainObjectAdapter

protected AbstractDomainObjectAdapter(DomainObjectAllocator.OID oid)
Method Detail

makeSerializedForm

protected AbstractDomainObjectAdapter.SerializedForm makeSerializedForm()
Description copied from class: AbstractDomainObject
Creates the concrete instance of SerializedForm for this DomainObject. This method is invoked when serialization of the DomainObject occurs. Final users of this framework should never invoke this method explicitly. Backend developers should provide an implementation for this method in their subclasses of AbstractDomainObject.

Overrides:
makeSerializedForm in class AbstractDomainObject
Returns:
The corresponding SerializedForm


Copyright © 2013. All Rights Reserved.