public class SpecificFilterImpl extends java.lang.Object implements IndexedFilter
| Constructor and Description |
|---|
SpecificFilterImpl(java.lang.String contract,
java.lang.String name,
long id,
long locatorId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdvertisedContract()
If this returns non-null then this index will
be used to limit the set of Descriptors that
will be passed to the matches method.
|
java.lang.String |
getName()
If this returns non-null then this name will
be used to limit the set of Descriptors that
will be passed to the matches method.
|
boolean |
matches(Descriptor d)
Returns true if this filter matches the
given object
|
public SpecificFilterImpl(java.lang.String contract,
java.lang.String name,
long id,
long locatorId)
public boolean matches(Descriptor d)
Filterpublic java.lang.String getAdvertisedContract()
IndexedFiltergetAdvertisedContract in interface IndexedFilterpublic java.lang.String getName()
IndexedFiltergetName in interface IndexedFilterCopyright © 2013 Oracle Corporation. All Rights Reserved.