|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.utils.AndDecider
public class AndDecider
INTERNAL: Decider that checks all subdeciders and returns true if all of them gives a positive decision. Note that the decision is shortcircuited when the first decider gives a negative decision, the rest is then not checked.
| Constructor Summary | |
|---|---|
AndDecider(java.util.Collection deciders)
|
|
| Method Summary | |
|---|---|
void |
addDecider(DeciderIF decider)
Add a subdecider. |
java.util.Collection |
getDeciders()
Gets the subdeciders. |
boolean |
ok(java.lang.Object object)
PUBLIC: Returns true if the object is accepted. |
void |
removeDecider(DeciderIF decider)
Remove a subdecider. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AndDecider(java.util.Collection deciders)
| Method Detail |
|---|
public java.util.Collection getDeciders()
public void addDecider(DeciderIF decider)
public void removeDecider(DeciderIF decider)
public boolean ok(java.lang.Object object)
DeciderIF
ok in interface DeciderIF
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||