Class AttributeRangeCriteria
- java.lang.Object
-
- com.inteliqua.rest.common.criteria.AttributeRangeCriteria
-
- Direct Known Subclasses:
CouponSetAttributeRangeCriteria,MerchantAttributeRangeCriteria
public abstract class AttributeRangeCriteria extends Object
Represents the criteria for filtering attributes within a specific range.This class contains the necessary fields to define a range for a given attribute, including a "from" and "to" value, the attribute name, and its data type.
- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description AttributeRangeCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttributeName()Retrieves the name of the attribute.AttributeDataTypegetDataType()Retrieves the data type of the attribute.StringgetFrom()Retrieves the starting value of the range.StringgetTo()Retrieves the ending value of the range.voidsetAttributeName(String attributeName)Sets the name of the attribute.voidsetDataType(AttributeDataType dataType)Sets the data type of the attribute.voidsetFrom(String from)Sets the starting value of the range.voidsetTo(String to)Sets the ending value of the range.
-
-
-
Method Detail
-
getFrom
public String getFrom()
Retrieves the starting value of the range.- Returns:
- the "from" value as a
String.
-
setFrom
public void setFrom(String from)
Sets the starting value of the range.- Parameters:
from- the "from" value to set.
-
getTo
public String getTo()
Retrieves the ending value of the range.- Returns:
- the "to" value as a
String.
-
setTo
public void setTo(String to)
Sets the ending value of the range.- Parameters:
to- the "to" value to set.
-
getAttributeName
public String getAttributeName()
Retrieves the name of the attribute.- Returns:
- the name of the attribute as a
String.
-
setAttributeName
public void setAttributeName(String attributeName)
Sets the name of the attribute.- Parameters:
attributeName- the name of the attribute to set.
-
getDataType
public AttributeDataType getDataType()
Retrieves the data type of the attribute.- Returns:
- the
AttributeDataTypeof the attribute.
-
setDataType
public void setDataType(AttributeDataType dataType)
Sets the data type of the attribute.- Parameters:
dataType- theAttributeDataTypeto set.
-
-