Class LessThan

  • All Implemented Interfaces:
    Criteria

    public class LessThan
    extends ComparableValue
    Less than criteria
    Author:
    teck
    • Constructor Detail

      • LessThan

        public LessThan​(java.lang.String attributeName,
                        java.lang.Object value)
        Constructor
        Parameters:
        attributeName - attribute name
        value -
    • Method Detail

      • executeComparable

        protected boolean executeComparable​(java.lang.Comparable attributeValue)
        Execute this criteria for the given Comparable attribute value
        Specified by:
        executeComparable in class ComparableValue
        Parameters:
        attributeValue - Comparable attribute value
        Returns:
        true if criteria is met
      • executeComparableString

        protected boolean executeComparableString​(java.lang.Comparable attributeValue)
        Execute this criteria for the given Comparable strin type attribute value
        Specified by:
        executeComparableString in class ComparableValue
        Parameters:
        attributeValue - Comparable attribute value
        Returns:
        true if criteria is met
      • getComparableValue

        public java.lang.Comparable getComparableValue()
        Comparable value.
        Returns:
        value