migratool.datasources
Class OriginDataSource

java.lang.Object
  extended by migratool.datasources.AbstractOriginDataSource
      extended by migratool.datasources.OriginDataSource

public class OriginDataSource
extends AbstractOriginDataSource

MIGRATOOL Program to migrate spatial databsets. Copyright (C) 2007 Fábio Luiz Leite Júnior Universidade Federal de Campina Grande contact: fabioleite@gmail.com 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author:
fabio

Field Summary
 
Fields inherited from class migratool.datasources.AbstractOriginDataSource
dbAccess, dbConnection, originDescription
 
Constructor Summary
OriginDataSource(BDdescription fromDescrition)
           
 
Method Summary
 LogicTable getData()
          Retorna um Tabela l�gica contendo na os metadados e os dados
 java.util.Collection getDataTable()
          Retorna uma cole��o de registros semelhante ao iGIS
 java.lang.String toString()
           
 
Methods inherited from class migratool.datasources.AbstractOriginDataSource
closeConnection, getProximaLinha, getTableMetaData, testDataBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OriginDataSource

public OriginDataSource(BDdescription fromDescrition)
Parameters:
fromDescrition -
Method Detail

getData

public LogicTable getData()
Retorna um Tabela l�gica contendo na os metadados e os dados

Specified by:
getData in class AbstractOriginDataSource
Returns:
logicTable contendo os resultados como atributos.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDataTable

public java.util.Collection getDataTable()
                                  throws DataSourceException,
                                         igis.datasources.DataSourceException
Description copied from class: AbstractOriginDataSource
Retorna uma cole��o de registros semelhante ao iGIS

Specified by:
getDataTable in class AbstractOriginDataSource
Returns:
Collection contendo os resultados como atributos.
Throws:
DataSourceException


Copyright © 2005-2007 InteliGIS. All Rights Reserved.