Package org.refcodes.criteria
Interface CriteriaLeaf<T>
-
- Type Parameters:
T
- The type of theCriteriaLeaf
instance's value.
- All Superinterfaces:
Criteria
,org.refcodes.mixin.KeyAccessor<T>
,org.refcodes.mixin.KeyAccessor.KeyBuilder<K,org.refcodes.structure.Relation.RelationBuilder<K,V>>
,org.refcodes.mixin.KeyAccessor.KeyMutator<T>
,org.refcodes.mixin.KeyAccessor.KeyProperty<T>
,org.refcodes.mixin.NameAccessor
,org.refcodes.structure.Relation<K,V>
,org.refcodes.structure.Relation.RelationBuilder<java.lang.String,T>
,org.refcodes.mixin.ValueAccessor<T>
,org.refcodes.mixin.ValueAccessor.ValueBuilder<V,org.refcodes.structure.Relation.RelationBuilder<K,V>>
,org.refcodes.mixin.ValueAccessor.ValueMutator<T>
,org.refcodes.mixin.ValueAccessor.ValueProperty<T>
- All Known Subinterfaces:
EqualWithCriteria<T>
,GreaterOrEqualThanCriteria<T>
,GreaterThanCriteria<T>
,LessOrEqualThanCriteria<T>
,LessThanCriteria<T>
,NotEqualWithCriteria<T>
- All Known Implementing Classes:
AbstractCriteriaLeaf
public interface CriteriaLeaf<T> extends Criteria, org.refcodes.structure.Relation.RelationBuilder<java.lang.String,T>
A CriteriaLeaf tree leaf is an expression usually relating to a key (for example identifying a table's column in a database) and a value, both of which consolidating an expression (for example "City = 'Munich'").
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.NameAccessor
org.refcodes.mixin.NameAccessor.NameBuilder<B extends org.refcodes.mixin.NameAccessor.NameBuilder<B>>, org.refcodes.mixin.NameAccessor.NameMutator, org.refcodes.mixin.NameAccessor.NameProperty
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Relation
org.refcodes.structure.Relation.RelationBuilder<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends java.lang.Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends java.lang.Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends java.lang.Object>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CriteriaLeaf<T>
withKey(java.lang.String aKey)
default CriteriaLeaf<T>
withValue(T aValue)
-
-
-
Method Detail
-
withValue
default CriteriaLeaf<T> withValue(T aValue)
- Specified by:
withValue
in interfaceorg.refcodes.structure.Relation.RelationBuilder<java.lang.String,T>
- Specified by:
withValue
in interfaceorg.refcodes.mixin.ValueAccessor.ValueBuilder<V extends java.lang.Object,org.refcodes.structure.Relation.RelationBuilder<K extends java.lang.Object,V extends java.lang.Object>>
-
withKey
default CriteriaLeaf<T> withKey(java.lang.String aKey)
- Specified by:
withKey
in interfaceorg.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,org.refcodes.structure.Relation.RelationBuilder<K extends java.lang.Object,V extends java.lang.Object>>
- Specified by:
withKey
in interfaceorg.refcodes.structure.Relation.RelationBuilder<java.lang.String,T>
-
-