@API(type=INTERNAL,
src=PUBLIC)
public class CriterionInformation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CriterionInformation.ORDER
Order enumeration.
|
static class |
CriterionInformation.TYPE
Type enumeration.
|
Constructor and Description |
---|
CriterionInformation(int keyIndex,
java.lang.String displayName)
Constructor.
|
CriterionInformation(int keyIndex,
java.lang.String type,
java.lang.String order,
java.lang.String displayName)
Constructor.
|
CriterionInformation(int keyIndex,
java.lang.String type,
java.lang.String order,
java.lang.String displayName,
boolean isInitiallyEnabled)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
int |
getKeyIndex() |
java.lang.String |
getOrder() |
java.lang.String |
getType() |
boolean |
isInitiallySelected() |
java.lang.String |
toString() |
public CriterionInformation(int keyIndex, java.lang.String type, java.lang.String order, java.lang.String displayName)
keyIndex
- The index in its parent of the element that corresponds to the sorting key.type
- The sorting type. One of CriterionInformation.TYPE.TEXT
, CriterionInformation.TYPE.NUMERIC
or CriterionInformation.TYPE.DATE
.order
- The sorting order. One of CriterionInformation.ORDER.ASCENDING
or CriterionInformation.ORDER.DESCENDING
.displayName
- The key display name. For a table column it can be the text from the corresponding table header cell.public CriterionInformation(int keyIndex, java.lang.String type, java.lang.String order, java.lang.String displayName, boolean isInitiallyEnabled)
keyIndex
- The index in its parent of the element that corresponds to the sorting key.type
- The sorting type. One of CriterionInformation.TYPE.TEXT
, CriterionInformation.TYPE.NUMERIC
or CriterionInformation.TYPE.DATE
.order
- The sorting order. One of CriterionInformation.ORDER.ASCENDING
or CriterionInformation.ORDER.DESCENDING
.displayName
- The key display name. For a table column it can be the text from the corresponding table header cell.isInitiallyEnabled
- true
if this criterion should be initially enabled.public CriterionInformation(int keyIndex, java.lang.String displayName)
keyIndex
- The index in its parent of the element that corresponds to the sorting key.displayName
- The key display name. For a table column it can be the text from the corresponding table header cell.public java.lang.String getDisplayName()
public int getKeyIndex()
public java.lang.String getType()
CriterionInformation.TYPE.TEXT
, CriterionInformation.TYPE.NUMERIC
or CriterionInformation.TYPE.DATE
public java.lang.String getOrder()
CriterionInformation.ORDER.ASCENDING
or CriterionInformation.ORDER.DESCENDING
.public boolean isInitiallySelected()
true
if the criterion is initially enabled.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.