se.unlogic.eagledns.zoneproviders.db.beans
Class DBRecord
java.lang.Object
se.unlogic.eagledns.zoneproviders.db.beans.DBRecord
- All Implemented Interfaces:
- Elementable, XMLable
@XMLElement
@Table(name="records")
public class DBRecord
- extends Object
- implements Elementable
Constructor Summary |
DBRecord()
|
DBRecord(org.xbill.DNS.Record record,
org.xbill.DNS.Name origin,
long zoneTTL)
|
DBRecord
public DBRecord()
DBRecord
public DBRecord(org.xbill.DNS.Record record,
org.xbill.DNS.Name origin,
long zoneTTL)
getRecordID
public Integer getRecordID()
setRecordID
public void setRecordID(Integer recordID)
getName
public String getName()
setName
public void setName(String name)
getType
public String getType()
setType
public void setType(String type)
getContent
public String getContent()
setContent
public void setContent(String content)
getTtl
public Long getTtl()
setTtl
public void setTtl(Long ttl)
toXML
public Element toXML(Document doc)
- Specified by:
toXML
in interface Elementable
- Specified by:
toXML
in interface XMLable
getZone
public DBZone getZone()
setZone
public void setZone(DBZone zone)
getRecord
public org.xbill.DNS.Record getRecord(long zoneTTL,
org.xbill.DNS.Name origin)
throws org.xbill.DNS.TextParseException,
IOException
- Throws:
org.xbill.DNS.TextParseException
IOException
getDclass
public String getDclass()
setDclass
public void setDclass(String dclass)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.