⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 expbean.java

📁 OLAP 的客户端代码
💻 JAVA
字号:
/*
 * ====================================================================
 * This software is subject to the terms of the Common Public License
 * Agreement, available at the following URL:
 *   http://www.opensource.org/licenses/cpl.html .
 * Copyright (C) 2003-2004 TONBELLER AG.
 * All Rights Reserved.
 * You must accept the terms of that agreement to use this software.
 * ====================================================================
 *
 * 
 */
package com.tonbeller.jpivot.olap.query;


/*
 * serialization for Exp - used  by memento
 */
public class ExpBean {
  public static final int TYPE_MEMBER = 0;
  public static final int TYPE_FUNCALL = 1;
  public static final int TYPE_LEVEL = 2;
  public static final int TYPE_DIM = 3;
  public static final int TYPE_HIER = 4;
  public static final int TYPE_STRING_LITERAL = 5;
  public static final int TYPE_INTEGER_LITERAL = 6;
  public static final int TYPE_DOUBLE_LITERAL = 7;
  public static final int TYPE_TOPLEVEL_MEMBERS = 8;
  
  private int type;
  private String name;
  private ExpBean[] args;
  private Object literalValue = null;

  /**
   * @return args
   */
  public ExpBean[] getArgs() {
    return args;
  }

  /**
   * @return name
   */
  public String getName() {
    return name;
  }

  /**
   * @param args
   */
  public void setArgs(ExpBean[] args) {
    this.args = args;
  }

  /**
   * @param name
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * @return type
   */
  public int getType() {
    return type;
  }

  /**
   * @param type
   */
  public void setType(int type) {
    this.type = type;
  }

  /**
   * @return
   */
  public Object getLiteralValue() {
    return literalValue;
  }

  /**
   * @param object
   */
  public void setLiteralValue(Object object) {
    literalValue = object;
  }

} //ExpBean

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -