EPP 0.4.9

com.neulevel.epp.core.command
Class EppCommandLogin

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.EppCommandLogin

public class EppCommandLogin
extends EppCommand

This EppCommandLogin class implements EPP Command Login entity.

Version:
$Revision: 1.3 $ $Date: 2006/04/03 20:18:33 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, extension
 
Constructor Summary
EppCommandLogin(EppServiceMenu serviceMenu)
          Creates an EppCommandLogin object
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandLogin object.
 java.lang.String getClientId()
          Gets registrar client id
 EppCreds getCreds()
          Gets the login credentials - for backward compatibility
 java.lang.String getNewPassword()
          Gets registrar client's new password
 EppCredsOptions getOptions()
          Gets credentials options
 java.lang.String getPassword()
          Gets registrar client's password
 EppServiceMenu getServiceMenu()
          Gets the menu of services to be supported
 void setClientId(java.lang.String clientId)
          Sets registrar client id
 void setCreds(EppCreds creds)
          Sets the login credentials - for backward compatibility
 void setNewPassword(java.lang.String newPassword)
          Sets registrar client's new password
 void setOptions(EppCredsOptions options)
          Sets credentials options
 void setPassword(java.lang.String password)
          Sets registrar client's password
 void setServiceMenu(EppServiceMenu serviceMenu)
          Sets the menu of services to be supported
 java.lang.String toString()
           
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandLogin object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommand
addExtension, addExtension, check, create, delete, getClientTransactionId, getExtension, getUnspec, info, renew, setClientTransactionId, 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

EppCommandLogin

public EppCommandLogin(EppServiceMenu serviceMenu)
Creates an EppCommandLogin object

Parameters:
serviceMenu - the menu of services to be supported
Method Detail

getServiceMenu

public EppServiceMenu getServiceMenu()
Gets the menu of services to be supported


setServiceMenu

public void setServiceMenu(EppServiceMenu serviceMenu)
Sets the menu of services to be supported


getClientId

public java.lang.String getClientId()
Gets registrar client id


setClientId

public void setClientId(java.lang.String clientId)
Sets registrar client id


getPassword

public java.lang.String getPassword()
Gets registrar client's password


setPassword

public void setPassword(java.lang.String password)
Sets registrar client's password


getNewPassword

public java.lang.String getNewPassword()
Gets registrar client's new password


setNewPassword

public void setNewPassword(java.lang.String newPassword)
Sets registrar client's new password


getOptions

public EppCredsOptions getOptions()
Gets credentials options


setOptions

public void setOptions(EppCredsOptions options)
Sets credentials options


setCreds

public void setCreds(EppCreds creds)
Sets the login credentials - for backward compatibility

Overrides:
setCreds in class EppCommand

getCreds

public EppCreds getCreds()
Gets the login credentials - for backward compatibility

Overrides:
getCreds in class EppCommand

toXML

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

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

fromXML

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

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

toString

public java.lang.String toString()
Specified by:
toString in class EppEntity

EPP 0.4.9

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