org.camunda.bpm.model.dmn.impl
Class QueryImpl<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
java.lang.Object
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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryImpl
public QueryImpl(Collection<T> collection)
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 © 2017 camunda services GmbH. All rights reserved.