com.tonbeller.jpivot.param
Class PropertyParamProvider

java.lang.Object
  extended by com.tonbeller.jpivot.param.AbstractParamProvider
      extended by com.tonbeller.jpivot.param.PropertyParamProvider
All Implemented Interfaces:
ParameterProvider

public class PropertyParamProvider
extends AbstractParamProvider

creates a SessionParam from a member property

See Also:
SqlAccess, SessionParam

Constructor Summary
PropertyParamProvider(java.lang.String paramName, java.lang.String propertyName)
          creates a SessionParam from a member property.
 
Method Summary
protected  void addMemberParams(java.util.List list, SqlAccess sa, Member member)
           
 
Methods inherited from class com.tonbeller.jpivot.param.AbstractParamProvider
createSessionParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyParamProvider

public PropertyParamProvider(java.lang.String paramName,
                             java.lang.String propertyName)
creates a SessionParam from a member property. The SQL Value will be the value of the property, the MDX value will be the member.

Parameters:
paramName - name of the parameter
propertyName - name of the member property whose value will become the SQL value of the parameter
See Also:
SqlAccess, SessionParam
Method Detail

addMemberParams

protected void addMemberParams(java.util.List list,
                               SqlAccess sa,
                               Member member)
Specified by:
addMemberParams in class AbstractParamProvider