|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.runtime.ComposedFilter
A filter checks if an object matches the given subfilters.
Field Summary | |
static int |
AND
The AND operator. |
static int |
NOT
The NOT operator. |
static int |
OR
The OR operator. |
Fields inherited from interface jadex.runtime.IFilter |
ALWAYS, NEVER |
Constructor Summary | |
ComposedFilter(IFilter[] filters,
int operator)
Create a composed filter. |
Method Summary | |
boolean |
filter(Object object)
Match an object against the filter. |
Map |
getEncodableRepresentation()
Get the encodable representation. |
static String |
operatorToString(int operator)
Create a string representation of the operator. |
String |
toString()
Create a string representation of this filter. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int AND
public static final int OR
public static final int NOT
Constructor Detail |
public ComposedFilter(IFilter[] filters, int operator)
filters
- The filters.operator
- The operator.Method Detail |
public boolean filter(Object object) throws Exception
filter
in interface IFilter
object
- The object.
Exception
public String toString()
public static String operatorToString(int operator)
public Map getEncodableRepresentation()
getEncodableRepresentation
in interface jadex.runtime.impl.IEncodable
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.