org.eclipse.stardust.engine.api.query
Class BusinessObjects

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<T>
          extended by org.eclipse.stardust.engine.api.query.AbstractQueryResult<org.eclipse.stardust.engine.api.runtime.BusinessObject>
              extended by org.eclipse.stardust.engine.api.query.BusinessObjects
All Implemented Interfaces:
Serializable, Iterable<org.eclipse.stardust.engine.api.runtime.BusinessObject>, Collection<org.eclipse.stardust.engine.api.runtime.BusinessObject>, List<org.eclipse.stardust.engine.api.runtime.BusinessObject>, QueryResult<org.eclipse.stardust.engine.api.runtime.BusinessObject>

public class BusinessObjects
extends AbstractQueryResult<org.eclipse.stardust.engine.api.runtime.BusinessObject>

Result of an BusinessObjectQuery execution. Retrieved items are instances of BusinessObject.

Version:
$Revision: $
Author:
Florin.Herinean
See Also:
Serialized Form

Constructor Summary
BusinessObjects(Query query, List<org.eclipse.stardust.engine.api.runtime.BusinessObject> result)
          Creates a new execution result.
 
Method Summary
 BusinessObjectQuery getQuery()
          Retrieves the original query.
 
Methods inherited from class org.eclipse.stardust.engine.api.query.AbstractQueryResult
get, getSize, getSubsetPolicy, getTotalCount, getTotalCountThreshold, hasMore, size
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 

Constructor Detail

BusinessObjects

public BusinessObjects(Query query,
                       List<org.eclipse.stardust.engine.api.runtime.BusinessObject> result)
Creates a new execution result.

Parameters:
query - the original query.
result - the results of the query.
Method Detail

getQuery

public BusinessObjectQuery getQuery()
Retrieves the original query.

Returns:
the business object query used to obtain these results.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.