Hilbert II - Version 0.01.09

org.qedeq.kernel.bo.module
Class AxiomBo

java.lang.Object
  extended byorg.qedeq.kernel.bo.module.AxiomBo
All Implemented Interfaces:
Axiom, NodeType

public final class AxiomBo
extends Object
implements Axiom

Axiom.

Version:
$Revision: 1.5 $

Constructor Summary
AxiomBo()
          Constructs a new axiom.
 
Method Summary
 boolean equals(Object obj)
           
 Axiom getAxiom()
          Get axiom, if this is an instance of Axiom.
 Definition getDefinition()
          Get definition, if this is an instance of Definition.
 LatexList getDescription()
          Get description.
 FormulaOrTerm getFormula()
          Get formula that is an axiom.
 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(LatexList description)
          Set description.
 void setFormula(FormulaOrTerm formula)
          Set axiom formula.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AxiomBo

public AxiomBo()
Constructs a new axiom.

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.

getDefinition

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

Specified by:
getDefinition 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(FormulaOrTerm formula)
Set axiom formula.

Parameters:
formula - Axiom formula.

getFormula

public final FormulaOrTerm getFormula()
Description copied from interface: Axiom
Get formula that is an axiom.

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

setDescription

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

Parameters:
description - Description.

getDescription

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

Specified by:
getDescription in interface Axiom
Returns:
Description.

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()

Hilbert II - Version 0.01.09

©left GNU General Public Licence
All Rights Reserved.