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

📄 edgeview.java

📁 一个数据挖掘软件ALPHAMINERR的整个过程的JAVA版源代码
💻 JAVA
字号:
/*
 *    This program is free software; you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation; either version 2 of the License, or
 *    (at your option) any later version.
 *
 *    This program is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with this program; if not, write to the Free Software
 *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

 /**
  * Title: XELOPES Data Mining Library
  * Description: The XELOPES library is an open platform-independent and data-source-independent library for Embedded Data Mining.
  * Copyright: Copyright (c) 2002 Prudential Systems Software GmbH
  * Company: ZSoft (www.zsoft.ru), Prudsys (www.prudsys.com)
  * @author Michael Thess
  * @version 1.2
  */

package com.prudsys.pdm.Olap.Query.Core;

import java.util.Collection;
import java.util.List;

import javax.olap.OLAPException;

import com.prudsys.pdm.Cwm.JMIList;

/**
 * Edge view class.
 */
public class EdgeView extends Ordinate implements javax.olap.query.querycoremodel.EdgeView
{
  /** Cube view owning this edge as page. */
  protected CubeView pageOwner;

  /** Cube view owning this page as ordinate. */
  protected CubeView ordinateOwner;

  /** List of dimension views owned by this edge view. */
  protected JMIList dimensionView = new JMIList();

  /** List of edge cursors. */
  protected JMIList edgeCursor = new JMIList();

  /** List of edge filters. */
  protected JMIList edgeFilter = new JMIList();

  /** List of segments. */
  protected JMIList segment = new JMIList();


  public EdgeView() {

  }

  public EdgeView(CubeView owner, boolean isPage) {

    if (isPage)
      this.pageOwner = owner;
    else
      this.ordinateOwner = owner;
  }


  public javax.olap.query.querycoremodel.CubeView getPageOwner() throws OLAPException {

    return pageOwner;
  }

  public javax.olap.query.querycoremodel.CubeView getOrdinateOwner() throws OLAPException {

    return ordinateOwner;
  }

  public void setDimensionView(Collection input) throws OLAPException {

    dimensionView.set(input);
  }

  public List getDimensionView() throws OLAPException {

    return dimensionView.get();
  }

  public void addDimensionView(javax.olap.query.querycoremodel.DimensionView input) throws OLAPException {
          dimensionView.add(input);
  }

  public void removeDimensionView(javax.olap.query.querycoremodel.DimensionView input) throws OLAPException {
          dimensionView.remove(input);
  }

  public void addDimensionViewBefore(javax.olap.query.querycoremodel.DimensionView before, javax.olap.query.querycoremodel.DimensionView input) throws OLAPException {
          dimensionView.addBefore(before, input);
  }

  public void addDimensionViewAfter(javax.olap.query.querycoremodel.DimensionView before, javax.olap.query.querycoremodel.DimensionView input) throws OLAPException {
          dimensionView.addAfter(before, input);
  }

  public void moveDimensionViewBefore(javax.olap.query.querycoremodel.DimensionView before, javax.olap.query.querycoremodel.DimensionView input) throws OLAPException {
          dimensionView.moveBefore(before, input);
  }

  public void moveDimensionViewAfter(javax.olap.query.querycoremodel.DimensionView before, javax.olap.query.querycoremodel.DimensionView input) throws OLAPException {
          dimensionView.moveAfter(before, input);
  }

  public void setEdgeCursor(Collection input) throws OLAPException {
          edgeCursor.set(input);
  }

  public Collection getEdgeCursor() throws OLAPException {
          return edgeCursor.get();
  }

  public void removeEdgeCursor(javax.olap.cursor.EdgeCursor input) throws OLAPException {
          edgeCursor.remove(input);
  }

  public void setSegment(Collection input) throws OLAPException {
          segment.set(input);
  }

  public Collection getSegment() throws OLAPException {
          return segment.get();
  }

  public void removeSegment(javax.olap.query.querycoremodel.Segment input) throws OLAPException {
          segment.remove(input);
  }

  public void setEdgeFilter(Collection input) throws OLAPException {
          edgeFilter.set(input);
  }

  public List getEdgeFilter() throws OLAPException {
          return edgeFilter.get();
  }

  public void removeEdgeFilter(javax.olap.query.querycoremodel.EdgeFilter input) throws OLAPException {
          edgeFilter.remove(input);
  }

  public void moveEdgeFilterBefore(javax.olap.query.querycoremodel.EdgeFilter before, javax.olap.query.querycoremodel.EdgeFilter input) throws OLAPException {
          edgeFilter.moveBefore(before, input);
  }

  public void moveEdgeFilterAfter(javax.olap.query.querycoremodel.EdgeFilter before, javax.olap.query.querycoremodel.EdgeFilter input) throws OLAPException {
          edgeFilter.moveAfter(before, input);
  }

  public void setTuple(Collection input) throws OLAPException {
          throw new UnsupportedOperationException();
  }

  public Collection getTuple() throws OLAPException {
          throw new UnsupportedOperationException();
  }

  public void removeTuple(javax.olap.query.querycoremodel.Tuple input) throws OLAPException {
          throw new UnsupportedOperationException();
  }

  public javax.olap.cursor.EdgeCursor createCursor() throws OLAPException {
          throw new UnsupportedOperationException();
  }

  public javax.olap.query.querycoremodel.Segment createSegment() throws OLAPException {

    return null;
  }

  public javax.olap.query.querycoremodel.Segment createSegmentBefore(javax.olap.query.querycoremodel.Segment member) throws OLAPException {

    return null;
  }

  public javax.olap.query.querycoremodel.Segment createSegmentAfter(javax.olap.query.querycoremodel.Segment member) throws OLAPException {

    return null;
  }

  public javax.olap.query.querycoremodel.EdgeFilter createEdgeFilter(javax.olap.query.enumerations.EdgeFilterType type) throws OLAPException {

    return null;
  }

  public javax.olap.query.querycoremodel.EdgeFilter createEdgeFilterBefore(javax.olap.query.enumerations.EdgeFilterType type, javax.olap.query.querycoremodel.EdgeFilter member) throws OLAPException {

    return null;
  }

  public javax.olap.query.querycoremodel.EdgeFilter createEdgeFilterAfter(javax.olap.query.enumerations.EdgeFilterType type, javax.olap.query.querycoremodel.EdgeFilter member) throws OLAPException {

    return null;
  }

  public javax.olap.query.querycoremodel.Tuple createTuple() throws OLAPException {
    throw new UnsupportedOperationException();
  }

  public javax.olap.query.edgefilters.CurrentEdgeMember createCurrentEdgeMember() throws OLAPException {
          throw new UnsupportedOperationException();
  }

}

⌨️ 快捷键说明

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