|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleConstantsExistenceChecker
Contains methods for existence checking of various operands.
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. |
FunctionConstant |
get(FunctionKey function)
Get function constant definition. |
PredicateConstant |
get(PredicateKey predicate)
Get predicate constant definition. |
Rule |
get(RuleKey ruleKey)
Get rule declaration. |
KernelQedeqBo |
getClassOperatorModule()
Get QEDEQ module where the class operator is defined within. |
FunctionConstant |
getFunction(java.lang.String name,
int arguments)
Get function constant definition. |
KernelQedeqBo |
getIdentityOperatorModule()
Get QEDEQ module where the identity operator is defined within. |
RuleKey |
getParentRuleKey(java.lang.String ruleName)
Get maximum rule version that is defined in an imported module. |
PredicateConstant |
getPredicate(java.lang.String name,
int arguments)
Get predicate constant definition. |
KernelQedeqBo |
getQedeq(FunctionKey function)
Get QEDEQ module where given function constant is defined. |
KernelQedeqBo |
getQedeq(PredicateKey predicate)
Get QEDEQ module where given predicate constant is defined. |
KernelQedeqBo |
getQedeq(RuleKey ruleKey)
Get QEDEQ module where given rule is defined. |
RuleKey |
getRuleKey(java.lang.String ruleName)
Get maximum rule version that is defined in this or an imported module. |
java.util.Map |
getRules()
Get map of all RuleKey s defined in this module or in one of the imported ones. |
boolean |
predicateExists(PredicateKey predicate)
Check if a predicate is already defined. |
void |
setClassOperatorModule(KernelQedeqBo classOperatorModule,
ModuleContext context)
Set if the class operator is already defined. |
void |
setIdentityOperatorDefined(java.lang.String identityOperator,
KernelQedeqBo identityOperatorModule,
ModuleContext context)
Set the identity operator. |
Methods inherited from interface org.qedeq.kernel.bo.logic.common.PredicateExistenceChecker |
---|
isInitialPredicate, predicateExists |
Methods inherited from interface org.qedeq.kernel.bo.logic.common.FunctionExistenceChecker |
---|
functionExists, isInitialFunction |
Methods inherited from interface org.qedeq.kernel.bo.logic.common.IdentityOperatorExistenceChecker |
---|
getIdentityOperator, identityOperatorExists |
Methods inherited from interface org.qedeq.kernel.bo.logic.common.RuleExistenceChecker |
---|
ruleExists |
Method Detail |
---|
boolean predicateExists(PredicateKey predicate)
PredicateExistenceChecker
predicateExists
in interface PredicateExistenceChecker
predicate
- Predicate.
boolean functionExists(FunctionKey function)
FunctionExistenceChecker
functionExists
in interface FunctionExistenceChecker
function
- Function.
KernelQedeqBo getQedeq(FunctionKey function)
function
- Function we look for.
KernelQedeqBo getQedeq(PredicateKey predicate)
predicate
- Predicate we look for.
KernelQedeqBo getQedeq(RuleKey ruleKey)
ruleKey
- Rule we look for.
RuleKey getRuleKey(java.lang.String ruleName)
ruleName
- Rule we look for.
RuleKey getParentRuleKey(java.lang.String ruleName)
ruleName
- Rule we look for.
java.util.Map getRules()
RuleKey
s defined in this module or in one of the imported ones.
RuleKey
to KernelQedeqBo
.boolean classOperatorExists()
ClassOperatorExistenceChecker
classOperatorExists
in interface ClassOperatorExistenceChecker
void setIdentityOperatorDefined(java.lang.String identityOperator, KernelQedeqBo identityOperatorModule, ModuleContext context) throws IdentityOperatorAlreadyExistsException
identityOperator
- Operator name. Might be null
.identityOperatorModule
- In this module the identity operator is defined.context
- Here we are within the module.
IdentityOperatorAlreadyExistsException
- Already defined.void setClassOperatorModule(KernelQedeqBo classOperatorModule, ModuleContext context) throws ClassOperatorAlreadyExistsException
classOperatorModule
- Module where class operator is defined.context
- Context where we try to set new class operator.
ClassOperatorAlreadyExistsException
- Operator already defined.KernelQedeqBo getClassOperatorModule()
KernelQedeqBo getIdentityOperatorModule()
PredicateConstant get(PredicateKey predicate)
predicate
- Get definition of this predicate.
PredicateConstant getPredicate(java.lang.String name, int arguments)
name
- Name of predicate.arguments
- Arguments of predicate.
null
.FunctionConstant get(FunctionKey function)
function
- Get definition of this predicate.
null
.FunctionConstant getFunction(java.lang.String name, int arguments)
name
- Name of function.arguments
- Arguments of function.
null
.Rule get(RuleKey ruleKey)
ruleKey
- Get definition of this rule.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |