com.ibm.commerce.component.bod

Class VerbStepAttributeEqualPredicate

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright
        See Also:
        Constant Field Values
      • CLASS_NAME

        public static final java.lang.String CLASS_NAME
        Name of this class
    • Constructor Detail

      • VerbStepAttributeEqualPredicate

        public VerbStepAttributeEqualPredicate(java.lang.String attributeName,
                                               java.lang.Object attributeValue)
        Constructs an instance of this predicate
        Parameters:
        attributeName - the name of the attribute
        attributeValue - the expected value of the attribute
    • Method Detail

      • evaluate

        public final boolean evaluate(java.lang.Object target)
        Evaluates an object.
        Specified by:
        evaluate in class VerbStepPredicate
        Parameters:
        target - the target object that is to be evaluated against the predicate
        Returns:
        true if the target contains an attribute whose value is as expected, false otherwise.
        See Also:
        VerbStepPredicate.evaluate(java.lang.Object)