Hilbert II - Version 0.03.04

org.qedeq.kernel.dto.module
Class RuleVo

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

public class RuleVo
extends Object
implements Rule

Rule declaration.

Version:
$Revision: 1.7 $

Constructor Summary
RuleVo()
          Constructs a new rule declaration.
 
Method Summary
 void addLink(String id)
          Add link for this rule.
 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 rule description.
 FunctionDefinition getFunctionDefinition()
          Get definition, if this is an instance of FunctionDefinition.
 LinkList getLinkList()
          Get links necessary for having this rule.
 String getName()
          Get rule name.
 PredicateDefinition getPredicateDefinition()
          Get definition, if this is an instance of PredicateDefinition.
 ProofList getProofList()
          Get proofs for rule declaration.
 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 setLinkList(LinkListVo linkList)
          Set list of necessary ids.
 void setName(String name)
          Set rule name.
 void setProofList(ProofListVo proofList)
          Set rule proof list.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleVo

public RuleVo()
Constructs a new rule declaration.

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.

setName

public final void setName(String name)
Set rule name.

Parameters:
name - Rule name.

getName

public final String getName()
Description copied from interface: Rule
Get rule name.

Specified by:
getName in interface Rule
Returns:
Name of rule.

setLinkList

public final void setLinkList(LinkListVo linkList)
Set list of necessary ids.

Parameters:
linkList - List.

getLinkList

public final LinkList getLinkList()
Description copied from interface: Rule
Get links necessary for having this rule.

Specified by:
getLinkList in interface Rule
Returns:
List of ids.

addLink

public final void addLink(String id)
Add link for this rule.

Parameters:
id - Id to add.

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: Rule
Get rule description.

Specified by:
getDescription in interface Rule
Returns:
Description.

setProofList

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

Parameters:
proofList - Proof list.

getProofList

public final ProofList getProofList()
Description copied from interface: Rule
Get proofs for rule declaration.

Specified by:
getProofList in interface Rule
Returns:
Rule proof.

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.04

©left GNU General Public Licence
All Rights Reserved.