|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.engine.api.querydefn.SortDefinition
public class SortDefinition
Default implementation of the ISortDefinition
interface.
Field Summary | |
---|---|
protected int |
direction
|
protected java.lang.String |
keyColumn
|
protected IScriptExpression |
keyExpr
|
Fields inherited from interface org.eclipse.birt.data.engine.api.ISortDefinition |
---|
ASCII_SORT_STRENGTH, DEFAULT_SORT_STRENGTH, SORT_ASC, SORT_DESC |
Constructor Summary | |
---|---|
SortDefinition()
|
Method Summary | |
---|---|
java.lang.String |
getColumn()
Returns the name of the column to sort on. |
IScriptExpression |
getExpression()
Returns the JavaScript expression that defines the group key. |
int |
getSortDirection()
Returns the sort direction. |
com.ibm.icu.util.ULocale |
getSortLocale()
Return the locale based on which the sort should be done. |
int |
getSortStrength()
Returns the Strength of sort. |
void |
setColumn(java.lang.String keyColumn)
|
void |
setExpression(IScriptExpression keyExpr)
|
void |
setExpression(java.lang.String keyExpr)
|
void |
setSortDirection(int sortDirection)
|
void |
setSortLocale(com.ibm.icu.util.ULocale locale)
Set the locale of the sort. |
void |
setSortStrength(int strength)
Set the collator sort strength of the destine sort. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IScriptExpression keyExpr
protected java.lang.String keyColumn
protected int direction
Constructor Detail |
---|
public SortDefinition()
Method Detail |
---|
public java.lang.String getColumn()
getColumn
in interface ISortDefinition
public IScriptExpression getExpression()
getExpression
in interface ISortDefinition
public void setColumn(java.lang.String keyColumn)
keyColumn
- Name of key column to sort bypublic void setExpression(java.lang.String keyExpr)
keyExpr
- Key expression to sort bypublic void setExpression(IScriptExpression keyExpr)
public int getSortDirection()
getSortDirection
in interface ISortDefinition
public void setSortDirection(int sortDirection)
sortDirection
- The sortDirection to set.public int getSortStrength()
ISortDefinition
getSortStrength
in interface ISortDefinition
public void setSortStrength(int strength)
setSortStrength
in interface ISortDefinition
strength
- public void setSortLocale(com.ibm.icu.util.ULocale locale)
ISortDefinition
setSortLocale
in interface ISortDefinition
locale
- public com.ibm.icu.util.ULocale getSortLocale()
ISortDefinition
getSortLocale
in interface ISortDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |