|
Hilbert II - Version 0.03.01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qedeq.kernel.bo.control.QedeqBoFactory
A factory for creating QedeqBo
s.
LATER mime 20050707: use director pattern or transfer creation methods
into BOs or use visitor pattern
Constructor Summary | |
protected |
QedeqBoFactory(String globalContext)
Constructor. |
Method Summary | |
protected QedeqBo |
create(Qedeq original)
Create QedeqBo out of an Qedeq instance.
|
static QedeqBo |
createQedeq(String globalContext,
Qedeq original)
Create QedeqBo 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 orginal module. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected QedeqBoFactory(String globalContext)
globalContext
- Module location information.Method Detail |
public static QedeqBo createQedeq(String globalContext, Qedeq original) throws ModuleDataException
QedeqBo
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 QedeqBo create(Qedeq original) throws IllegalModuleDataException
QedeqBo
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.01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |