base.backup
Class Backup

java.lang.Object
  extended by base.backup.Backup

public class Backup
extends java.lang.Object


Constructor Summary
  Backup(org.w3c.dom.Document document)
           
protected Backup(int id, java.lang.String name, java.lang.String description, java.util.Date date, java.lang.String dbLocationPath, java.lang.String zipLocationPath)
           
 
Method Summary
 java.lang.String getBackupFileName()
           
 java.util.Date getDate()
           
 java.lang.String getDbLocationPath()
           
 java.lang.String getDescription()
           
 int getId()
           
 java.lang.String getName()
           
 long getSize()
           
 java.lang.String getZipLocationPath()
           
 void setCurrentBackupLocationPath(java.lang.String currentBackupLocationPath)
           
protected  void setDate(java.util.Date date)
           
protected  void setDbLocationPath(java.lang.String dbLocationPath)
           
protected  void setDescription(java.lang.String description)
           
protected  void setName(java.lang.String name)
           
protected  void setZipLocationPath(java.lang.String zipLocationPath)
           
 org.w3c.dom.Node toXml(org.w3c.dom.Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Backup

protected Backup(int id,
                 java.lang.String name,
                 java.lang.String description,
                 java.util.Date date,
                 java.lang.String dbLocationPath,
                 java.lang.String zipLocationPath)
Parameters:
id - The backup's id.
name - The backup's name.
description - The backup's description.
date - The backup's date.
dbLocationPath - The backup's database file dbLocationPath.
zipLocationPath -

Backup

public Backup(org.w3c.dom.Document document)
Method Detail

getDate

public java.util.Date getDate()
Returns:
Returns the date.

setDate

protected void setDate(java.util.Date date)
Parameters:
date - The date to set.

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

protected void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

protected void setName(java.lang.String name)
Parameters:
name - The name to set.

getDbLocationPath

public java.lang.String getDbLocationPath()
Returns:
Returns the dbLocationPath.

getId

public int getId()
Returns:
Returns the id.

getBackupFileName

public java.lang.String getBackupFileName()

getZipLocationPath

public java.lang.String getZipLocationPath()
Returns:
Returns the zipLocationPath.

setCurrentBackupLocationPath

public void setCurrentBackupLocationPath(java.lang.String currentBackupLocationPath)
Parameters:
currentBackupLocationPath - The currentBackupLocationPath to set.

toXml

public org.w3c.dom.Node toXml(org.w3c.dom.Document document)

setDbLocationPath

protected void setDbLocationPath(java.lang.String dbLocationPath)
Parameters:
dbLocationPath - The dbLocationPath to set.

setZipLocationPath

protected void setZipLocationPath(java.lang.String zipLocationPath)
Parameters:
zipLocationPath - The zipLocationPath to set.

getSize

public long getSize()
Returns:
Returns the size.


Copyright © 2006 SF.net. All Rights Reserved.