|
Hilbert II - Version 0.03.09 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.qedeq.kernel.bo.control.KernelQedeqBo
Represents a module and its states. This is a kernel intern representation.
| Constructor Summary | |
(package private) |
KernelQedeqBo(ModuleAddress address)
Creates new module properties. |
| Method Summary | |
SourceArea |
createSourceArea(Qedeq qedeq,
ModuleContext context)
Get area in XML source file for QEDEQ module context. |
SourceFileException |
createSourceFileException(ModuleDataException exception)
Create exception out of ModuleDataException. |
SourceFileExceptionList |
createSourceFileExceptionList(ModuleDataException exception)
Create exception out of ModuleDataException. |
SourceFileExceptionList |
createSourceFileExceptionList(ModuleDataException exception,
Qedeq qedeq)
Create exception out of ModuleDataException. |
void |
delete()
Delete QEDEQ module. |
boolean |
equals(Object obj)
|
DependencyState |
getDependencyState()
Get module dependency state. |
KernelModuleReferenceList |
getDependentModules()
Get labels and URLs of all directly dependent modules. |
String |
getEncoding()
In what encoding the module was parsed. |
SourceFileExceptionList |
getException()
Get exception. |
ExistenceChecker |
getExistenceChecker()
Get the predicate and function existence checker. |
KernelModuleReferenceList |
getKernelRequiredModules()
Get labels and URLs of all referenced modules. |
ModuleLabels |
getLabels()
Get label references for QEDEQ module. |
ModuleLoader |
getLoader()
Get loader used to load this object. |
int |
getLoadingCompleteness()
Set completeness percentage. |
LoadingState |
getLoadingState()
Get module loading state. |
LogicalState |
getLogicalState()
Get module logical state. |
ModuleAddress |
getModuleAddress()
Get ModuleAddress of module. |
String |
getName()
Get name of module. |
Qedeq |
getQedeq()
Get module. |
ModuleReferenceList |
getRequiredModules()
Get labels and URLs of all referenced modules. |
String |
getRuleVersion()
Get rule version information. |
String |
getStateDescription()
Get module state description. |
protected StateManager |
getStateManager()
Get StateManager. |
URL |
getUrl()
Get original URL of module. |
SourceFileExceptionList |
getWarnings()
Get warnings for this BO. |
boolean |
hasFailures()
Is this a failure state the module is in? |
int |
hashCode()
|
boolean |
hasLoadedRequiredModules()
Are all required modules loaded? |
boolean |
isChecked()
Was the module checked? |
boolean |
isLoaded()
Is this module already loaded? |
void |
setChecked(ExistenceChecker checker)
Set logic checked state. |
void |
setDependencyFailureState(DependencyState state,
SourceFileExceptionList e)
Set failure module state. |
void |
setDependencyProgressState(DependencyState state)
Set dependency progress module state. |
protected void |
setDependencyState(DependencyState state)
Set DependencyState. |
void |
setEncoding(String encoding)
Set character encoding for this module. |
protected void |
setException(SourceFileExceptionList exception)
Set SourceFileExceptionList. |
protected void |
setExistenceChecker(ExistenceChecker checker)
Set ExistenceChecker. |
void |
setLabels(ModuleLabels labels)
Set label references for QEDEQ module. |
void |
setLoaded(QedeqVo qedeq,
ModuleLabels labels)
Set loading state to "loaded". |
void |
setLoadedRequiredModules(KernelModuleReferenceList list)
Set loaded required requirements state. |
void |
setLoader(ModuleLoader loader)
Set loader used for loading this object. |
void |
setLoadingCompleteness(int completeness)
Set completeness percentage. |
void |
setLoadingFailureState(LoadingState state,
SourceFileExceptionList e)
Set failure module state. |
void |
setLoadingProgressState(LoadingState state)
Set loading progress module state. |
protected void |
setLoadingState(LoadingState state)
Set LoadingState. |
void |
setLogicalFailureState(LogicalState state,
SourceFileExceptionList e)
Set failure module state. |
void |
setLogicalProgressState(LogicalState state)
Set loading progress module state. |
protected void |
setLogicalState(LogicalState state)
Set LogicalState. |
protected void |
setQedeqVo(QedeqVo qedeq)
Set QedeqVo. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
KernelQedeqBo(ModuleAddress address)
address - Module address (not null).
NullPointerException - address is null.| Method Detail |
public void setLoader(ModuleLoader loader)
loader - public ModuleLoader getLoader()
public boolean hasFailures()
QedeqBo
hasFailures in interface QedeqBopublic ModuleAddress getModuleAddress()
QedeqBoModuleAddress of module.
getModuleAddress in interface QedeqBopublic void setLoadingCompleteness(int completeness)
completeness - Completeness of loading into memory.public int getLoadingCompleteness()
QedeqBo
getLoadingCompleteness in interface QedeqBopublic void delete()
public void setLoadingProgressState(LoadingState state)
state - Module loading state. Must not be null.
IllegalStateException - State is a failure state or module loaded state.
public void setLoadingFailureState(LoadingState state,
SourceFileExceptionList e)
state - Module loading state. Must not be null.e - Exception that occurred during loading. Must not be null.
IllegalArgumentException - state is no failure statepublic LoadingState getLoadingState()
QedeqBo
getLoadingState in interface QedeqBopublic boolean isLoaded()
QedeqBo
isLoaded in interface QedeqBo
public void setLoaded(QedeqVo qedeq,
ModuleLabels labels)
null to getLabels().
qedeq - This module was loaded. Must not be null.labels - Module labels.
NullPointerException - One argument was null.public String getEncoding()
QedeqBo
getEncoding in interface QedeqBopublic void setEncoding(String encoding)
null.
encoding - Encoding.public Qedeq getQedeq()
QedeqBo
getQedeq in interface QedeqBopublic void setDependencyProgressState(DependencyState state)
state - Module state. Must not be null.
IllegalStateException - Module is not yet loaded.
IllegalArgumentException - state is failure state or loaded required
state.
NullPointerException - state is null.
public void setDependencyFailureState(DependencyState state,
SourceFileExceptionList e)
state - Module dependency state. Must not be null.e - Exception that occurred during loading. Must not be null.
IllegalStateException - Module is not yet loaded.
IllegalArgumentException - state is no failure state.
NullPointerException - state is null.public DependencyState getDependencyState()
QedeqBo
getDependencyState in interface QedeqBopublic void setLoadedRequiredModules(KernelModuleReferenceList list)
list - URLs of all referenced modules. Must not be null.
IllegalStateException - Module is not yet loaded.public ModuleReferenceList getRequiredModules()
QedeqBo
getRequiredModules in interface QedeqBopublic KernelModuleReferenceList getKernelRequiredModules()
public boolean hasLoadedRequiredModules()
QedeqBo
hasLoadedRequiredModules in interface QedeqBopublic KernelModuleReferenceList getDependentModules()
public void setChecked(ExistenceChecker checker)
checker - Checks if a predicate or function constant is defined.public ExistenceChecker getExistenceChecker()
null
if logic was successfully checked.
public boolean isChecked()
QedeqBo
isChecked in interface QedeqBopublic void setLogicalProgressState(LogicalState state)
null.
state - module state
public void setLogicalFailureState(LogicalState state,
SourceFileExceptionList e)
state - module statee - Exception that occurred during loading.
IllegalArgumentException - state is no failure statepublic LogicalState getLogicalState()
QedeqBo
getLogicalState in interface QedeqBopublic SourceFileExceptionList getException()
QedeqBo
getException in interface QedeqBopublic SourceFileExceptionList getWarnings()
FIXME mime 20080324: implement this method. Put in interface and use in GUI.
public String getStateDescription()
QedeqBo
getStateDescription in interface QedeqBopublic String getName()
QedeqBo
getName in interface QedeqBopublic String getRuleVersion()
QedeqBo
getRuleVersion in interface QedeqBopublic URL getUrl()
QedeqBo
getUrl in interface QedeqBopublic void setLabels(ModuleLabels labels)
labels - Label references.public ModuleLabels getLabels()
public SourceFileExceptionList createSourceFileExceptionList(ModuleDataException exception)
ModuleDataException.
exception - Take this exception.
public SourceFileExceptionList createSourceFileExceptionList(ModuleDataException exception,
Qedeq qedeq)
ModuleDataException.
exception - Take this exception.qedeq - Take this QEDEQ source. (This might not be accessible via
getQedeq().
public SourceFileException createSourceFileException(ModuleDataException exception)
ModuleDataException.
exception - Take this exception.
public SourceArea createSourceArea(Qedeq qedeq,
ModuleContext context)
qedeq - Look at this QEDEQ module.context - Search for this context.
null.protected void setQedeqVo(QedeqVo qedeq)
QedeqVo. Doesn't do any status handling. Only for internal use.
qedeq - Set this value.protected void setLoadingState(LoadingState state)
LoadingState. Doesn't do any status handling. Only for internal use.
state - Set this loading state.protected void setDependencyState(DependencyState state)
DependencyState. Doesn't do any status handling. Only for internal use.
state - Set this dependency state.protected void setLogicalState(LogicalState state)
LogicalState. Doesn't do any status handling. Only for internal use.
state - Set this logical state.protected void setException(SourceFileExceptionList exception)
SourceFileExceptionList. Doesn't do any status handling. Only for internal use.
exception - Set this exception.protected StateManager getStateManager()
StateManager. Only for internal use.
protected void setExistenceChecker(ExistenceChecker checker)
ExistenceChecker. Doesn't do any status handling. Only for internal use.
checker - Set this checker.public int hashCode()
public boolean equals(Object obj)
public String toString()
|
Hilbert II - Version 0.03.09 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |