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 StringThis is the standard date formatter for date filters when not specified using millis since 1970. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals for comparisonsgetName()Returns the name of the property to order by.inthashCode()Use hashcode of name.booleanReturns if the ordering direction is ascending.static voidregisterTypeMappings(org.apache.axis.client.Call call) Register this SOAP type for Axis.voidsetAscending(boolean ascending) Sets if the ordering direction is ascending.voidSets 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
- See Also:
-
-
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.
-