Class VLVSortOrder
- java.lang.Object
-
- org.opends.guitools.controlpanel.datamodel.VLVSortOrder
-
public class VLVSortOrder extends Object
Class that describes the VLV sort order.
-
-
Constructor Summary
Constructors Constructor Description VLVSortOrder(String attributeName, boolean isAscending)Constructor of the VLVSortOrder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAttributeName()Returns the name of the attribute.inthashCode()booleanisAscending()Returns whether the sorting is ascending or descending.
-
-
-
Constructor Detail
-
VLVSortOrder
public VLVSortOrder(String attributeName, boolean isAscending)
Constructor of the VLVSortOrder.- Parameters:
attributeName- the attribute name to be used to sort.isAscending- whether the sorting is ascending or descending.
-
-
Method Detail
-
getAttributeName
public String getAttributeName()
Returns the name of the attribute.- Returns:
- the name of the attribute.
-
isAscending
public boolean isAscending()
Returns whether the sorting is ascending or descending.- Returns:
trueif the sorting is ascending andfalseotherwise.
-
-