Class AttributeSortingParams
- java.lang.Object
-
- com.inteliqua.rest.common.criteria.AttributeSortingParams
-
public class AttributeSortingParams extends Object
Represents the parameters used for sorting attributes.This class contains the attribute name and its corresponding data type, which are used to define sorting criteria for attributes in queries.
- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description AttributeSortingParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeDataTypegetAttributeDataType()Retrieves the data type of the attribute used for sorting.StringgetAttributeName()Retrieves the name of the attribute used for sorting.voidsetAttributeDataType(AttributeDataType attributeDataType)Sets the data type of the attribute to be used for sorting.voidsetAttributeName(String attributeName)Sets the name of the attribute to be used for sorting.
-
-
-
Method Detail
-
getAttributeName
public String getAttributeName()
Retrieves the name of the attribute used for sorting.- Returns:
- the attribute name as a
String.
-
setAttributeName
public void setAttributeName(String attributeName)
Sets the name of the attribute to be used for sorting.- Parameters:
attributeName- the name of the attribute to set.
-
getAttributeDataType
public AttributeDataType getAttributeDataType()
Retrieves the data type of the attribute used for sorting.- Returns:
- the
AttributeDataTypeof the attribute.
-
setAttributeDataType
public void setAttributeDataType(AttributeDataType attributeDataType)
Sets the data type of the attribute to be used for sorting.- Parameters:
attributeDataType- theAttributeDataTypeto set.
-
-