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 java.lang.Object implements Query<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
<V extends ModelElementInstance>
Query<V>filterByType(java.lang.Class<V> elementClass)
<V extends ModelElementInstance>
Query<V>filterByType(ModelElementType elementType)
java.util.List<T>
list()
T
singleResult()
-
-
-
Constructor Detail
-
QueryImpl
public QueryImpl(java.util.Collection<T> collection)
-
-
Method Detail
-
list
public java.util.List<T> list()
- Specified by:
list
in interfaceQuery<T extends ModelElementInstance>
-
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(java.lang.Class<V> elementClass)
- Specified by:
filterByType
in interfaceQuery<T extends ModelElementInstance>
-
singleResult
public T singleResult()
- Specified by:
singleResult
in interfaceQuery<T extends ModelElementInstance>
-
-