|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiz.hammurapi.config.ComponentBase
biz.hammurapi.rules.AbstractRule
biz.hammurapi.rules.Rule
biz.hammurapi.rules.tutorial.rules.GrandRules
public class GrandRules
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class biz.hammurapi.rules.Rule |
|---|
biz.hammurapi.rules.Rule.AcceptInfo, biz.hammurapi.rules.Rule.ChangeDetector |
| Field Summary |
|---|
| Fields inherited from class biz.hammurapi.config.ComponentBase |
|---|
owner |
| Fields inherited from interface biz.hammurapi.rules.Constants |
|---|
COLLECTION_MANAGER, DESCRIPTION, HANDLE_MANAGER, KNOWLEDGE_COMPACTOR, NAME, NEGATOR_CLASS, OBJECT_FILTER, RETAIN_NEGATORS, RULES, URI_DIRECT, URI_PROPERTY, WORKER_REF |
| Constructor Summary | |
|---|---|
GrandRules()
|
|
| Method Summary | |
|---|---|
GrandFather |
infer(Child child,
Father father)
Father of parent is grandparent. |
GrandMother |
infer(Child child,
Mother mother)
Mother of parent is grandmother. |
GrandDaughter |
infer(Daughter daughter,
Parent parent)
Daughter of child is a granddaughter. |
GrandSon |
infer(Son son,
Parent parent)
Son of child is a grandson. |
| Methods inherited from class biz.hammurapi.rules.Rule |
|---|
getInvocationCounter, getInvocationHandlers, getRemoveHandlers, newChangeDetector, post, remove, reset, resetInvocationCounter, setMethodFactTypes, setMethodFactTypes, setMethodFactTypes, setMethodFactTypes, start, update |
| Methods inherited from class biz.hammurapi.rules.AbstractRule |
|---|
getCollection, getDescription, getName, setDescription, setName, stop, toString |
| Methods inherited from class biz.hammurapi.config.ComponentBase |
|---|
addMeasurement, get, getChild, getMeasurementConsumer, getOwner, getOwner, setMeasurementConsumer, setOwner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GrandRules()
| Method Detail |
|---|
public GrandSon infer(Son son,
Parent parent)
son - parent -
public GrandDaughter infer(Daughter daughter,
Parent parent)
daughter - parent -
public GrandFather infer(Child child,
Father father)
child - father -
public GrandMother infer(Child child,
Mother mother)
child - mother -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||