EPP 0.2.6

com.neulevel.epp.core.command
Class EppCommandInfoSvcsub

java.lang.Object
  extended bycom.neulevel.epp.core.EppEntity
      extended bycom.neulevel.epp.core.command.EppCommand
          extended bycom.neulevel.epp.core.command.EppCommandInfo
              extended bycom.neulevel.epp.core.command.EppCommandInfoSvcsub

public class EppCommandInfoSvcsub
extends EppCommandInfo

This EppCommandInfoSvcsub class implements EPP Command Info entity for EPP Svcsub objects.

Version:
$Revision: 1.1.1.1 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, unspec
 
Constructor Summary
EppCommandInfoSvcsub(java.lang.String id)
          Creates an EppCommandInfoSvcsub object for querying a service subscription object based on its id
EppCommandInfoSvcsub(java.lang.String id, java.lang.String xid)
          Creates an EppCommandInfoSvcsub object for querying a service subscription object based on its id, given a client transaction id assoicated with the operation
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandInfoSvcsub object.
 EppAuthInfo getAuthInfo()
          Gets the authorization info for the query operation
 java.lang.String getId()
          Gets the id of the service subscription object to be queried
 java.lang.String getUserId()
          Gets the user id that can be used for authorization purpose
 void setAuthInfo(EppAuthInfo authInfo)
          Sets the authorization info for the query operation
 void setId(java.lang.String id)
          Sets the id of the service subscription object to be queried
 void setUserId(java.lang.String userid)
          Sets the user id that can be used for authorization purpose
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandInfoSvcsub 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
check, create, delete, getClientTransactionId, getCreds, 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

EppCommandInfoSvcsub

public EppCommandInfoSvcsub(java.lang.String id)
Creates an EppCommandInfoSvcsub object for querying a service subscription object based on its id


EppCommandInfoSvcsub

public EppCommandInfoSvcsub(java.lang.String id,
                            java.lang.String xid)
Creates an EppCommandInfoSvcsub object for querying a service subscription object based on its id, given a client transaction id assoicated with the operation

Method Detail

getId

public java.lang.String getId()
Gets the id of the service subscription object to be queried


setId

public void setId(java.lang.String id)
Sets the id of the service subscription object to be queried


getUserId

public java.lang.String getUserId()
Gets the user id that can be used for authorization purpose


setUserId

public void setUserId(java.lang.String userid)
Sets the user id that can be used for authorization purpose


getAuthInfo

public EppAuthInfo getAuthInfo()
Gets the authorization info for the query operation


setAuthInfo

public void setAuthInfo(EppAuthInfo authInfo)
Sets the authorization info for the query operation


toXML

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

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

fromXML

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

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

EPP 0.2.6

Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.