Class ServiceIdFilter

java.lang.Object
jadex.providedservice.impl.search.ServiceIdFilter
All Implemented Interfaces:
jadex.model.IAsyncFilter<Object>

public class ServiceIdFilter extends Object implements jadex.model.IAsyncFilter<Object>
Filter for service ids.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface jadex.model.IAsyncFilter

    jadex.model.IAsyncFilter.AlwaysFilter<E>, jadex.model.IAsyncFilter.NeverFilter<E>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Object
    The service id.

    Fields inherited from interface jadex.model.IAsyncFilter

    ALWAYS, NEVER
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new filter.
    Create a new filter.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Test if an object is equal to this.
    jadex.future.IFuture<Boolean>
    Test if service is a proxy.
    Get the id.
    int
    Get the hashcode.
    void
    Set the id.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • sid

      protected Object sid
      The service id.
  • Constructor Details

    • ServiceIdFilter

      public ServiceIdFilter()
      Create a new filter.
    • ServiceIdFilter

      public ServiceIdFilter(Object sid)
      Create a new filter.
  • Method Details

    • getId

      public Object getId()
      Get the id.
      Returns:
      the id.
    • setId

      public void setId(Object sid)
      Set the id.
      Parameters:
      id - The id to set.
    • filter

      public jadex.future.IFuture<Boolean> filter(Object obj)
      Test if service is a proxy.
      Specified by:
      filter in interface jadex.model.IAsyncFilter<Object>
    • hashCode

      public int hashCode()
      Get the hashcode.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Test if an object is equal to this.
      Overrides:
      equals in class Object