Interface CriteriaNode

    • Nested Class Summary

      • 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
    • Method Detail

      • addChild

        void addChild​(Criteria aChild)
               throws java.lang.IllegalStateException,
        Adds a child Criteria to the CriteriaNode. In case a specialized CriteriaNode applies constraints on the number or type of Criteria which may be added, an according exception may be thrown. For example the SingleCriteriaNode applies constraints on this method.
        aChild - The child Criteria to be added.
        java.lang.IllegalStateException - In case constraints in terms of state are violated, implementation depended.
        java.lang.IllegalArgumentException - In case constraints in terms of argument are violated, implementation depended.