1 13 package com.tonbeller.jpivot.olap.query; 14 15 16 19 public class ExpBean { 20 public static final int TYPE_MEMBER = 0; 21 public static final int TYPE_FUNCALL = 1; 22 public static final int TYPE_LEVEL = 2; 23 public static final int TYPE_DIM = 3; 24 public static final int TYPE_HIER = 4; 25 public static final int TYPE_STRING_LITERAL = 5; 26 public static final int TYPE_INTEGER_LITERAL = 6; 27 public static final int TYPE_DOUBLE_LITERAL = 7; 28 public static final int TYPE_TOPLEVEL_MEMBERS = 8; 29 30 private int type; 31 private String name; 32 private ExpBean[] args; 33 private Object literalValue = null; 34 35 38 public ExpBean[] getArgs() { 39 return args; 40 } 41 42 45 public String getName() { 46 return name; 47 } 48 49 52 public void setArgs(ExpBean[] args) { 53 this.args = args; 54 } 55 56 59 public void setName(String name) { 60 this.name = name; 61 } 62 63 66 public int getType() { 67 return type; 68 } 69 70 73 public void setType(int type) { 74 this.type = type; 75 } 76 77 80 public Object getLiteralValue() { 81 return literalValue; 82 } 83 84 87 public void setLiteralValue(Object object) { 88 literalValue = object; 89 } 90 91 } | Popular Tags |