Package com.ptc.core.meta.common
Interface SortSpec
- All Superinterfaces:
AttributeTypeIdentifierList
This interface provides the abstraction for specifying sorting. The
sorting is specified in terms of a list of AttributeTypeIdentifiers and
an associated ascending and case sensitive boolean attributes. The order
of the list is significant (e.g. the AttributeTypeIdentifier at index
0 is the primary sort attribute).
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptiongetPrimitive(int a_index) Returns a primitive object for specifying a sort expression.booleanisAscending(int a_index) Indicates if the AttributeTypeIdentifier value at the specified index should be sorted in ascending order.booleanisCaseSensitive(int a_index) Indicates if the AttributeTypeIdentifier value at the specified index should be sorted case sensitive.Methods inherited from interface com.ptc.core.meta.common.AttributeTypeIdentifierList
getAttributeTypeIdentifier, getIndex, getSize
-
Method Details
-
isAscending
boolean isAscending(int a_index) Indicates if the AttributeTypeIdentifier value at the specified index should be sorted in ascending order.
Supported API: true- Parameters:
a_index-- Returns:
- boolean
-
isCaseSensitive
boolean isCaseSensitive(int a_index) Indicates if the AttributeTypeIdentifier value at the specified index should be sorted case sensitive.
Supported API: true- Parameters:
a_index-- Returns:
- boolean
-
getPrimitive
Returns a primitive object for specifying a sort expression.
Supported API: true- Parameters:
a_index-- Returns:
- Object
- Throws:
WTException
-