Class DnsLookupResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.provision.dns.client.rpc.DnsLookupResponseDTO
-
- All Implemented Interfaces:
RpcResponse
public class DnsLookupResponseDTO extends java.lang.Object implements RpcResponse
-
-
Constructor Summary
Constructors Constructor Description DnsLookupResponseDTO()
DnsLookupResponseDTO(java.lang.Throwable ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getErrorMessage()
Returns an error message if an error occurred, ornull
otherwise.java.lang.String
getHostResponse()
int
hashCode()
void
setHostResponse(java.lang.String hostResponse)
-
-
-
Method Detail
-
getHostResponse
public java.lang.String getHostResponse()
-
setHostResponse
public void setHostResponse(java.lang.String hostResponse)
-
getErrorMessage
public java.lang.String getErrorMessage()
Description copied from interface:RpcResponse
Returns an error message if an error occurred, ornull
otherwise.- Specified by:
getErrorMessage
in interfaceRpcResponse
- Returns:
- an error message if an error occurred, or
null
otherwise
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-