Package org.camunda.bpm.model.dmn.impl
Class QueryImpl<T extends ModelElementInstance>
- java.lang.Object
-
- org.camunda.bpm.model.dmn.impl.QueryImpl<T>
-
- All Implemented Interfaces:
Query<T>
public class QueryImpl<T extends ModelElementInstance> extends Object implements Query<T>
-
-
Constructor Summary
Constructors Constructor Description QueryImpl(Collection<T> collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
<V extends ModelElementInstance>
Query<V>filterByType(Class<V> elementClass)
<V extends ModelElementInstance>
Query<V>filterByType(ModelElementType elementType)
List<T>
list()
T
singleResult()
-
-
-
Constructor Detail
-
QueryImpl
public QueryImpl(Collection<T> collection)
-
-
Method Detail
-
count
public int count()
- Specified by:
count
in interfaceQuery<T extends ModelElementInstance>
-
filterByType
public <V extends ModelElementInstance> Query<V> filterByType(ModelElementType elementType)
- Specified by:
filterByType
in interfaceQuery<T extends ModelElementInstance>
-
filterByType
public <V extends ModelElementInstance> Query<V> filterByType(Class<V> elementClass)
- Specified by:
filterByType
in interfaceQuery<T extends ModelElementInstance>
-
singleResult
public T singleResult()
- Specified by:
singleResult
in interfaceQuery<T extends ModelElementInstance>
-
-