Class EPPMaintenanceIntervention
java.lang.Object
com.verisign.epp.codec.maintenance.v1_0.EPPMaintenanceIntervention
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPPMaintenanceIntervention indicates what impact the maintenance will
have to the client with the two boolean attributes:- connection - to indicate if a client needs to do something that is connection-related, such as a reconnect.
- implementation - To indicate if a client needs to do something that is implementation-related, such as a code change.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPMaintenanceIntervention.EPPMaintenanceIntervention(boolean aConnection, boolean aImplementation) Constructor forEPPMaintenanceInterventionwith all of the attributes as parameters. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPMaintenanceIntervention.voidDecode theEPPMaintenanceInterventionattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPMaintenanceInterventioninstance.booleanimplements a deepEPPMaintenanceInterventioncompare.Returns the XML namespace associated with theEPPCodecComponent.booleanGets whether the client needs to do something that is connection-related, such as a reconnect.booleanGets whether the client needs to do something that is implementation-related, such as a code change.voidsetConnection(boolean aConnection) Sets whether the client needs to do something that is connection-related, such as a reconnect.voidsetImplementation(boolean aImplementation) Sets whether the client needs to do something that is implementation-related, such as a code change.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPMaintenanceIntervention.- See Also:
-
ELM_NAME
XML root tag forEPPMaintenanceIntervention.- See Also:
-
-
Constructor Details
-
EPPMaintenanceIntervention
public EPPMaintenanceIntervention()Default constructor forEPPMaintenanceIntervention. The attributesconnectionandimplementationare both set totrue. -
EPPMaintenanceIntervention
public EPPMaintenanceIntervention(boolean aConnection, boolean aImplementation) Constructor forEPPMaintenanceInterventionwith all of the attributes as parameters.- Parameters:
aConnection- Indicates if a client needs to do something that is connection-related, such as a reconnect.aImplementation- indicates if a client needs to do something that is implementation-related, such as a code change.
-
-
Method Details
-
isConnection
public boolean isConnection()Gets whether the client needs to do something that is connection-related, such as a reconnect.- Returns:
trueif the client does need to take a connection-related action;falseotherwise.
-
setConnection
public void setConnection(boolean aConnection) Sets whether the client needs to do something that is connection-related, such as a reconnect.- Parameters:
aConnection-trueif the client does need to take a connection-related action;falseotherwise.
-
isImplementation
public boolean isImplementation()Gets whether the client needs to do something that is implementation-related, such as a code change.- Returns:
trueif the client does need to take a implementation-related action;falseotherwise.
-
setImplementation
public void setImplementation(boolean aImplementation) Sets whether the client needs to do something that is implementation-related, such as a code change.- Parameters:
aImplementation-trueif the client does need to take a implementation-related action;falseotherwise.
-
encode
Encode a DOM Element tree from the attributes of theEPPMaintenanceInterventioninstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPMaintenanceInterventioninstance. - Throws:
EPPEncodeException- Unable to encodeEPPMaintenanceInterventioninstance.
-
decode
Decode theEPPMaintenanceInterventionattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPMaintenanceInterventionfrom.- Throws:
EPPDecodeException- Unable to decode aElement.
-
equals
implements a deepEPPMaintenanceInterventioncompare. -
clone
CloneEPPMaintenanceIntervention.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPMaintenanceIntervention - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-