- Enclosing class:
- StandardObjectChangeFilter
protected static class StandardObjectChangeFilter.Filter
extends Object
The Filter class is used internally to do the actual work. A Filter consists of
an objectType and a regex Pattern.
The main method is matches(), which returns true if the given DatabaseObject
matches the filter, and false if it does not match the Filter.
If the objectType is null, then just the Pattern is used to compare the "name" of
the object whether it matches or not.
If the objectType is not null, then the objectType of the Filter must be
assignableFrom the given DatabaseObject, AND the "name" of the DatabaseObject
must match the Pattern.
The "name" of the object might be what is returned from getName(), or it might
be a different 'identifier' for different objet types.