base.backup
Class Backup
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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.