Package org.bremersee.dccon.model
Class DnsRecord
- java.lang.Object
-
- org.bremersee.dccon.model.DnsRecord
-
- All Implemented Interfaces:
Serializable
,Comparable<DnsRecord>
@Validated public class DnsRecord extends Object implements Serializable, Comparable<DnsRecord>
DNS Record.- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
SORT_ORDER_TIME_STAMP_DESC
The constant SORT_ORDER_TIME_STAMP_DESC.
-
-
-
Field Detail
-
SORT_ORDER_TIME_STAMP_DESC
public static final String SORT_ORDER_TIME_STAMP_DESC
The constant SORT_ORDER_TIME_STAMP_DESC.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DnsRecord
public DnsRecord(String recordType, String recordValue, byte[] recordRawValue, String correlatedRecordValue, Integer version, Integer serial, Integer ttlSeconds, OffsetDateTime timeStamp, DhcpLease dhcpLease)
Instantiates a new Dns record.- Parameters:
recordType
- the record typerecordValue
- the record valuerecordRawValue
- the record raw active directory valuecorrelatedRecordValue
- the correlated record valueversion
- the versionserial
- the serialttlSeconds
- the ttl secondstimeStamp
- the time stampdhcpLease
- the dhcp lease
-
-
Method Detail
-
hasRecordRawValue
public boolean hasRecordRawValue()
-
compareTo
public int compareTo(DnsRecord o)
- Specified by:
compareTo
in interfaceComparable<DnsRecord>
-
-