|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.core.EppObject
com.neulevel.epp.xri.EppXriNumber
public class EppXriNumber
This EppXriNumber class implements EPP XRI I-Number objects.
| Field Summary | |
|---|---|
static int |
DEFAULT_PRIORITY
Deprecated. |
static java.lang.String |
STATUS_CLIENT_DELETE_PROHIBITED
I-Number status - clientDeleteProhibited |
static java.lang.String |
STATUS_CLIENT_HOLD
I-Number status - clientHold |
static java.lang.String |
STATUS_CLIENT_RENEW_PROHIBITED
I-Number status - clientRenewProhibited |
static java.lang.String |
STATUS_CLIENT_UPDATE_PROHIBITED
I-Number status - clientUpdateProhibited |
static java.lang.String |
STATUS_OK
I-Number status - ok |
static java.lang.String |
STATUS_PENDING_CREATE
I-Number status - pendingCreate |
static java.lang.String |
STATUS_PENDING_DELETE
I-Number status - pendingDelete |
static java.lang.String |
STATUS_PENDING_TRANSFER
I-Number status - pendingTransfer |
static java.lang.String |
STATUS_PENDING_UPDATE
I-Number status - pendingUpdate |
static java.lang.String |
STATUS_SERVER_DELETE_PROHIBITED
I-Number status - serverDeleteProhibited |
static java.lang.String |
STATUS_SERVER_HOLD
I-Number status - serverHold |
static java.lang.String |
STATUS_SERVER_RENEW_PROHIBITED
I-Number status - serverRenewProhibited |
static java.lang.String |
STATUS_SERVER_UPDATE_PROHIBITED
I-Number status - serverUpdateProhibited |
static java.lang.String |
STATUS_TERMINATED
I-Number status - terminated |
| Fields inherited from class com.neulevel.epp.core.EppObject |
|---|
authInfo, clID, CONTACT, crDate, crID, DOMAIN, exDate, HOST, roid, status, SVCSUB, trDate, upDate, upID, XRI_AUTHORITY, XRI_INAME, XRI_INUMBER, XRI_ISERVICE |
| Constructor Summary | |
|---|---|
EppXriNumber()
Creates an EppXriNumber object |
|
EppXriNumber(java.lang.String inumber)
Creates an EppXriNumber object with an XRI i-number |
|
| Method Summary | |
|---|---|
static EppCommandCheckXriNumber |
check(java.lang.String xid)
Creates an EppCommandCheckXriNumber object for
checking the existance of EPP XRI I-Number objects in the registry. |
static EppCommandDeleteXriNumber |
delete(java.lang.String inumber,
java.lang.String xid)
Creates an EppCommandDeleteXriNumber object for
deleting an EPP XRI I-Number object from the registry. |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppXriNumber object. |
java.lang.String |
getAuthorityId()
Gets the identifier of the superordinate XRI authority object |
java.lang.String |
getINumber()
Gets the i-number |
EppPeriod |
getPeriod()
Gets registration period for the i-number |
int |
getPriority()
Deprecated. |
java.lang.String |
getReferenceId()
Gets the reference identifier used in generating the i-number, if any |
static EppCommandInfoXriNumber |
info(java.lang.String inumber,
java.lang.String xid)
Creates an EppCommandInfoXriNumber object for
querying the details of an EPP XRI I-Number object |
static EppCommandRenewXriNumber |
renew(java.lang.String inumber,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
Creates an EppCommandRenewXriNumber object for
renewing the registration of an EPP XRI I-Number object in the registry. |
void |
setAuthority(java.lang.String authId,
EppAuthInfo authInfo)
Sets the identifier of the superorindate XRI authority object, and authInfo associated with the authority, if any |
void |
setAuthorityId(java.lang.String authId)
Sets the identifier of the superordinate XRI authority object |
void |
setINumber(java.lang.String inumber)
Sets the i-number |
void |
setPeriod(EppPeriod period)
Sets registration period for the i-number |
void |
setPriority(int priority)
Deprecated. |
void |
setReferenceId(java.lang.String refId)
Gets the reference identifier used in generating the i-number, if any |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriNumber object into an XML element |
static EppCommandUpdateXriNumber |
update(java.lang.String inumber,
java.lang.String xid)
Creates an EppCommandUpdateXriNumber object for
updating an EPP I-Number object in the registry. |
| Methods inherited from class com.neulevel.epp.core.EppObject |
|---|
addStatus, create, fromXMLCommon, getAuthInfo, getClientId, getClientIdCreated, getClientIdUpdated, getDateCreated, getDateExpired, getDateTransferred, getDateUpdated, getRoid, getStatus, setAuthInfo, setClientId, setClientIdCreated, setClientIdUpdated, setDateCreated, setDateExpired, setDateTransferred, setDateUpdated, setRoid, toXMLCommon |
| 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 |
|---|
public static final int DEFAULT_PRIORITY
public static final java.lang.String STATUS_CLIENT_DELETE_PROHIBITED
public static final java.lang.String STATUS_CLIENT_HOLD
public static final java.lang.String STATUS_CLIENT_RENEW_PROHIBITED
public static final java.lang.String STATUS_CLIENT_UPDATE_PROHIBITED
public static final java.lang.String STATUS_OK
public static final java.lang.String STATUS_PENDING_CREATE
public static final java.lang.String STATUS_PENDING_DELETE
public static final java.lang.String STATUS_PENDING_TRANSFER
public static final java.lang.String STATUS_PENDING_UPDATE
public static final java.lang.String STATUS_SERVER_DELETE_PROHIBITED
public static final java.lang.String STATUS_SERVER_HOLD
public static final java.lang.String STATUS_SERVER_RENEW_PROHIBITED
public static final java.lang.String STATUS_SERVER_UPDATE_PROHIBITED
public static final java.lang.String STATUS_TERMINATED
| Constructor Detail |
|---|
public EppXriNumber()
EppXriNumber object
public EppXriNumber(java.lang.String inumber)
EppXriNumber object with an XRI i-number
| Method Detail |
|---|
public java.lang.String getINumber()
public void setINumber(java.lang.String inumber)
public void setAuthority(java.lang.String authId,
EppAuthInfo authInfo)
public java.lang.String getAuthorityId()
public void setAuthorityId(java.lang.String authId)
public java.lang.String getReferenceId()
public void setReferenceId(java.lang.String refId)
public int getPriority()
public void setPriority(int priority)
public EppPeriod getPeriod()
public void setPeriod(EppPeriod period)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriNumber object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriNumber object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppXriNumber object.
The caller of this method must make sure that the root node is of
the EPP I-Number type.
root - root node for an EppXriNumber object in
XML format
EppXriNumber object, or null if the node
is invalidpublic java.lang.String toString()
toString in class EppEntity
public static EppCommandDeleteXriNumber delete(java.lang.String inumber,
java.lang.String xid)
EppCommandDeleteXriNumber object for
deleting an EPP XRI I-Number object from the registry.
inumber - the i-number of the XRI i-number object to be deletedxid - the client transaction id associated with the operation
public static EppCommandInfoXriNumber info(java.lang.String inumber,
java.lang.String xid)
EppCommandInfoXriNumber object for
querying the details of an EPP XRI I-Number object
inumber - the i-number of the XRI i-number object to be queriedxid - the client transaction id associated with the operationpublic static EppCommandCheckXriNumber check(java.lang.String xid)
EppCommandCheckXriNumber object for
checking the existance of EPP XRI I-Number objects in the registry.
Identifiers of EPP XRI I-Number objects can be added via the
add or addINumber methods.
xid - the client transaction id associated with the operation
public static EppCommandRenewXriNumber renew(java.lang.String inumber,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
EppCommandRenewXriNumber object for
renewing the registration of an EPP XRI I-Number object in the registry.
inumber - the inumber of the XRI i-number object to be renewedcurExpDate - the current expiration date of the svcsub objectperiod - the new registration period of the svcsub object,
or null if using the value specified by the
registryxid - the client transaction id associated with the
operation
public static EppCommandUpdateXriNumber update(java.lang.String inumber,
java.lang.String xid)
EppCommandUpdateXriNumber object for
updating an EPP I-Number object in the registry. The actual update
information should be specified via the various methods defined
for the EppCommandUpdateXriNumber object.
inumber - the i-number of the XRI i-number object to be updatedxid - the client transaction id associated with the operation
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||