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.IAsyncFilterIAsyncFilter.AlwaysFilter<E>, IAsyncFilter.NeverFilter<E>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.ObjectsidThe service id.- 
Fields inherited from interface jadex.commons.IAsyncFilterALWAYS, NEVER
 
- 
 - 
Constructor SummaryConstructors Constructor Description ServiceIdFilter()Create a new filter.ServiceIdFilter(java.lang.Object sid)Create a new filter.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(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.ObjectgetId()Get the id.inthashCode()Get the hashcode.voidsetId(java.lang.Object sid)Set the id.
 
- 
- 
- 
Method Detail- 
getIdpublic java.lang.Object getId() Get the id.- Returns:
- the id.
 
 - 
setIdpublic void setId(java.lang.Object sid) Set the id.- Parameters:
- id- The id to set.
 
 - 
filterpublic IFuture<java.lang.Boolean> filter(java.lang.Object obj) Test if service is a proxy.- Specified by:
- filterin interface- IAsyncFilter
- Returns:
- True, if passes the filter.
 
 - 
hashCodepublic int hashCode() Get the hashcode.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test if an object is equal to this.- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-