org.jsqltool.replication
Class ReplicationProfile

java.lang.Object
  |
  +--org.jsqltool.replication.ReplicationProfile

public class ReplicationProfile
extends java.lang.Object

Title: JSqlTool Project

Description: This Value Object contains replication settings used in a Data Replication process.

Copyright: Copyright (C) 2006 Mauro Carniel

This file is part of JSqlTool project. This library is free software; you can redistribute it and/or modify it under the terms of the (LGPL) Lesser General Public License as published by the Free Software Foundation; GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 This library 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 Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. The author may be contacted at: maurocarniel@tin.it


Constructor Summary
ReplicationProfile()
           
 
Method Summary
 java.lang.String getDestDatabase()
           
 java.lang.String getName()
           
 java.lang.String getSourceDatabase()
           
 java.util.ArrayList getTablesList()
           
 boolean isRecreateTablesContent()
           
 void loadProfile(javax.swing.JInternalFrame parent, java.io.File file, java.util.ArrayList profiles, java.util.Vector profileNames)
          Load replication profile file (profile/filename.rep)
 void saveProfile(javax.swing.JFrame parent, boolean isEdit)
           
 void setDestDatabase(java.lang.String destDatabase)
           
 void setName(java.lang.String name)
           
 void setRecreateTablesContent(boolean recreateTablesContent)
           
 void setSourceDatabase(java.lang.String sourceDatabase)
           
 void setTablesList(java.util.ArrayList tablesList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationProfile

public ReplicationProfile()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getSourceDatabase

public java.lang.String getSourceDatabase()

setSourceDatabase

public void setSourceDatabase(java.lang.String sourceDatabase)

getDestDatabase

public java.lang.String getDestDatabase()

setDestDatabase

public void setDestDatabase(java.lang.String destDatabase)

getTablesList

public java.util.ArrayList getTablesList()

setTablesList

public void setTablesList(java.util.ArrayList tablesList)

isRecreateTablesContent

public boolean isRecreateTablesContent()

setRecreateTablesContent

public void setRecreateTablesContent(boolean recreateTablesContent)

loadProfile

public void loadProfile(javax.swing.JInternalFrame parent,
                        java.io.File file,
                        java.util.ArrayList profiles,
                        java.util.Vector profileNames)
Load replication profile file (profile/filename.rep)


saveProfile

public void saveProfile(javax.swing.JFrame parent,
                        boolean isEdit)