pt.ist.fenixframework.core
Class AbstractDomainObject.SerializedForm
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDomainObject.SerializedForm
protected AbstractDomainObject.SerializedForm(AbstractDomainObject obj)
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.