public class QuestionRecord
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
domainName
A domain name represented as a sequence of labels, where
each label consists of a length octet followed by that
number of octets.
|
private RecordClass |
recordClass
A two octet code that specifies the class.
|
private RecordType |
recordType
A two octet code which specifies the type.
|
| Constructor and Description |
|---|
QuestionRecord(java.lang.String domainName,
RecordType recordType,
RecordClass recordClass)
Creates a new instance of QuestionRecord.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getDomainName()
The domain name of this query.
|
RecordClass |
getRecordClass()
The class for this query.
|
RecordType |
getRecordType()
The type of the query.
|
int |
hashCode() |
java.lang.String |
toString() |
private java.lang.String domainName
private RecordType recordType
private RecordClass recordClass
public QuestionRecord(java.lang.String domainName,
RecordType recordType,
RecordClass recordClass)
domainName - recordType - recordClass - public java.lang.String getDomainName()
public RecordType getRecordType()
RecordType.public RecordClass getRecordClass()
RecordClass.public boolean equals(java.lang.Object object)
equals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()