pt.ist.fenixframework.core
Class AbstractDomainObject.SerializedForm

Package class diagram package AbstractDomainObject.SerializedForm
java.lang.Object
  extended by pt.ist.fenixframework.core.AbstractDomainObject.SerializedForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractDomainObjectAdapter.SerializedForm
Enclosing class:
AbstractDomainObject

protected abstract static class AbstractDomainObject.SerializedForm
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
protected AbstractDomainObject.SerializedForm(AbstractDomainObject obj)
           
 
Method Summary
protected  DomainObject fromExternalId(String externalId)
          Returns a DomainObject given its externalId.
protected  Object readResolve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDomainObject.SerializedForm

protected AbstractDomainObject.SerializedForm(AbstractDomainObject obj)
Method Detail

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Throws:
ObjectStreamException

fromExternalId

protected DomainObject fromExternalId(String externalId)
Returns a DomainObject given its externalId. This method is invoked when de-serialization of a previously serialized DomainObject occurs. Final users of this framework should not invoke this method explicitly. Backend developers should provide an implementation for this method in their subclasses of AbstractDomainObject.SerializedForm.

Parameters:
externalId - The object's external identifier
Returns:
The corresponding DomainObject


Copyright © 2013. All Rights Reserved.