org.jboss.resourceadapters.api
Interface RecoverType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
RecoverTypeImpl

public interface RecoverType<T>
extends Child<T>

This interface defines the contract for the recoverType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 CredentialType<RecoverType<T>> getOrCreateRecoverCredential()
          If not already created, a new recover-credential element with the given value will be created.
 ExtensionType<RecoverType<T>> getOrCreateRecoverPlugin()
          If not already created, a new recover-plugin element with the given value will be created.
 Boolean isNoRecovery()
          Returns the no-recovery attribute
 RecoverType<T> noRecovery(Boolean noRecovery)
          Sets the no-recovery attribute
 RecoverType<T> removeNoRecovery()
          Removes the no-recovery attribute
 RecoverType<T> removeRecoverCredential()
          Removes the recover-credential element
 RecoverType<T> removeRecoverPlugin()
          Removes the recover-plugin element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateRecoverCredential

CredentialType<RecoverType<T>> getOrCreateRecoverCredential()
If not already created, a new recover-credential element with the given value will be created. Otherwise, the existing recover-credential element will be returned.

Returns:
a new or existing instance of CredentialType>

removeRecoverCredential

RecoverType<T> removeRecoverCredential()
Removes the recover-credential element

Returns:
the current instance of RecoverType

getOrCreateRecoverPlugin

ExtensionType<RecoverType<T>> getOrCreateRecoverPlugin()
If not already created, a new recover-plugin element with the given value will be created. Otherwise, the existing recover-plugin element will be returned.

Returns:
a new or existing instance of ExtensionType>

removeRecoverPlugin

RecoverType<T> removeRecoverPlugin()
Removes the recover-plugin element

Returns:
the current instance of RecoverType

noRecovery

RecoverType<T> noRecovery(Boolean noRecovery)
Sets the no-recovery attribute

Parameters:
noRecovery - the value for the attribute no-recovery
Returns:
the current instance of RecoverType

isNoRecovery

Boolean isNoRecovery()
Returns the no-recovery attribute

Returns:
the value defined for the attribute no-recovery

removeNoRecovery

RecoverType<T> removeNoRecovery()
Removes the no-recovery attribute

Returns:
the current instance of RecoverType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.