|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.ranking.RelationalRankingSelectorAdapter
public class RelationalRankingSelectorAdapter
It's an implementation of a Ranking Selector adapter for non multidimensional (relational) data.
Field Summary |
---|
Fields inherited from class com.sas.dataselectors.ranking.BaseRankingSelectorAdapter |
---|
bundle, dataItems, dataModel, locale, model, rankStatuses, RB_KEY, valuesFromDataModel |
Fields inherited from interface com.sas.dataselectors.ranking.RankingSelectorInterface |
---|
NO_RANK |
Constructor Summary | |
---|---|
RelationalRankingSelectorAdapter()
Default constructor. |
Method Summary | |
---|---|
int |
countRankTypeValue()
Returns the value associated to the "Count" ranking type. |
java.lang.String |
dataItemRankStatus(java.lang.String dataItemID)
Returns the localized string describing the rank status for a DataItem. |
protected void |
initDataItems()
Reading from the data model fills the dataItems instance variable with the ranking attributes of all the data items in the data model. |
java.util.Map |
rankableColumnNames()
Returns the list of the columns that can be ranked. |
java.lang.String |
rankingColumnName()
Returns the name of the column to rank. |
void |
rankingColumnName(java.lang.String name)
Sets the name of the column to rank. |
java.util.Map |
rankTypes()
Returns the list of the available rank types. |
void |
setIncludeTies(java.lang.String isIncludeTies)
Sets if the ties are included. |
Methods inherited from class com.sas.dataselectors.ranking.BaseRankingSelectorAdapter |
---|
dataItems, dataItems, dataModel, dataModel, getIncludeTies, getIncludeTies, getLocale, getLocalizedInfoText, getLocalizedText, getModel, getRankFilter, includeTies, includeTies, includeTies, percentageRanking, percentageRanking, rankingCount, rankingCount, rankOrder, rankStatuses, rankStatuses, rankType, rankType, rankType, rankValue, setLocale, setModel, topRanking, topRanking, valuesFromDataModel, valuesFromDataModel |
Methods inherited from interface com.sas.dataselectors.ranking.RankingSelectorInterface |
---|
getIncludeTies, getIncludeTies, getLocale, getLocalizedInfoText, getLocalizedText, getModel, includeTies, includeTies, includeTies, percentageRanking, percentageRanking, rankingCount, rankingCount, rankOrder, rankType, rankType, rankType, rankValue, setLocale, setModel, topRanking, topRanking, valuesFromDataModel, valuesFromDataModel |
Constructor Detail |
---|
public RelationalRankingSelectorAdapter()
Method Detail |
---|
public java.util.Map rankableColumnNames()
RelationalRankingSelectorInterface
rankableColumnNames
in interface RelationalRankingSelectorInterface
public void rankingColumnName(java.lang.String name)
RelationalRankingSelectorInterface
rankingColumnName
in interface RelationalRankingSelectorInterface
name
- The name of the column to rankpublic java.lang.String rankingColumnName()
RelationalRankingSelectorInterface
rankingColumnName
in interface RelationalRankingSelectorInterface
public java.util.Map rankTypes()
BaseRankingSelectorAdapter
rankTypes
in interface RankingSelectorInterface
rankTypes
in class BaseRankingSelectorAdapter
public java.lang.String dataItemRankStatus(java.lang.String dataItemID)
BaseRankingSelectorAdapter
dataItemRankStatus
in interface RankingSelectorInterface
dataItemRankStatus
in class BaseRankingSelectorAdapter
dataItemID
- the DataItam id
protected void initDataItems()
BaseRankingSelectorAdapter
initDataItems
in class BaseRankingSelectorAdapter
public int countRankTypeValue()
RankingSelectorInterface
countRankTypeValue
in interface RankingSelectorInterface
countRankTypeValue
in class BaseRankingSelectorAdapter
public void setIncludeTies(java.lang.String isIncludeTies)
RankingSelectorInterface
setIncludeTies
in interface RankingSelectorInterface
setIncludeTies
in class BaseRankingSelectorAdapter
isIncludeTies
- valid values are:
RankingSelectorComponents.INCLUDE_TIES
,
RankingSelectorComponents.NOT_INCLUDE_TIES
,
RankingSelectorComponents.TIES_NOT_APPLICABLE
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |