|
||||||||||
| 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. |
int |
getSortStrength()
Returns the Strength of sort. |
void |
setColumn(java.lang.String keyColumn)
|
void |
setExpression(java.lang.String keyExpr)
|
void |
setSortDirection(int sortDirection)
|
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 ISortDefinitionpublic IScriptExpression getExpression()
getExpression in interface ISortDefinitionpublic void setColumn(java.lang.String keyColumn)
keyColumn - Name of key column to sorty bypublic void setExpression(java.lang.String keyExpr)
keyExpr - Key expression to sort bypublic int getSortDirection()
getSortDirection in interface ISortDefinitionpublic void setSortDirection(int sortDirection)
sortDirection - The sortDirection to set.public int getSortStrength()
ISortDefinition
getSortStrength in interface ISortDefinitionpublic void setSortStrength(int strength)
strength -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||