Class AttributeCriteria
- java.lang.Object
-
- com.inteliqua.rest.common.criteria.AttributeCriteria
-
- Direct Known Subclasses:
CouponAttributeCriteria,CouponSetAttributeCriteria,CustomerAttributeCriteria,LoyaltyMembershipAttributeCriteria,MerchantAttributeCriteria
public abstract class AttributeCriteria extends Object
Represents a base class for attribute-based criteria.This abstract class serves as a foundation for defining criteria that involve attributes, ensuring the presence of an
EntityAttribute.- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description AttributeCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityAttributegetAttribute()Retrieves the attribute associated with this criteria.voidsetAttribute(EntityAttribute attribute)Sets the attribute for this criteria.
-
-
-
Method Detail
-
getAttribute
public EntityAttribute getAttribute()
Retrieves the attribute associated with this criteria.- Returns:
- the
EntityAttributeof the criteria.
-
setAttribute
public void setAttribute(EntityAttribute attribute)
Sets the attribute for this criteria.- Parameters:
attribute- theEntityAttributeto be set.
-
-