|
Hilbert II - Version 0.03.08 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.qedeq.kernel.bo.load.QedeqBoFactory
An factory for creating DefaultQedeqBos. This factory takes
something that implements the QEDEQ interfaces (beginning with
(@link org.qedeq.kernel.base.module.Qedeq} and makes copies that are out of the package
org.qedeq.kernel.dto.*. Only elements that are not null are
copied.
LATER mime 20050707: use director pattern or transfer creation methods into BOs or use visitor pattern
| Constructor Summary | |
protected |
QedeqBoFactory(ModuleAddress globalContext)
Constructor. |
| Method Summary | |
protected DefaultQedeqBo |
create(Qedeq original)
Create DefaultQedeqBo out of an Qedeq instance.
|
static DefaultQedeqBo |
createQedeq(ModuleAddress globalContext,
Qedeq original)
Create DefaultQedeqBo out of an Qedeq instance.
|
protected ModuleContext |
getCurrentContext()
Get current context within original. |
protected QedeqBo |
getQedeqCreated()
Get currently created QEDEQ module. |
protected Qedeq |
getQedeqOriginal()
Get original QEDEQ module. |
protected void |
setLocationWithinModule(String locationWithinModule)
Set location information where are we within the original module. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected QedeqBoFactory(ModuleAddress globalContext)
globalContext - Module location information.| Method Detail |
public static DefaultQedeqBo createQedeq(ModuleAddress globalContext,
Qedeq original)
throws ModuleDataException
DefaultQedeqBo out of an Qedeq instance.
During that procedure some basic checking is done. E.g. the uniqueness of entries
is tested. The resulting business object has no references to the original
Qedeq instance.
During the creation process the caller must assert that no modifications are made
to the Qedeq instance including its referenced objects.
globalContext - Module location information.original - Basic QEDEQ module object.
qedeq.
ModuleDataException - Invalid data found.
protected final DefaultQedeqBo create(Qedeq original)
throws IllegalModuleDataException
DefaultQedeqBo out of an Qedeq instance.
During that procedure some basic checking is done. E.g. the uniqueness of entries
is tested. The resulting business object has no references to the original
Qedeq instance.
During the creation process the caller must assert that no modifications are made
to the Qedeq instance including its referenced objects.
original - Basic QEDEQ module object.
header.
IllegalModuleDataException - Basic semantic error occurred.protected void setLocationWithinModule(String locationWithinModule)
locationWithinModule - Location within module.protected final ModuleContext getCurrentContext()
protected final Qedeq getQedeqOriginal()
protected final QedeqBo getQedeqCreated()
|
Hilbert II - Version 0.03.08 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |