Interface CriteriaLeaf<T>

Type Parameters:
T - The type of the CriteriaLeaf instance's value.
All Superinterfaces:
org.refcodes.mixin.AliasAccessor, Criteria, org.refcodes.mixin.KeyAccessor<String>, org.refcodes.mixin.KeyAccessor.KeyBuilder<String,org.refcodes.struct.Relation.RelationBuilder<String,T>>, org.refcodes.mixin.KeyAccessor.KeyMutator<String>, org.refcodes.mixin.KeyAccessor.KeyProperty<String>, org.refcodes.struct.Relation<String,T>, org.refcodes.struct.Relation.RelationBuilder<String,T>, org.refcodes.mixin.Schemable, org.refcodes.mixin.ValueAccessor<T>, org.refcodes.mixin.ValueAccessor.ValueBuilder<T,org.refcodes.struct.Relation.RelationBuilder<String,T>>, org.refcodes.mixin.ValueAccessor.ValueMutator<T>, org.refcodes.mixin.ValueAccessor.ValueProperty<T>
All Known Implementing Classes:
AbstractCriteriaLeaf, EqualWithCriteria, GreaterOrEqualThanCriteria, GreaterThanCriteria, LessOrEqualThanCriteria, LessThanCriteria, NotEqualWithCriteria

public interface CriteriaLeaf<T> extends Criteria, org.refcodes.struct.Relation.RelationBuilder<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.AliasAccessor

    org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty

    Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor

    org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.struct.Relation

    org.refcodes.struct.Relation.RelationBuilder<K extends Object,V extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor

    org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object>
  • Method Summary

    Modifier and Type
    Method
    Description
    default CriteriaLeaf<T>
    default CriteriaLeaf<T>
    withValue(T aValue)

    Methods inherited from interface org.refcodes.mixin.AliasAccessor

    getAlias

    Methods inherited from interface org.refcodes.criteria.Criteria

    toSchema

    Methods inherited from interface org.refcodes.mixin.KeyAccessor

    getKey

    Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyMutator

    setKey

    Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyProperty

    letKey

    Methods inherited from interface org.refcodes.mixin.ValueAccessor

    getValue, getValueOr

    Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueMutator

    setValue

    Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueProperty

    letValue
  • Method Details

    • withValue

      default CriteriaLeaf<T> withValue(T aValue)
      Specified by:
      withValue in interface org.refcodes.struct.Relation.RelationBuilder<String,T>
      Specified by:
      withValue in interface org.refcodes.mixin.ValueAccessor.ValueBuilder<T,org.refcodes.struct.Relation.RelationBuilder<String,T>>
    • withKey

      default CriteriaLeaf<T> withKey(String aKey)
      Specified by:
      withKey in interface org.refcodes.mixin.KeyAccessor.KeyBuilder<String,org.refcodes.struct.Relation.RelationBuilder<String,T>>
      Specified by:
      withKey in interface org.refcodes.struct.Relation.RelationBuilder<String,T>