public class SortKeyHandle extends StructureHandle
structContext
elementHandle
Constructor and Description |
---|
SortKeyHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of sort key.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColumnName()
Deprecated.
This property has been removed. See the method
getKey() . |
java.lang.String |
getDirection()
Returns the sort direction.
|
java.lang.String |
getKey()
Returns an expression that gives the sort key on which to sort.
|
com.ibm.icu.util.ULocale |
getLocale()
Gets the locale of this sort collation.
|
int |
getStrength()
Gets the strength of this sort collation.
|
void |
setColumnName(java.lang.String columnName)
Deprecated.
This property has been removed. See the method
setKey(String) . |
void |
setDirection(java.lang.String direction)
Sets the sort direction.
|
void |
setKey(java.lang.String key)
Sets an expression that gives the sort key on which to sort.
|
void |
setLocale(com.ibm.icu.util.ULocale locale)
Sets the locale for this sort.
|
void |
setStrength(int strength)
Sets the strength for this sort.
|
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilently
getReference
getDesign, getElement, getElementHandle, getModule
public SortKeyHandle(SimpleValueHandle valueHandle, int index)
valueHandle
- the value handle for sort key list of one propertyindex
- the position of this sort key in the listpublic java.lang.String getKey()
setKey(String)
public void setKey(java.lang.String key) throws SemanticException
key
- the key to sortSemanticException
- value required exceptiongetKey()
public java.lang.String getDirection()
DesignChoiceConstants
,
and they are:
public void setDirection(java.lang.String direction) throws SemanticException
DesignChoiceConstants
,
and they are:
direction
- the direction to setSemanticException
- if the direction is not in choice list.public java.lang.String getColumnName()
getKey()
.public void setColumnName(java.lang.String columnName) throws SemanticException
setKey(String)
.columnName
- the column name to setSemanticException
- value required exceptionpublic int getStrength()
setStrength(int)
public void setStrength(int strength) throws SemanticException
strength
- the strength to sortSemanticException
getStrength()
public com.ibm.icu.util.ULocale getLocale()
setLocale(ULocale)
public void setLocale(com.ibm.icu.util.ULocale locale) throws SemanticException
locale
- the locale to sortSemanticException
getLocale()
Copyright © 2008 Actuate Corp. All rights reserved.