org.camunda.bpm.model.dmn.impl
Class QueryImpl<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>

java.lang.Object
  extended by org.camunda.bpm.model.dmn.impl.QueryImpl<T>
All Implemented Interfaces:
Query<T>

public class QueryImpl<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
extends Object
implements Query<T>


Constructor Summary
QueryImpl(Collection<T> collection)
           
 
Method Summary
 int count()
           
<V extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
Query<V>
filterByType(Class<V> elementClass)
           
<V extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
Query<V>
filterByType(org.camunda.bpm.model.xml.type.ModelElementType elementType)
           
 List<T> list()
           
 T singleResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryImpl

public QueryImpl(Collection<T> collection)
Method Detail

list

public List<T> list()
Specified by:
list in interface Query<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>

count

public int count()
Specified by:
count in interface Query<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>

filterByType

public <V extends org.camunda.bpm.model.xml.instance.ModelElementInstance> Query<V> filterByType(org.camunda.bpm.model.xml.type.ModelElementType elementType)
Specified by:
filterByType in interface Query<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>

filterByType

public <V extends org.camunda.bpm.model.xml.instance.ModelElementInstance> Query<V> filterByType(Class<V> elementClass)
Specified by:
filterByType in interface Query<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>

singleResult

public T singleResult()
Specified by:
singleResult in interface Query<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>


Copyright © 2018 camunda services GmbH. All rights reserved.