org.jboss.jca.common.api.metadata.common

## Class Recovery

- java.lang.Object
- - org.jboss.jca.common.api.metadata.common.Recovery

- All Implemented Interfaces:
    java.io.Serializable, JCAMetadata, ValidatableMetadata

      public class Recovery
      extends java.lang.Object
      implements JCAMetadata, ValidatableMetadata

  A Recovery.
  Author:
    Stefano Maestri
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Recovery.Attribute` A Attribute.
    `static class` | `Recovery.Tag` A Tag.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Recovery(Credential credential, Extension recoverPlugin, java.lang.Boolean noRecovery)` Create a new Recovery.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Recovery

          public Recovery(Credential credential,
                          Extension recoverPlugin,
                          java.lang.Boolean noRecovery)
                   throws ValidateException

      Create a new Recovery.
      Parameters:
        `credential` - credential
        `recoverPlugin` - plugin
        `noRecovery` - niRecovery
      Throws:
        `ValidateException` - in case of not valid metadata creation

  - ### Method Detail

    - #### getCredential

          public final Credential getCredential()

      Get the security.
      Returns:
        the security.

    - #### getRecoverPlugin

          public final Extension getRecoverPlugin()

      Get the plugin.
      Returns:
        the plugin.

    - #### getNoRecovery

          public final java.lang.Boolean getNoRecovery()

      Get the noRecovery.
      Returns:
        the noRecovery.

    - #### validate

          public void validate()
                        throws ValidateException

      Description copied from interface: `ValidatableMetadata`
      Validate this metadata according validation required by specification
      Specified by:
        `validate` in interface `ValidatableMetadata`
      Throws:
        `ValidateException` - in case of validation fail

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)