1 13 package com.tonbeller.jpivot.olap.model.impl; 14 15 import com.tonbeller.jpivot.olap.model.Expression; 16 import com.tonbeller.jpivot.olap.model.ParameterExpr; 17 import com.tonbeller.jpivot.olap.model.Visitor; 18 19 public class ParameterExprImpl implements ParameterExpr { 20 21 private String name; 22 private String label; 23 private int type; 24 private Expression value; 25 26 public ParameterExprImpl() { 27 } 28 29 public ParameterExprImpl(String name, String label, int type, Expression value) { 30 this.name = name; 31 this.label = label; 32 this.type = type; 33 this.value = value; 34 } 35 36 public void accept(Visitor visitor) { 37 visitor.visitParameterExpr(this); 38 } 39 40 public String getLabel() { 41 return label; 42 } 43 44 public Expression getValue() { 45 return value; 46 } 47 48 public void setLabel(String string) { 49 label = string; 50 } 51 52 public void setValue(Expression expression) { 53 value = expression; 54 } 55 56 public String getName() { 57 return name; 58 } 59 60 public int getType() { 61 return type; 62 } 63 64 public void setName(String string) { 65 name = string; 66 } 67 68 public void setType(int i) { 69 type = i; 70 } 71 72 } 73 | Popular Tags |