public class ResourceRecordImpl extends Object implements ResourceRecord
Constructor and Description |
---|
ResourceRecordImpl(String domainName,
RecordType recordType,
RecordClass recordClass,
int timeToLive,
Map<String,Object> attributes)
Creates a new instance of ResourceRecordImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
get(String id) |
String |
getDomainName() |
RecordClass |
getRecordClass() |
RecordType |
getRecordType() |
int |
getTimeToLive() |
int |
hashCode()
Compute the instance hash code
|
String |
toString() |
public ResourceRecordImpl(String domainName, RecordType recordType, RecordClass recordClass, int timeToLive, Map<String,Object> attributes)
domainName
- recordType
- recordClass
- timeToLive
- attributes
- public String getDomainName()
getDomainName
in interface ResourceRecord
public RecordType getRecordType()
getRecordType
in interface ResourceRecord
public RecordClass getRecordClass()
getRecordClass
in interface ResourceRecord
public int getTimeToLive()
getTimeToLive
in interface ResourceRecord
public String get(String id)
get
in interface ResourceRecord
public int hashCode()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.