|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.kernel.bo.module.KernelNodeBo
public class KernelNodeBo
Business object for node access.
Field Summary |
---|
Fields inherited from interface org.qedeq.kernel.se.common.CheckLevel |
---|
FAILURE, SUCCESS, UNCHECKED |
Constructor Summary | |
---|---|
KernelNodeBo(NodeVo node,
ModuleContext context,
KernelQedeqBo qedeq,
QedeqNumbers data)
Constructor. |
Method Summary | |
---|---|
Element |
getFormula()
Get formula of node. |
ModuleContext |
getModuleContext()
Get module context the node is within. |
NodeVo |
getNodeVo()
Get plain node data. |
QedeqNumbers |
getNumbers()
Get the results of various counters for the node. |
QedeqBo |
getParentQedeqBo()
Get parent module the node is within. |
KernelQedeqBo |
getQedeqBo()
Get parent module the node is within. |
boolean |
hasFormula()
Has this node a formula? |
boolean |
isNotProved()
This means for propositions that at least not even one formal proof could be successfully checked for correctness. |
boolean |
isNotWellFormed()
Was this node checked unsuccessfully for formal correctness? This means checking the formal syntax of the node formulas. |
boolean |
isProofLineLabel(java.lang.String label)
// FIXME 20110316 m31: we have to solve the uniqueness problem if we have several formal proofs Is the given name a proof line label within this node? |
boolean |
isProved()
This means that at least one formal proof was successfully checked for correctness and a rule declaration was possible. |
boolean |
isWellFormed()
Was this node checked successfully for formal correctness? This means checking the formal syntax of the node formulas. |
void |
setProved(int provedCheck)
Set proved parameter. |
void |
setWellFormed(int wellFormedCheck)
Set proved parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KernelNodeBo(NodeVo node, ModuleContext context, KernelQedeqBo qedeq, QedeqNumbers data)
node
- The plain node data.context
- The module context the node is within.qedeq
- Parent module the node is within.data
- Herein are the results of various counters for the node.Method Detail |
---|
public NodeVo getNodeVo()
getNodeVo
in interface NodeBo
public ModuleContext getModuleContext()
getModuleContext
in interface NodeBo
public QedeqBo getParentQedeqBo()
getParentQedeqBo
in interface NodeBo
public KernelQedeqBo getQedeqBo()
public QedeqNumbers getNumbers()
getNumbers
in interface NodeBo
public boolean isProofLineLabel(java.lang.String label)
label
- Look if this node is a proposition that contains this label name.
public void setWellFormed(int wellFormedCheck)
isWellFormed()
.
wellFormedCheck
- Node well formed state.
See CheckLevel
for parameter format.public boolean isWellFormed()
NodeBo
true
.
isWellFormed
in interface NodeBo
true
if the check was successful.public boolean isNotWellFormed()
NodeBo
false
.
isNotWellFormed
in interface NodeBo
true
if the check was not successful.public void setProved(int provedCheck)
isProved()
.
provedCheck
- Node proved state.
See CheckLevel
for parameter format.public boolean isProved()
NodeBo
true
.
isProved
in interface NodeBo
true
if the check was successful.public boolean isNotProved()
NodeBo
false
.
isNotProved
in interface NodeBo
true
if the check was not successful.public boolean hasFormula()
NodeBo
hasFormula
in interface NodeBo
public Element getFormula()
NodeBo
null
if this node is an Axiom,
PredicateDefinition, FunctionDefinition or Proposition.
getFormula
in interface NodeBo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |