com.sas.dataselectors.filters
Class MemberPropertyQualifierData

com.sas.dataselectors.filters.MemberPropertyQualifierData

public class MemberPropertyQualifierData

This class acts as storage for filter qualifiers representing member properties. The key attribute is the property itself, but the level and source are here for convenience.


Field Summary
static java.lang.String RB_KEY
           
 
Constructor Summary
MemberPropertyQualifierData()
          Create a new empty data object.
MemberPropertyQualifierData(com.sas.iquery.metadata.business.DataItem diSource, LevelInterface level, PropertyInterface prop)
          Create a new data object from the given source, level, and property.
MemberPropertyQualifierData(com.sas.iquery.metadata.business.DataItem diSource, PropertyInterface prop)
          Create a new data object from the given source and property.
 
Method Summary
 java.lang.String createLabel()
           
static java.lang.String createLabel(LevelInterface level, PropertyInterface property)
           
static java.lang.String createLabel(LevelInterface level, PropertyInterface property, java.util.Locale locale)
           
 java.lang.String createLabel(java.util.Locale locale)
           
 LevelInterface getLevel()
           
 PropertyInterface getProperty()
           
 com.sas.iquery.metadata.business.DataItem getSource()
           
 void setLevel(LevelInterface level)
           
 void setProperty(PropertyInterface property)
           
 void setSource(com.sas.iquery.metadata.business.DataItem source)
           
 

Field Detail

RB_KEY

public static final java.lang.String RB_KEY
See Also:
Constant Field Values
Constructor Detail

MemberPropertyQualifierData

public MemberPropertyQualifierData()
Create a new empty data object. All fields default to null.


MemberPropertyQualifierData

public MemberPropertyQualifierData(com.sas.iquery.metadata.business.DataItem diSource,
                                   PropertyInterface prop)
                            throws OLAPException
Create a new data object from the given source and property. If the property given is not null, the level member will be retrieved from it.

Parameters:
diSource - the DataItem acting as the source for this property
prop - the property
Throws:
OLAPException - for any problems while retrieving the level from a non-null property

MemberPropertyQualifierData

public MemberPropertyQualifierData(com.sas.iquery.metadata.business.DataItem diSource,
                                   LevelInterface level,
                                   PropertyInterface prop)
Create a new data object from the given source, level, and property.

Parameters:
diSource - the DataItem acting as the source for this property
level - the level
prop - the property
Method Detail

getLevel

public LevelInterface getLevel()

setLevel

public void setLevel(LevelInterface level)

getProperty

public PropertyInterface getProperty()

setProperty

public void setProperty(PropertyInterface property)

getSource

public com.sas.iquery.metadata.business.DataItem getSource()

setSource

public void setSource(com.sas.iquery.metadata.business.DataItem source)

createLabel

public java.lang.String createLabel()
                             throws OLAPException
Throws:
OLAPException

createLabel

public java.lang.String createLabel(java.util.Locale locale)
                             throws OLAPException
Throws:
OLAPException

createLabel

public static java.lang.String createLabel(LevelInterface level,
                                           PropertyInterface property)
                                    throws OLAPException
Throws:
OLAPException

createLabel

public static java.lang.String createLabel(LevelInterface level,
                                           PropertyInterface property,
                                           java.util.Locale locale)
                                    throws OLAPException
Throws:
OLAPException



Copyright © 2009 SAS Institute Inc. All Rights Reserved.