|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.kernel.se.dto.module.FormalProofLineVo
public class FormalProofLineVo
Contains a formal proof for a proposition.
Constructor Summary | |
---|---|
FormalProofLineVo()
Default constructor. |
|
FormalProofLineVo(Formula formula,
Reason reason)
Constructs an proof line. |
|
FormalProofLineVo(java.lang.String label,
Formula formula,
Reason reason)
Constructs an proof line. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Formula |
getFormula()
Get formula for this line. |
java.lang.String |
getLabel()
Get label for this proof line. |
Reason |
getReason()
Get reason for deriving this line. |
int |
hashCode()
|
void |
setFormula(Formula formula)
Set proof line formula. |
void |
setLabel(java.lang.String label)
Set label for proof line. |
void |
setReason(Reason reason)
Set reason type for proof line. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FormalProofLineVo(Formula formula, Reason reason)
formula
- New derived formula.reason
- Rule that was used to derive the formula.public FormalProofLineVo(java.lang.String label, Formula formula, Reason reason)
label
- Label for back references. Might be null
.formula
- New derived formula.reason
- Rule that was used to derive the formula.public FormalProofLineVo()
Method Detail |
---|
public Formula getFormula()
FormalProofLine
getFormula
in interface FormalProofLine
public void setFormula(Formula formula)
formula
- Set formula.public java.lang.String getLabel()
FormalProofLine
getLabel
in interface FormalProofLine
public void setLabel(java.lang.String label)
label
- Set this label.public Reason getReason()
FormalProofLine
getReason
in interface FormalProofLine
public void setReason(Reason reason)
reason
- Set this reason type.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |