public class Recovery extends java.lang.Object implements JCAMetadata, ValidatableMetadata
Modifier and Type | Class and Description |
---|---|
static class |
Recovery.Attribute
A Attribute.
|
static class |
Recovery.Tag
A Tag.
|
Constructor and Description |
---|
Recovery(Credential credential,
Extension recoverPlugin,
java.lang.Boolean noRecovery)
Create a new Recovery.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Credential |
getCredential()
Get the security.
|
java.lang.Boolean |
getNoRecovery()
Get the noRecovery.
|
Extension |
getRecoverPlugin()
Get the plugin.
|
int |
hashCode() |
java.lang.String |
toString() |
void |
validate()
Validate this metadata according validation required by specification
|
public Recovery(Credential credential, Extension recoverPlugin, java.lang.Boolean noRecovery) throws ValidateException
credential
- credentialrecoverPlugin
- pluginnoRecovery
- niRecoveryValidateException
- in case of not valid metadata creationpublic final Credential getCredential()
public final Extension getRecoverPlugin()
public final java.lang.Boolean getNoRecovery()
public void validate() throws ValidateException
ValidatableMetadata
validate
in interface ValidatableMetadata
ValidateException
- in case of validation failpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)