1 4 package com.tonbeller.jpivot.param; 5 6 import java.util.List ; 7 8 import com.tonbeller.jpivot.olap.model.Member; 9 import com.tonbeller.wcf.param.SessionParam; 10 11 17 public class PropertyParamProvider extends AbstractParamProvider { 18 private String paramName; 19 private String propertyName; 20 21 31 32 public PropertyParamProvider(String paramName, String propertyName) { 33 this.paramName = paramName; 34 this.propertyName = propertyName; 35 } 36 37 protected void addMemberParams(List list, SqlAccess sa, Member member) { 38 SessionParam param = sa.createParameter(member, paramName, propertyName); 39 if (param != null) list.add(param); 41 } 42 43 } | Popular Tags |