EPP RTK
for Java v 0.5.0

org.openrtk.idl.epp
Class epp_CheckResult

java.lang.Object
  |
  +--org.openrtk.idl.epp.epp_CheckResult
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable

public class epp_CheckResult
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

Class that contains the elements generic to all the check command responses.

$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp/epp_CheckResult.java,v 1.8 2002/03/13 16:24:13 lyin Exp $
$Revision: 1.8 $
$Date: 2002/03/13 16:24:13 $

See Also:
epp_DomainCheckRsp.getResults(), epp_HostCheckRsp.getResults(), epp_ContactCheckRsp.getResults(), Serialized Form

Field Summary
 boolean m_avail
          The boolean value indicating whether an object is available in the registry or not.
 java.lang.String m_lang
          The language for the reason text, default "en"
 java.lang.String m_reason
          Server-specific text to explain why the object is unavailable Max length 32 by the XSD specifications
 java.lang.String m_value
          The identifier or name of the object checked in the registry.
 
Constructor Summary
epp_CheckResult()
          Empty constructor
epp_CheckResult(boolean _m_exists, java.lang.String _m_value)
          Deprecated. Please use epp_CheckResult(String _m_value, boolean _m_exists, String _m_reason, String _m_lang) instead
epp_CheckResult(java.lang.String _m_value, boolean _m_avail, java.lang.String _m_reason, java.lang.String _m_lang)
          The constructor with initializing variables.
 
Method Summary
 boolean getAvail()
          Accessor method for the boolean value indicating whether an object is available or not
 boolean getExists()
          Deprecated. Please use getAvail() instead
 java.lang.String getLang()
          Accessor method for the language of the reason text
 java.lang.String getReason()
          Accessor method for the reason text
 java.lang.String getValue()
          Accessor method for the identifier or name of the object checked in the registry
 void setAvail(boolean value)
          Accessor method for the boolean value indicating whether an object is available or not
 void setExists(boolean value)
          Deprecated. Please use setAvail() instead
 void setLang(java.lang.String value)
          Accessor method for the language of the reason text
 void setReason(java.lang.String value)
          Accessor method for the reason text
 void setValue(java.lang.String value)
          Accessor method for the identifier or name of the object checked in the registry
 java.lang.String toString()
          Converts this class into a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_avail

public boolean m_avail
The boolean value indicating whether an object is available in the registry or not.
See Also:
setAvail(boolean), getAvail()

m_value

public java.lang.String m_value
The identifier or name of the object checked in the registry.
See Also:
setValue(String), getValue()

m_reason

public java.lang.String m_reason
Server-specific text to explain why the object is unavailable Max length 32 by the XSD specifications
See Also:
setReason(String), getReason()

m_lang

public java.lang.String m_lang
The language for the reason text, default "en"
See Also:
setLang(String), getLang()
Constructor Detail

epp_CheckResult

public epp_CheckResult()
Empty constructor

epp_CheckResult

public epp_CheckResult(boolean _m_exists,
                       java.lang.String _m_value)
Deprecated. Please use epp_CheckResult(String _m_value, boolean _m_exists, String _m_reason, String _m_lang) instead

The constructor with initializing variables.
Parameters:
_m_exists - The boolean value indicating whether an object exists in the registry or not
_m_value - The identifier or name of the object checked in the registry

epp_CheckResult

public epp_CheckResult(java.lang.String _m_value,
                       boolean _m_avail,
                       java.lang.String _m_reason,
                       java.lang.String _m_lang)
The constructor with initializing variables.
Parameters:
_m_value - The identifier or name of the object checked in the registry
_m_avail - The boolean value indicating whether an object is available or not
_m_reason - The Server-specific text to explain why the object is unavailable
_m_lang - The language of the reason text
Method Detail

setExists

public void setExists(boolean value)
Deprecated. Please use setAvail() instead

Accessor method for the boolean value indicating whether an object exists in the registry or not
Parameters:
value - The boolean value indicating whether an object exists in the registry or not

getExists

public boolean getExists()
Deprecated. Please use getAvail() instead

Accessor method for the boolean value indicating whether an object exists in the registry or not
Returns:
The boolean value indicating whether an object exists in the registry or not

setAvail

public void setAvail(boolean value)
Accessor method for the boolean value indicating whether an object is available or not
Parameters:
value - The boolean value indicating whether an object is available or not
See Also:
m_avail

getAvail

public boolean getAvail()
Accessor method for the boolean value indicating whether an object is available or not
Returns:
The boolean value indicating whether an object is available or not
See Also:
m_avail

setValue

public void setValue(java.lang.String value)
Accessor method for the identifier or name of the object checked in the registry
Parameters:
value - The identifier or name of the object
See Also:
m_value

getValue

public java.lang.String getValue()
Accessor method for the identifier or name of the object checked in the registry
Returns:
The identifier or name of the object
See Also:
m_value

setReason

public void setReason(java.lang.String value)
Accessor method for the reason text
Parameters:
value - The reason text
See Also:
m_reason

getReason

public java.lang.String getReason()
Accessor method for the reason text
Returns:
The reason text
See Also:
m_reason

setLang

public void setLang(java.lang.String value)
Accessor method for the language of the reason text
Parameters:
value - The language of the reason text
See Also:
m_lang

getLang

public java.lang.String getLang()
Accessor method for the language of the reason text
Returns:
The language of the reason text
See Also:
m_lang

toString

public java.lang.String toString()
Converts this class into a string. Typically used to view the object in debug output.
Overrides:
toString in class java.lang.Object
Returns:
The string representation of this object instance

EPP RTK
for Java v 0.5.0

Copyright © 2001 - Tucows, Inc.