|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.kernel.bo.logic.wf.EverythingExists
public final class EverythingExists
This implementation gives always the answer true
to the question
exists this predicate?.
Field Summary |
---|
Fields inherited from interface org.qedeq.kernel.bo.logic.common.ExistenceChecker |
---|
NAME_EQUAL |
Method Summary | |
---|---|
boolean |
classOperatorExists()
Check if the class operator is already defined. |
boolean |
functionExists(FunctionKey function)
Check if a function is already defined. |
boolean |
functionExists(java.lang.String name,
int arguments)
Check if a function is already defined. |
java.lang.String |
getIdentityOperator()
Get identity operator. |
static ExistenceChecker |
getInstance()
Get one instance of this class. |
boolean |
identityOperatorExists()
Check if the identity operator is already defined. |
boolean |
isInitialFunction(FunctionKey predicate)
Check if given function key has an initial function definition. |
boolean |
isInitialPredicate(PredicateKey predicate)
Check if given predicate key has an initial predicate definition. |
boolean |
predicateExists(PredicateKey predicate)
Check if a predicate is already defined. |
boolean |
predicateExists(java.lang.String name,
int arguments)
Check if a predicate is already defined. |
boolean |
ruleExists(RuleKey ruleKey)
Check if a rule is already defined. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean predicateExists(java.lang.String name, int arguments)
PredicateExistenceChecker
predicateExists
in interface PredicateExistenceChecker
name
- Predicate name.arguments
- Number of operands for the predicate.
public boolean predicateExists(PredicateKey predicate)
PredicateExistenceChecker
predicateExists
in interface PredicateExistenceChecker
predicate
- Predicate.
public boolean isInitialPredicate(PredicateKey predicate)
PredicateExistenceChecker
isInitialPredicate
in interface PredicateExistenceChecker
predicate
- Predicate.
public boolean functionExists(java.lang.String name, int arguments)
FunctionExistenceChecker
functionExists
in interface FunctionExistenceChecker
name
- Function name.arguments
- Number of operands for the function.
public boolean functionExists(FunctionKey function)
FunctionExistenceChecker
functionExists
in interface FunctionExistenceChecker
function
- Function.
public boolean isInitialFunction(FunctionKey predicate)
FunctionExistenceChecker
isInitialFunction
in interface FunctionExistenceChecker
predicate
- Function key.
public boolean classOperatorExists()
ClassOperatorExistenceChecker
classOperatorExists
in interface ClassOperatorExistenceChecker
public boolean identityOperatorExists()
IdentityOperatorExistenceChecker
identityOperatorExists
in interface IdentityOperatorExistenceChecker
public java.lang.String getIdentityOperator()
IdentityOperatorExistenceChecker
getIdentityOperator
in interface IdentityOperatorExistenceChecker
null
if !IdentityOperatorExistenceChecker.identityOperatorExists()
.public static final ExistenceChecker getInstance()
public boolean ruleExists(RuleKey ruleKey)
RuleExistenceChecker
ruleExists
in interface RuleExistenceChecker
ruleKey
- Rule defining data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |