EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandUpdateXriNumber

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.EppCommandUpdate
              extended by com.neulevel.epp.xri.command.EppCommandUpdateXriNumber

public class EppCommandUpdateXriNumber
extends EppCommandUpdate

This EppCommandUpdateXriNumber class implements EPP Command Update entity for EPP XRI I-Number objects.

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

Field Summary
 
Fields inherited from class com.neulevel.epp.core.command.EppCommandUpdate
statusAdded, statusRemoved
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, extension
 
Constructor Summary
EppCommandUpdateXriNumber(java.lang.String inumber)
          Creates an EppCommandUpdateXriNumber given the i-number of the XRI i-number object
EppCommandUpdateXriNumber(java.lang.String inumber, java.lang.String xid)
          Creates an EppCommandUpdateXriNumber given the i-number of the XRI i-number object and a client transaction id
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandUpdateXriNumber object.
 java.lang.String getINumber()
          Gets the i-number of the XRI i-number object to be updated
 int getNewPriority()
          Gets the new priority value for this i-number
 void setINumber(java.lang.String inumber)
          Sets the i-number of the XRI i-number object to be updated
 void setNewPriority(int newPriority)
          Sets the priority value for this i-number
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandUpdateXriNumber object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommandUpdate
addStatus, addStatus, getAddedStatus, getRemovedStatus, removeStatus, removeStatus, statusFromXML, statusToXML, 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
 

Constructor Detail

EppCommandUpdateXriNumber

public EppCommandUpdateXriNumber(java.lang.String inumber)
Creates an EppCommandUpdateXriNumber given the i-number of the XRI i-number object


EppCommandUpdateXriNumber

public EppCommandUpdateXriNumber(java.lang.String inumber,
                                 java.lang.String xid)
Creates an EppCommandUpdateXriNumber given the i-number of the XRI i-number object and a client transaction id

Method Detail

getINumber

public java.lang.String getINumber()
Gets the i-number of the XRI i-number object to be updated


setINumber

public void setINumber(java.lang.String inumber)
Sets the i-number of the XRI i-number object to be updated


getNewPriority

public int getNewPriority()
Gets the new priority value for this i-number


setNewPriority

public void setNewPriority(int newPriority)
Sets the priority value for this i-number


toXML

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

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

fromXML

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

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

EPP 0.4.9

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