Package com.collabnet.ce.soap60.types
Class SoapSortKey
java.lang.Object
com.collabnet.ce.soap60.types.SoapSortKey
The order class represents a single ordering field.
- Since:
- 4.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleDateFormat
This is the standard date formatter for date filters when not specified using millis since 1970. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals for comparisonsgetName()
Returns the name of the property to order by.int
hashCode()
Use hashcode of name.boolean
Returns if the ordering direction is ascending.static void
registerTypeMappings
(org.apache.axis.client.Call call) Register this SOAP type for Axis.void
setAscending
(boolean ascending) Sets if the ordering direction is ascending.void
Sets the name of the property to order by.
-
Field Details
-
DATE_FORMAT
This is the standard date formatter for date filters when not specified using millis since 1970. Examples of valid date strings:- 2005-07-01 15:49:23.005 -0700
- 2005-05-31 04:02:05.123 +0200
-
-
Constructor Details
-
SoapSortKey
public SoapSortKey()Default constructor -
SoapSortKey
Constructor- Parameters:
name
- the name of the property to order byascending
- if the ordering direction is ascending
-
-
Method Details
-
getName
Returns the name of the property to order by.- Returns:
- Name of the property to order by.
-
setName
Sets the name of the property to order by.- Parameters:
name
- Name of the property to order by.
-
isAscending
public boolean isAscending()Returns if the ordering direction is ascending.- Returns:
- a boolean indicating if it's ascendign.
-
setAscending
public void setAscending(boolean ascending) Sets if the ordering direction is ascending.- Parameters:
ascending
- indicating if it's ascendign.
-
registerTypeMappings
public static void registerTypeMappings(org.apache.axis.client.Call call) Register this SOAP type for Axis.- Parameters:
call
- Axis call object.
-
equals
Equals for comparisons -
hashCode
public int hashCode()Use hashcode of name.
-