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.
RB_KEY
public static final java.lang.String RB_KEY
See Also: Constant Field Values
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 propertyprop
- 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 propertylevel
- the levelprop
- the property
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.