Blue Mind
Release 1.0

net.bluemind.core.api.backup
Class BackupedDomain

java.lang.Object
  extended by net.bluemind.core.api.backup.BackupedDomain
All Implemented Interfaces:
java.io.Serializable

public class BackupedDomain
extends java.lang.Object
implements java.io.Serializable

A BackupedDomain represents a backuped Domain and its backup server Host.

It contains information about backuped Domain name and the server Host.

Example :

BackupedDomain backupedDomain = new BackupedDomain(); backupedDomain.setDomainName("domain.name"); backupedDomain.setDomainExist(false); Host h = new Host(); h.setId(42); h.setName("the backup server name"); backupedDomain.setBackupServer(h);

See Also:
Serialized Form

Constructor Summary
BackupedDomain()
           
 
Method Summary
 Host getBackupServer()
          Get the backup server Host.
 java.lang.String getDomainName()
          Get the BackupedDomain name.
 boolean isDomainExist()
           
 void setBackupServer(Host backupServer)
          Set the BackupedDomain name.
 void setDomainExist(boolean domainExist)
          Set if the Domain exists on the destination Host
 void setDomainName(java.lang.String domainName)
          Set the BackupedDomain name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupedDomain

public BackupedDomain()
Method Detail

getDomainName

public java.lang.String getDomainName()
Get the BackupedDomain name.

Returns:
BackupedDomain name.

setDomainName

public void setDomainName(java.lang.String domainName)
Set the BackupedDomain name.

Parameters:
domainName - BackupedDomain name.

getBackupServer

public Host getBackupServer()
Get the backup server Host.

Returns:
backup server Host.
See Also:
Host}

setBackupServer

public void setBackupServer(Host backupServer)
Set the BackupedDomain name.

Parameters:
backupServer - the Host
See Also:
Host}

isDomainExist

public boolean isDomainExist()
Returns:
true if Domain exists on destination Host, or false.

setDomainExist

public void setDomainExist(boolean domainExist)
Set if the Domain exists on the destination Host

Parameters:
domainExist -

Blue Mind
Release 1.0