|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujac.util.CompareTuple
public class CompareTuple
Title: CompareTuple
Description: Holds tuples of field names and directions to sort by.
| Field Summary | |
|---|---|
static int |
ASCENDING
Constant for ascending sort direction. |
static int |
DESCENDING
Constant for descending sort direction. |
| Constructor Summary | |
|---|---|
CompareTuple(String fieldName)
Constructs a CompareTuple instance with specific attributes. |
|
CompareTuple(String fieldName,
int direction)
Constructs a CompareTuple instance with specific attributes. |
|
| Method Summary | |
|---|---|
int |
getDirection()
Getter method for the the property direction. |
String |
getDirectionName()
Gets the sort direction name. |
String |
getFieldName()
Getter method for the the property fieldName. |
void |
setDirection(int direction)
Setter method for the the property direction. |
void |
setFieldName(String fieldName)
Setter method for the the property fieldName. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ASCENDING
public static final int DESCENDING
| Constructor Detail |
|---|
public CompareTuple(String fieldName)
fieldName - The initial field name.
public CompareTuple(String fieldName,
int direction)
fieldName - The initial field name.direction - The initial sort direction.| Method Detail |
|---|
public String getFieldName()
public void setFieldName(String fieldName)
fieldName - The value to set for the property fieldName.public int getDirection()
public String getDirectionName()
public void setDirection(int direction)
direction - The value to set for the property direction.public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||