com.taggercat.model
Class SortProperty
java.lang.Object
com.taggercat.model.SortProperty
- All Implemented Interfaces:
- java.io.Serializable
public class SortProperty
- extends java.lang.Object
- implements java.io.Serializable
Represents a Sort property used by a datasource.
- See Also:
- Serialized Form
-
|
Constructor Summary |
SortProperty(java.lang.String qualifiedPropertyName)
|
SortProperty(java.lang.String qualifier,
java.lang.String propertyName)
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SortProperty
public SortProperty(java.lang.String qualifiedPropertyName)
SortProperty
public SortProperty(java.lang.String qualifier,
java.lang.String propertyName)
getQualifier
public java.lang.String getQualifier()
- Returns:
- the qualifier
setQualifier
public void setQualifier(java.lang.String qualifier)
- Parameters:
qualifier - the qualifier to set
getPropertyName
public java.lang.String getPropertyName()
- Returns:
- the propertyName
setPropertyName
public void setPropertyName(java.lang.String propertyName)
- Parameters:
propertyName - the propertyName to set
getDirection
public SortProperty.DIRECTION getDirection()
- Returns:
- the direction
setDirection
public void setDirection(SortProperty.DIRECTION direction)
- Parameters:
direction - the direction to set
getQuailifiedName
public java.lang.String getQuailifiedName()
- Returns:
- the quailifiedName
isAscending
public boolean isAscending()
toggleDirection
public void toggleDirection()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Constructs a
String with all attributes
in name = value format.
- Overrides:
toString in class java.lang.Object
- Returns:
- a
String representation
of this object.