|
Hilbert II - Version 0.03.04 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qedeq.kernel.dto.module.PredicateDefinitionVo
Definition of operator. This is a predicate constant. For example the predicate "x is a set" could be defined in MK with the formula "\exists y: x \in y".
There must also be the possibility to define basic predicate constants like "x is element of y".
Constructor Summary | |
PredicateDefinitionVo()
Constructs a new definition. |
Method Summary | |
boolean |
equals(Object obj)
|
String |
getArgumentNumber()
Get number of arguments for the defined object. |
Axiom |
getAxiom()
Get axiom, if this is an instance of Axiom . |
LatexList |
getDescription()
Get description. |
Formula |
getFormula()
Get term that defines the object. |
FunctionDefinition |
getFunctionDefinition()
Get definition, if this is an instance of FunctionDefinition . |
String |
getLatexPattern()
Get LaTeX output for definition. |
String |
getName()
This name together with getArgumentNumber() identifies a predicate. |
PredicateDefinition |
getPredicateDefinition()
Get definition, if this is an instance of PredicateDefinition . |
Proposition |
getProposition()
Get proposition, if this is an instance of Proposition . |
Rule |
getRule()
Get rule, if this is an instance of Rule . |
VariableList |
getVariableList()
Get variable list of definition arguments. |
int |
hashCode()
|
void |
setArgumentNumber(String argumentNumber)
Set information about the argument number the defined object needs. |
void |
setDescription(LatexListVo description)
Set description. |
void |
setFormula(FormulaVo formulaOrTerm)
Set defining formula or term that defines the object. |
void |
setLatexPattern(String latexPattern)
Set LaTeX pattern for definition visualisation. |
void |
setName(String name)
Set predicate name. |
void |
setVariableList(VariableListVo variables)
Set list of formula or subject variables to be replaced in the LaTeX pattern. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PredicateDefinitionVo()
Method Detail |
public Axiom getAxiom()
NodeType
Axiom
.
getAxiom
in interface NodeType
null
.public PredicateDefinition getPredicateDefinition()
NodeType
PredicateDefinition
.
getPredicateDefinition
in interface NodeType
null
.public FunctionDefinition getFunctionDefinition()
NodeType
FunctionDefinition
.
getFunctionDefinition
in interface NodeType
null
.public Proposition getProposition()
NodeType
Proposition
.
getProposition
in interface NodeType
null
.public Rule getRule()
NodeType
Rule
.
getRule
in interface NodeType
null
.public final void setArgumentNumber(String argumentNumber)
argumentNumber
- Argument number information.public final String getArgumentNumber()
PredicateDefinition
getArgumentNumber
in interface PredicateDefinition
public void setName(String name)
getArgumentNumber()
this
identifies a predicate.
name
- public String getName()
PredicateDefinition
PredicateDefinition.getArgumentNumber()
identifies a predicate.
getName
in interface PredicateDefinition
public final void setLatexPattern(String latexPattern)
#1
, #2
and so on. For example
\mathfrak{M}(#1)
.
latexPattern
- LaTeX pattern for definition visualisation.public final String getLatexPattern()
PredicateDefinition
getLatexPattern
in interface PredicateDefinition
public final void setVariableList(VariableListVo variables)
null
.
variables
- Variable list for replacement.public final VariableList getVariableList()
PredicateDefinition
getVariableList
in interface PredicateDefinition
null
.public final void setFormula(FormulaVo formulaOrTerm)
null
.
formulaOrTerm
- Formula or term that defines the new operator.public final Formula getFormula()
PredicateDefinition
null
.
getFormula
in interface PredicateDefinition
public final void setDescription(LatexListVo description)
description
- Description.public LatexList getDescription()
PredicateDefinition
getDescription
in interface PredicateDefinition
public boolean equals(Object obj)
public int hashCode()
public String toString()
|
Hilbert II - Version 0.03.04 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |