SMILA (incubation) API documentation

org.eclipse.smila.processing
Class SearchMessage

java.lang.Object
  extended by org.eclipse.smila.processing.ProcessorMessage
      extended by org.eclipse.smila.processing.SearchMessage

public class SearchMessage
extends ProcessorMessage

extension of ProcessorMessage for search processing. Adds a single query record to the list of records in process.

Author:
jschumacher

Constructor Summary
SearchMessage()
          create empty instance.
SearchMessage(Id query)
          create instance from data.
SearchMessage(Id query, Id[] records)
          create instance from data.
 
Method Summary
 Id getQuery()
           
 boolean hasQuery()
           
 void setQuery(Id query)
           
 
Methods inherited from class org.eclipse.smila.processing.ProcessorMessage
getRecords, hasRecords, setRecords, setRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchMessage

public SearchMessage()
create empty instance.


SearchMessage

public SearchMessage(Id query)
create instance from data.

Parameters:
query - the query record.

SearchMessage

public SearchMessage(Id query,
                     Id[] records)
create instance from data.

Parameters:
query - the query record.
records - records to process
Method Detail

getQuery

public Id getQuery()
Returns:
the query record.

setQuery

public void setQuery(Id query)
Parameters:
query - the query record.

hasQuery

public boolean hasQuery()
Returns:
true if it contains a query Id. false if the Id is null.

SMILA (incubation) API documentation