Package jadex.bridge.service.search
Class ServiceIdFilter
- java.lang.Object
-
- jadex.bridge.service.search.ServiceIdFilter
-
- All Implemented Interfaces:
IAsyncFilter
public class ServiceIdFilter extends java.lang.Object implements IAsyncFilter
Filter for service ids.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jadex.commons.IAsyncFilter
IAsyncFilter.AlwaysFilter<E>, IAsyncFilter.NeverFilter<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
sid
The service id.-
Fields inherited from interface jadex.commons.IAsyncFilter
ALWAYS, NEVER
-
-
Constructor Summary
Constructors Constructor Description ServiceIdFilter()
Create a new filter.ServiceIdFilter(java.lang.Object sid)
Create a new filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Test if an object is equal to this.IFuture<java.lang.Boolean>
filter(java.lang.Object obj)
Test if service is a proxy.java.lang.Object
getId()
Get the id.int
hashCode()
Get the hashcode.void
setId(java.lang.Object sid)
Set the id.
-
-
-
Method Detail
-
getId
public java.lang.Object getId()
Get the id.- Returns:
- the id.
-
setId
public void setId(java.lang.Object sid)
Set the id.- Parameters:
id
- The id to set.
-
filter
public IFuture<java.lang.Boolean> filter(java.lang.Object obj)
Test if service is a proxy.- Specified by:
filter
in interfaceIAsyncFilter
- Returns:
- True, if passes the filter.
-
hashCode
public int hashCode()
Get the hashcode.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if an object is equal to this.- Overrides:
equals
in classjava.lang.Object
-
-