Interface CriteriaLeaf<T>

  • Type Parameters:
    T - The type of the CriteriaLeaf instance's value.
    All Superinterfaces:
    Criteria, org.refcodes.mixin.KeyAccessor<java.lang.String>, org.refcodes.mixin.KeyAccessor.KeyBuilder<java.lang.String,org.refcodes.structure.Relation.RelationBuilder<java.lang.String,T>>, org.refcodes.mixin.KeyAccessor.KeyMutator<java.lang.String>, org.refcodes.mixin.KeyAccessor.KeyProperty<java.lang.String>, org.refcodes.mixin.NameAccessor, org.refcodes.structure.Relation<java.lang.String,T>, org.refcodes.structure.Relation.RelationBuilder<java.lang.String,T>, org.refcodes.mixin.ValueAccessor<T>, org.refcodes.mixin.ValueAccessor.ValueBuilder<T,org.refcodes.structure.Relation.RelationBuilder<java.lang.String,T>>, 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)  
      • 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.NameAccessor

        getName
      • Methods inherited from interface org.refcodes.mixin.ValueAccessor

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

        setValue
    • Method Detail

      • withValue

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

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