Package org.gdbms.engine.data.persistence

Examples of org.gdbms.engine.data.persistence.OperationLayerMemento


  /**
   * @see org.gdbms.engine.data.DataSource#getMemento()
   */
  public Memento getMemento() throws MementoException {
    return new OperationLayerMemento(getName(),
      new Memento[] { source.getMemento() }, getSQL());
  }
View Full Code Here


    /**
     * @see org.gdbms.engine.data.DataSource#getMemento()
     */
    public Memento getMemento() throws MementoException {
        return new OperationLayerMemento(getName(),
            new Memento[] { dataSource.getMemento() }, getSQL());
    }
View Full Code Here

    /**
     * @see org.gdbms.engine.data.DataSource#getMemento()
     */
    public Memento getMemento() throws MementoException {
        return new OperationLayerMemento(getName(),
            new Memento[] { dataSource.getMemento() }, getSQL());
    }
View Full Code Here

    /**
   * @see org.gdbms.engine.data.DataSource#getMemento()
   */
  public Memento getMemento() throws MementoException {
    return new OperationLayerMemento(getName(),
      new Memento[] { dataSource1.getMemento(), dataSource2.getMemento() }, getSQL());
  }
View Full Code Here

    for (int i = 0; i < mementos.length; i++) {
      mementos[i] = tables[i].getMemento();
    }

    return new OperationLayerMemento(getName(), mementos, getSQL());
  }
View Full Code Here

  /**
   * @see org.gdbms.engine.data.DataSource#getMemento()
   */
  public Memento getMemento() throws MementoException {
    return new OperationLayerMemento(getName(),
      new Memento[] { source.getMemento() }, getSQL());
  }
View Full Code Here

  /**
   * @see org.gdbms.engine.data.DataSource#getMemento()
   */
  public Memento getMemento() throws MementoException {
    return new OperationLayerMemento(getName(),
      new Memento[0], getSQL());
  }
View Full Code Here

    if (m instanceof DataSourceLayerMemento) {
      DataSourceLayerMemento mem = (DataSourceLayerMemento) m;

      return getDataSource(mem.getTableName(), mem.getTableAlias());
    } else {
      OperationLayerMemento mem = (OperationLayerMemento) m;

      return executeSQL(mem.getSql());
    }
  }
View Full Code Here

TOP

Related Classes of org.gdbms.engine.data.persistence.OperationLayerMemento

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.