public class EPPRegistryMaxSig extends java.lang.Object implements EPPCodecComponent
EPPRegistryMaxSig defines the maximum signature lifetime policies.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_CLIENT_DEFINED
XML Element Name of
clientDefined attribute. |
static java.lang.String |
ELM_DEFAULT
XML Element Name of
defaultLife attribute. |
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryMaxSig. |
static java.lang.String |
ELM_MAX
XML Element Name of
max attribute. |
static java.lang.String |
ELM_MIN
XML Element Name of
min attribute. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryMaxSig. |
| Constructor and Description |
|---|
EPPRegistryMaxSig()
Default constructor.
|
EPPRegistryMaxSig(java.lang.Boolean aClientDefined,
java.lang.Integer aDefaultLife,
java.lang.Integer aMin,
java.lang.Integer aMax)
Constructor that takes all attributes as parameters.
|
EPPRegistryMaxSig(boolean clientDefined,
int defaultLife,
int min,
int max)
Constructor that takes all attributes as parameters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPRegistryMaxSig. |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryMaxSig attributes from the aElement DOM
Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPRegistryMaxSig instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryMaxSig compare. |
java.lang.Boolean |
getClientDefined()
Gets the OPTIONAL boolean flag indicating whether the client can set the
maximum signature lifetime with a default value of "false".
|
java.lang.Integer |
getDefaultLife()
Gets the OPTIONAL default maximum signature lifetime set by the server.
|
java.lang.Integer |
getMax()
Gets the OPTIONAL maximum signature lifetime supported.
|
java.lang.Integer |
getMin()
Gets the OPTIONAL minimum signature lifetime supported.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
boolean |
hasDefaultLife()
Is the default lifetime defined?
|
boolean |
hasMax()
Is the maximum signature lifetime defined?
|
boolean |
hasMin()
Is the minimum signature lifetime defined?
|
void |
setClientDefined(java.lang.Boolean aClientDefined)
Sets the OPTIONAL boolean flag indicating whether the client can set the
maximum signature lifetime with a default value of "false".
|
void |
setDefaultLife(java.lang.Integer aDefaultLife)
Sets the OPTIONAL default maximum signature lifetime set by the server.
|
void |
setMax(java.lang.Integer aMax)
Sets the OPTIONAL maximum signature lifetime supported.
|
void |
setMin(java.lang.Integer aMin)
Sets the OPTIONAL minimum signature lifetime supported.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
public static final java.lang.String ELM_LOCALNAME
EPPRegistryMaxSig.public static final java.lang.String ELM_NAME
EPPRegistryMaxSig.public static final java.lang.String ELM_CLIENT_DEFINED
clientDefined attribute.public static final java.lang.String ELM_DEFAULT
defaultLife attribute.public static final java.lang.String ELM_MIN
min attribute.public static final java.lang.String ELM_MAX
max attribute.public EPPRegistryMaxSig()
public EPPRegistryMaxSig(java.lang.Boolean aClientDefined,
java.lang.Integer aDefaultLife,
java.lang.Integer aMin,
java.lang.Integer aMax)
aClientDefined - Boolean flag indicating whether the client can set the maximum
signature lifetime. If set to null,
Boolean.FALSE will be used.aDefaultLife - Default maximum signature lifetime set by the server. Set to
null if undefined.aMin - Minimum signature lifetime supported. Set to null if
undefined.aMax - Maximum signature lifetime supported. Set to null if
undefined.public EPPRegistryMaxSig(boolean clientDefined,
int defaultLife,
int min,
int max)
aClientDefined - Boolean flag indicating whether the client can set the maximum
signature lifetime. Must be set to Boolean.FALSE for
this constructor, since the minimum and maximum signature
lifetime attributes will be defined.aDefaultLife - Default maximum signature lifetime set by the server.aMin - Minimum signature lifetime supported.aMax - Maximum signature lifetime supported.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryMaxSig instance.encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.EPPRegistryMaxSig instance.EPPEncodeException - - Unable to encode EPPRegistryMaxSig instance.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryMaxSig attributes from the aElement DOM
Element tree.decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryMaxSig from.EPPDecodeException - Unable to decode aElementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryMaxSig.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryMaxSigjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryMaxSig compare.equals in class java.lang.ObjectaObject - EPPRegistryMaxSig instance to compare withtrue if this object is the same as the aObject argument;
false otherwisepublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.toString in class java.lang.ObjectString if successful; ERROR
otherwise.public java.lang.Boolean getClientDefined()
Boolean.FALSE.public void setClientDefined(java.lang.Boolean aClientDefined)
aClientDefined - Boolean flag indicating whether the client can set the maximum
signature lifetime. If set to null the default value of
Boolean.FALSE will be used.public boolean hasDefaultLife()
true if the default lifetime is defined; false
otherwise.public java.lang.Integer getDefaultLife()
null otherwise.public void setDefaultLife(java.lang.Integer aDefaultLife)
aDefaultLife - Default maximum signature lifetime set by the server. Set to
null to clear the attribute.public boolean hasMin()
true if the minimum signature lifetime is defined;
false otherwise.public java.lang.Integer getMin()
null
otherwise.public void setMin(java.lang.Integer aMin)
aMin - Minimum signature lifetime supported. Set to null to
clear the attribute.public boolean hasMax()
true if the maximum signature lifetime is defined;
false otherwise.public java.lang.Integer getMax()
null
otherwise.public void setMax(java.lang.Integer aMax)
aMax - Maximum signature lifetime supported. Set to null to
clear the attribute.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.