public abstract class AbstractXAttribute<E,T>
extends com.googlecode.cqengine.attribute.MultiValueAttribute<E,T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractXAttribute(java.lang.Class<E> objectType,
java.lang.Class<T> attributeType,
java.lang.String attributeKey) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
correctType(org.deckfour.xes.model.XAttribute attr) |
protected abstract java.lang.Iterable<? extends org.deckfour.xes.model.XAttributable> |
getAttributables(E object) |
protected abstract T |
getValue(org.deckfour.xes.model.XAttribute attr) |
java.lang.Iterable<T> |
getValues(E object,
com.googlecode.cqengine.query.option.QueryOptions queryOptions)
Returns the non-null values of the attribute from the object.
|
public java.lang.Iterable<T> getValues(E object, com.googlecode.cqengine.query.option.QueryOptions queryOptions)
com.googlecode.cqengine.attribute.MultiValueAttribute
getValues
in interface com.googlecode.cqengine.attribute.Attribute<E,T>
getValues
in class com.googlecode.cqengine.attribute.MultiValueAttribute<E,T>
object
- The object from which the values of the attribute are requiredqueryOptions
- Optional parameters supplied by the application along with the operation which is causing
this attribute to be invoked (either a query, or an update to the collection)protected abstract java.lang.Iterable<? extends org.deckfour.xes.model.XAttributable> getAttributables(E object)
protected abstract T getValue(org.deckfour.xes.model.XAttribute attr)
protected abstract boolean correctType(org.deckfour.xes.model.XAttribute attr)