Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
id
The desired identifier for SBases to be acceptable.
|
Constructor and Description |
---|
IdFilter()
Creates a new instance of
IdFilter . |
IdFilter(java.lang.String id)
Creates a new instance of
IdFilter . |
Modifier and Type | Method and 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 IdFilter()
IdFilter
.public IdFilter(java.lang.String id)
IdFilter
.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