org.jboss.resourceadapters.impl
Class RecoverTypeImpl<T>

java.lang.Object
  extended by org.jboss.resourceadapters.impl.RecoverTypeImpl<T>
All Implemented Interfaces:
RecoverType<T>, Child<T>

public class RecoverTypeImpl<T>
extends Object
implements Child<T>, RecoverType<T>

This class implements the recoverType xsd type

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

Constructor Summary
RecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
RecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
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
 T up()
          Returns the parent of this Child
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoverTypeImpl

public RecoverTypeImpl(T t,
                       String nodeName,
                       org.jboss.shrinkwrap.descriptor.spi.node.Node node)

RecoverTypeImpl

public RecoverTypeImpl(T t,
                       String nodeName,
                       org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                       org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail

up

public T up()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

getOrCreateRecoverCredential

public 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.

Specified by:
getOrCreateRecoverCredential in interface RecoverType<T>
Returns:
a new or existing instance of CredentialType>

removeRecoverCredential

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

Specified by:
removeRecoverCredential in interface RecoverType<T>
Returns:
the current instance of RecoverType

getOrCreateRecoverPlugin

public 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.

Specified by:
getOrCreateRecoverPlugin in interface RecoverType<T>
Returns:
a new or existing instance of ExtensionType>

removeRecoverPlugin

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

Specified by:
removeRecoverPlugin in interface RecoverType<T>
Returns:
the current instance of RecoverType

noRecovery

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

Specified by:
noRecovery in interface RecoverType<T>
Parameters:
noRecovery - the value for the attribute no-recovery
Returns:
the current instance of RecoverType

isNoRecovery

public Boolean isNoRecovery()
Returns the no-recovery attribute

Specified by:
isNoRecovery in interface RecoverType<T>
Returns:
the value defined for the attribute no-recovery

removeNoRecovery

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

Specified by:
removeNoRecovery in interface RecoverType<T>
Returns:
the current instance of RecoverType


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