public abstract class ComparableAttributeFilter extends SingleValueAttributeFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ConnectorObject obj)
Determines whether the specified
ConnectorObject
matches this filter. |
boolean |
accept(EmbeddedObject obj)
Determines whether the specified
EmbeddedObject
matches this filter. |
protected abstract boolean |
accept(java.lang.Object obj) |
protected int |
compare(java.lang.Object obj) |
getValue
getAttribute, getName, isPresent
public boolean accept(ConnectorObject obj)
Filter
ConnectorObject
matches this filter.obj
- - The specified ConnectorObject
.true
if the object matches
(that is, satisfies all selection criteria of) this filter;
otherwise false
.public boolean accept(EmbeddedObject obj)
Filter
EmbeddedObject
matches this filter.obj
- - The specified EmbeddedObject
.true
if the object matches
(that is, satisfies all selection criteria of) this filter;
otherwise false
.protected abstract boolean accept(java.lang.Object obj)
protected final int compare(java.lang.Object obj)