|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.filters.OLAPMemberValueAndTreeModel
public class OLAPMemberValueAndTreeModel
This model extends the OLAPMemberTreeModel to implement the additional filter model interface,
FilterValueInterface. This interface allows the tree model itself to represent
a selectable value within the filter model.
FilterValueInterface,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.sas.dataselectors.filters.OLAPMemberTreeModel |
|---|
_itemValues, _itemValuesIterator, _label, _metadata, RB_KEY |
| Fields inherited from interface com.sas.dataselectors.filters.FilterValuesInterface |
|---|
GETTHRESHHOLDALLVALUES |
| Constructor Summary | |
|---|---|
OLAPMemberValueAndTreeModel(com.sas.iquery.metadata.business.DataItem dataItem,
MetadataInterface metadata)
Constructs a new tree model and prepopulates it using metadata gathered from the given DataItem and MetadataInterface objects. |
|
OLAPMemberValueAndTreeModel(DimensionInterface dimension)
Constructs a new tree model and prepopulates it using metadata gathered from the given DimensionInterface object. |
|
OLAPMemberValueAndTreeModel(OLAPMemberTreeNode root)
Constructs a new model with the given node as the root. |
|
OLAPMemberValueAndTreeModel(OLAPMemberTreeNode root,
boolean asksAllowsChildren)
Constructs a new model with the given node as the root. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getData()
Returns the native model data for this value. |
int |
getDataType()
Returns the type of data this value represents. |
java.lang.Object |
getFormat()
Returns the format for this value. |
java.lang.String |
getFormattedValue()
Returns the formatted representation of this value. |
java.lang.Object |
getUnformattedValue()
Returns the unformatted representation of this value. |
| Methods inherited from class com.sas.dataselectors.filters.OLAPMemberTreeModel |
|---|
getFirstValues, getListLabel, getMemberArrayForPathNodeList, getMetadata, getNextValues, getTreePathNodeList, getTreePathNodeList, getTreePathNodeList, getTreePathNodeList, getTreePathNodeList, getTreePathNodeList, getTreePathNodeList, hasMoreValues, setListLabel, setMetadata, setRoot, toString |
| Constructor Detail |
|---|
public OLAPMemberValueAndTreeModel(OLAPMemberTreeNode root)
root - the root node of the new model
public OLAPMemberValueAndTreeModel(OLAPMemberTreeNode root,
boolean asksAllowsChildren)
root - the root node of the new modelaskAllowsChildren - a boolean, false if any node can
have children, true if each node is asked to see if
it can have childrenDefaultTreeModel.asksAllowsChildren
public OLAPMemberValueAndTreeModel(com.sas.iquery.metadata.business.DataItem dataItem,
MetadataInterface metadata)
throws com.sas.iquery.metadata.MetadataException
dataItem - the entry point in the OLAP member treemetadata - the interface to use when getting metadata from an OLAP source
com.sas.iquery.metadata.MetadataException - if any errors occur while retrieving data from the OLAP metadata
server
public OLAPMemberValueAndTreeModel(DimensionInterface dimension)
throws OLAPException
dimension - the entry point in the OLAP member tree
OLAPException - if any errors occur while retrieving data from the OLAP metadata
server| Method Detail |
|---|
public java.lang.String getFormattedValue()
getFormattedValue in interface FilterValueInterfaceFilterValueInterface.getFormattedValue()public java.lang.Object getUnformattedValue()
getUnformattedValue in interface FilterValueInterfaceFilterValueInterface.getUnformattedValue()public int getDataType()
getDataType in interface FilterValueInterfaceFilterValueInterface.getDataType()public java.lang.Object getFormat()
getFormat in interface FilterValueInterfaceFilterValueInterface.getFormat()public java.lang.Object getData()
getData in interface FilterValueInterfaceFilterValueInterface.getData()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||