EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandInfoXriAuthority

java.lang.Object
  extended by com.neulevel.epp.core.EppEntity
      extended by com.neulevel.epp.core.command.EppCommand
          extended by com.neulevel.epp.core.command.EppCommandInfo
              extended by com.neulevel.epp.xri.command.EppCommandInfoXriAuthority

public class EppCommandInfoXriAuthority
extends EppCommandInfo

This EppCommandInfoXriAuthority class implements EPP Command Info entity for EPP XRI Authority objects.

Version:
$Revision: 1.2 $ $Date: 2006/03/01 01:35:38 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
static java.lang.String CONTROL_ALL
          I-Name/I-Number/I-Service Control - all
static java.lang.String CONTROL_INAME
          I-Name/I-Number/I-Service Control - iname
static java.lang.String CONTROL_INUMBER
          I-Name/I-Number/I-Service Control - inumber
static java.lang.String CONTROL_ISERVICE
          I-Name/I-Number/I-Service Control - iservice
static java.lang.String CONTROL_NONE
          I-Name/I-Numbre/I-Service Control - none
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, extension
 
Constructor Summary
EppCommandInfoXriAuthority(java.lang.String authId)
          Creates an EppCommandInfoXriAuthority object for querying an XRI authority object based on its identifier
EppCommandInfoXriAuthority(java.lang.String authId, java.lang.String xid)
          Creates an EppCommandInfoXriAuthority object for querying an XRI authority object based on its identifier, given a client transaction id associated with the operation
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandInfoXriAuthority object.
 EppAuthInfo getAuthInfo()
          Gets the optional authorization info for querying the XRI authority object
 java.lang.String getAuthorityId()
          Gets the identifier of the XRI authority object to be queried
 java.lang.String getControl()
          Gets the control attribute for querying the XRI authority object
 void setAuthInfo(EppAuthInfo authInfo)
          Sets the optional authorization info for querying the XRI authority object
 void setAuthorityId(java.lang.String authId)
          Sets the identifier of the XRI authority object to be queried
 void setControl(java.lang.String control)
          Sets the control attribute for querying the XRI authority object, with one of the following values: CONTROL_ALL CONTROL_INAME CONTROL_INUMBER CONTROL_ISERVICE CONTROL_NONE
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandInfoXriAuthority object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommandInfo
toString
 
Methods inherited from class com.neulevel.epp.core.command.EppCommand
addExtension, addExtension, check, create, delete, getClientTransactionId, getCreds, getExtension, getUnspec, info, renew, setClientTransactionId, setCreds, setUnspec, toXMLCommon, toXMLCommon, toXMLCommon, toXMLCommon, transfer, update
 
Methods inherited from class com.neulevel.epp.core.EppEntity
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTROL_ALL

public static final java.lang.String CONTROL_ALL
I-Name/I-Number/I-Service Control - all

A value of "all" returns information of associated subordinate i-names, i-numbers and i-service identifiers

See Also:
Constant Field Values

CONTROL_INAME

public static final java.lang.String CONTROL_INAME
I-Name/I-Number/I-Service Control - iname

A value of "iname" returns information of associated subordinate i-names only

See Also:
Constant Field Values

CONTROL_INUMBER

public static final java.lang.String CONTROL_INUMBER
I-Name/I-Number/I-Service Control - inumber

A value of "inumber" returns information of associated subordinate i-numbers only

See Also:
Constant Field Values

CONTROL_ISERVICE

public static final java.lang.String CONTROL_ISERVICE
I-Name/I-Number/I-Service Control - iservice

A value of "iservice" returns information of associated subordinate i-service identifiers only

See Also:
Constant Field Values

CONTROL_NONE

public static final java.lang.String CONTROL_NONE
I-Name/I-Numbre/I-Service Control - none

A value of "none" (the default, which MAY be absent) returns no information of associated subordinate i-names, i-numbers, or i-service identifiers

See Also:
Constant Field Values
Constructor Detail

EppCommandInfoXriAuthority

public EppCommandInfoXriAuthority(java.lang.String authId)
Creates an EppCommandInfoXriAuthority object for querying an XRI authority object based on its identifier


EppCommandInfoXriAuthority

public EppCommandInfoXriAuthority(java.lang.String authId,
                                  java.lang.String xid)
Creates an EppCommandInfoXriAuthority object for querying an XRI authority object based on its identifier, given a client transaction id associated with the operation

Method Detail

getAuthorityId

public java.lang.String getAuthorityId()
Gets the identifier of the XRI authority object to be queried


setAuthorityId

public void setAuthorityId(java.lang.String authId)
Sets the identifier of the XRI authority object to be queried


getAuthInfo

public EppAuthInfo getAuthInfo()
Gets the optional authorization info for querying the XRI authority object


setAuthInfo

public void setAuthInfo(EppAuthInfo authInfo)
Sets the optional authorization info for querying the XRI authority object


getControl

public java.lang.String getControl()
Gets the control attribute for querying the XRI authority object


setControl

public void setControl(java.lang.String control)
Sets the control attribute for querying the XRI authority object, with one of the following values:


toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
                                 java.lang.String tag)
Converts the EppCommandInfoXriAuthority object into an XML element

Specified by:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppCommandInfoXriAuthority object
Returns:
an Element object

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandInfoXriAuthority object. The caller of this method must make sure that the root node is of an EPP Command Info entity for EPP XRI authority object.

Parameters:
root - root node for an EppCommandInfoXriAuthority object in XML format
Returns:
an EppCommandInfoXriAuthority object, or null if the node is invalid

EPP 0.4.9

Copyright © 2001-2006 NeuStar, Inc. All Rights Reserved.