Package de.aristaflow.ilm.model.orgmodel
Interface FlatAttributeSelection<O extends Enum<O>,V extends Serializable & Comparable<V>>
-
- All Superinterfaces:
AtomicAttributeFilter<V>
,AtomicAttributeFilter.Comparison<O,V>
,Filter<V>
- All Known Implementing Classes:
DoubleFilter.DoubleComparison
,DoubleFilter.DoubleEq
,DoubleFilter.DoubleGe
,DoubleFilter.DoubleGt
,DoubleFilter.DoubleLe
,DoubleFilter.DoubleLt
,DoubleFilter.DoubleNe
,InstantFilter.InstantComparison
,InstantFilter.InstantEq
,InstantFilter.InstantGe
,InstantFilter.InstantGt
,InstantFilter.InstantLe
,InstantFilter.InstantLt
,InstantFilter.InstantNe
,LongFilter.LongComparison
,LongFilter.LongEq
,LongFilter.LongGe
,LongFilter.LongGt
,LongFilter.LongLe
,LongFilter.LongLt
,LongFilter.LongNe
,StringFilter.StringComparison
,StringFilter.StringEq
,StringFilter.StringiEq
,StringFilter.StringiLike
,StringFilter.StringiNe
,StringFilter.StringiUnlike
,StringFilter.StringLike
,StringFilter.StringNe
,StringFilter.StringRegExp
,StringFilter.StringUnlike
public interface FlatAttributeSelection<O extends Enum<O>,V extends Serializable & Comparable<V>> extends AtomicAttributeFilter.Comparison<O,V>
This class restricts filtering to atomic attribute selections and to 4 specific types and comparing tonull
.null
will either be aStringFilter.StringEq
orStringFilter.StringNe
and a value ofnull
. Also this class does not allow forMultipleFilter
. This is due to the provision of org model entity filters via a map containing arbitrary entity attributes being mapped to the corresponding selection. This does not allow for combined filters on attribute level (but on entity level).The
StringFilter.Deserialiser
handles the value of a map entry beingnull
without a comparison operator. This will then beStringFilter.StringEq
. If there is a comparison operator, the deserialiser will forward the JSON to theFlatAttributeSelection.JsonTypeDeducingTypeDeserialiser
. This will then decide on the comparison type based on the present JSON type or to the usual null filter usingStringFilter.StringEq
orStringFilter.StringNe
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FlatAttributeSelection.JsonTypeDeducingTypeDeserialiser
This class deserialises to the appropriate comparison used for OM attributes.static class
FlatAttributeSelection.NullDeserialiser
static class
FlatAttributeSelection.TypeResolverBuilder
-
Nested classes/interfaces inherited from interface de.aristaflow.ilm.model.filter.AtomicAttributeFilter
AtomicAttributeFilter.Comparison<O extends Enum<O>,T extends Serializable>, AtomicAttributeFilter.EnumComparison<T extends Enum<T>>, AtomicAttributeFilter.NullComparison<T extends Serializable>
-
-
Method Summary
-
Methods inherited from interface de.aristaflow.ilm.model.filter.AtomicAttributeFilter.Comparison
getOperatorAbstract, getValueAbstract
-
-