Constructor | Description |
---|---|
SIdFilter() |
Creates a new instance of
SIdFilter . |
SIdFilter(java.lang.String id) |
Creates a new instance of
SIdFilter . |
Modifier and Type | Method | Description |
---|---|---|
boolean |
accepts(java.lang.Object o) |
This method checks whether the given object is of the correct type and
has the desired properties set to be acceptable.
|
java.lang.String |
getId() |
Returns the id that will be searched for by the filter.
|
void |
setId(java.lang.String id) |
Sets the id that will be searched for by the filter.
|
public SIdFilter()
SIdFilter
.public SIdFilter(java.lang.String id)
SIdFilter
.id
- the id to search forpublic boolean accepts(java.lang.Object o)
Filter
public java.lang.String getId()
public void setId(java.lang.String id)
id
- the id to set