Hilbert II - Version 0.03.01

org.qedeq.kernel.dto.module
Class PropositionVo

java.lang.Object
  extended byorg.qedeq.kernel.dto.module.PropositionVo
All Implemented Interfaces:
NodeType, Proposition

public final class PropositionVo
extends Object
implements Proposition

Proposition.

Version:
$Revision: 1.7 $

Constructor Summary
PropositionVo()
          Constructs a new proposition.
 
Method Summary
 void addProof(ProofVo proof)
          Add proof to this list.
 boolean equals(Object obj)
           
 Axiom getAxiom()
          Get axiom, if this is an instance of Axiom.
 LatexList getDescription()
          Get description.
 Formula getFormula()
          Get formula that is a proposition.
 FunctionDefinition getFunctionDefinition()
          Get definition, if this is an instance of FunctionDefinition.
 PredicateDefinition getPredicateDefinition()
          Get definition, if this is an instance of PredicateDefinition.
 ProofList getProofList()
          Get proofs for proposition.
 Proposition getProposition()
          Get proposition, if this is an instance of Proposition.
 Rule getRule()
          Get rule, if this is an instance of Rule.
 int hashCode()
           
 void setDescription(LatexListVo description)
          Set description.
 void setFormula(FormulaVo formula)
          Set proposition formula.
 void setProofList(ProofListVo proofList)
          Set proof list.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropositionVo

public PropositionVo()
Constructs a new proposition.

Method Detail

getAxiom

public Axiom getAxiom()
Description copied from interface: NodeType
Get axiom, if this is an instance of Axiom.

Specified by:
getAxiom in interface NodeType
Returns:
Axiom, maybe null.

getPredicateDefinition

public PredicateDefinition getPredicateDefinition()
Description copied from interface: NodeType
Get definition, if this is an instance of PredicateDefinition.

Specified by:
getPredicateDefinition in interface NodeType
Returns:
Definition, maybe null.

getFunctionDefinition

public FunctionDefinition getFunctionDefinition()
Description copied from interface: NodeType
Get definition, if this is an instance of FunctionDefinition.

Specified by:
getFunctionDefinition in interface NodeType
Returns:
Definition, maybe null.

getProposition

public Proposition getProposition()
Description copied from interface: NodeType
Get proposition, if this is an instance of Proposition.

Specified by:
getProposition in interface NodeType
Returns:
Proposition, maybe null.

getRule

public Rule getRule()
Description copied from interface: NodeType
Get rule, if this is an instance of Rule.

Specified by:
getRule in interface NodeType
Returns:
Rule, maybe null.

setFormula

public final void setFormula(FormulaVo formula)
Set proposition formula.

Parameters:
formula - Proposition formula.

getFormula

public final Formula getFormula()
Description copied from interface: Proposition
Get formula that is a proposition.

Specified by:
getFormula in interface Proposition
Returns:
Proposition formula.

setDescription

public final void setDescription(LatexListVo description)
Set description. Only necessary if formula is not self-explanatory.

Parameters:
description - Description.

getDescription

public LatexList getDescription()
Description copied from interface: Proposition
Get description. Only necessary if formula is not self-explanatory.

Specified by:
getDescription in interface Proposition
Returns:
Description.

setProofList

public final void setProofList(ProofListVo proofList)
Set proof list.

Parameters:
proofList - Proof list.

getProofList

public final ProofList getProofList()
Description copied from interface: Proposition
Get proofs for proposition.

Specified by:
getProofList in interface Proposition
Returns:
Proposition proofs.

addProof

public final void addProof(ProofVo proof)
Add proof to this list.

Parameters:
proof - Proof to add.

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()

Hilbert II - Version 0.03.01

©left GNU General Public Licence
All Rights Reserved.