se.unlogic.eagledns
Class SecondaryZone

java.lang.Object
  extended by se.unlogic.eagledns.SecondaryZone
Direct Known Subclasses:
DBSecondaryZone

public class SecondaryZone
extends Object

This class is used to hold data secondary zones when they are loaded from ZoneProviders. The actual Zone field may be left blank if the ZoneProvider has no previously stored copy of the zoneBackup.

Author:
Robert "Unlogic" Olofsson

Constructor Summary
SecondaryZone(String zoneName, String remoteServerAddress, String dclass)
           
SecondaryZone(String zoneName, String remoteServerAddress, String dclass, Timestamp zoneDownloaded, org.xbill.DNS.Zone zone)
           
 
Method Summary
 String getDclass()
           
 Timestamp getDownloaded()
           
 String getRemoteServerAddress()
           
 org.xbill.DNS.Zone getZoneCopy()
           
 org.xbill.DNS.Name getZoneName()
           
 void setDclass(String dclass)
           
 void setDownloaded(Timestamp zoneDownloaded)
           
 void setRemoteServerAddress(String remoteServerIP)
           
 void setZoneCopy(org.xbill.DNS.Zone zone)
           
 void setZoneName(org.xbill.DNS.Name zoneName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecondaryZone

public SecondaryZone(String zoneName,
                     String remoteServerAddress,
                     String dclass)
              throws org.xbill.DNS.TextParseException
Throws:
org.xbill.DNS.TextParseException

SecondaryZone

public SecondaryZone(String zoneName,
                     String remoteServerAddress,
                     String dclass,
                     Timestamp zoneDownloaded,
                     org.xbill.DNS.Zone zone)
              throws org.xbill.DNS.TextParseException
Throws:
org.xbill.DNS.TextParseException
Method Detail

getZoneName

public org.xbill.DNS.Name getZoneName()

setZoneName

public void setZoneName(org.xbill.DNS.Name zoneName)

getRemoteServerAddress

public String getRemoteServerAddress()

setRemoteServerAddress

public void setRemoteServerAddress(String remoteServerIP)

getZoneCopy

public org.xbill.DNS.Zone getZoneCopy()

setZoneCopy

public void setZoneCopy(org.xbill.DNS.Zone zone)

getDclass

public String getDclass()

setDclass

public void setDclass(String dclass)

getDownloaded

public Timestamp getDownloaded()

setDownloaded

public void setDownloaded(Timestamp zoneDownloaded)


Copyright © 2011. All Rights Reserved.