org.eclipse.stardust.engine.api.runtime
Class Models

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

public class Models
extends AbstractQueryResult<DeployedModelDescription>

Result of an DeployedModelQuery execution. Retrieved items are instances of DeployedModelDescription.

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

Constructor Summary
Models(Query query, List<DeployedModelDescription> result)
          Creates a new Models object.
 
Method Summary
 DeployedModelQuery getQuery()
          Gets the query this result is based on.
 
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

Models

public Models(Query query,
              List<DeployedModelDescription> result)
Creates a new Models object.

Parameters:
query - the query performed.
result - the result of the query.
Method Detail

getQuery

public DeployedModelQuery getQuery()
Gets the query this result is based on.

Returns:
The DeployedModelQuery this result is based on.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.