Class LessThanOrEqual

  • All Implemented Interfaces:
    Criteria

    public class LessThanOrEqual
    extends ComparableValue
    Less than or equal criteria
    Author:
    teck
    • Constructor Detail

      • LessThanOrEqual

        public LessThanOrEqual​(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