ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar30
Interface ContainerTransactionType<T>

All Superinterfaces:
Child<T>

public interface ContainerTransactionType<T>
extends Child<T>

This interface defines the contract for the container-transactionType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 MethodType<ContainerTransactionType<T>> createMethod()
          Creates a new method element
 ContainerTransactionType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 List<MethodType<ContainerTransactionType<T>>> getAllMethod()
          Returns all method elements
 MethodType<ContainerTransactionType<T>> getOrCreateMethod()
          If not already created, a new method element will be created and returned.
 TransAttributeType getTransAttribute()
          Returns the trans-attribute element
 String getTransAttributeAsString()
          Returns the trans-attribute element
 ContainerTransactionType<T> removeAllDescription()
          Removes the description element
 ContainerTransactionType<T> removeAllMethod()
          Removes all method elements
 ContainerTransactionType<T> removeTransAttribute()
          Removes the trans-attribute attribute
 ContainerTransactionType<T> transAttribute(String transAttribute)
          Sets the trans-attribute element
 ContainerTransactionType<T> transAttribute(TransAttributeType transAttribute)
          Sets the trans-attribute element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

ContainerTransactionType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of ContainerTransactionType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ContainerTransactionType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ContainerTransactionType

getOrCreateMethod

MethodType<ContainerTransactionType<T>> getOrCreateMethod()
If not already created, a new method element will be created and returned. Otherwise, the first existing method element will be returned.

Returns:
the instance defined for the element method

createMethod

MethodType<ContainerTransactionType<T>> createMethod()
Creates a new method element

Returns:
the new created instance of MethodType>

getAllMethod

List<MethodType<ContainerTransactionType<T>>> getAllMethod()
Returns all method elements

Returns:
list of method

removeAllMethod

ContainerTransactionType<T> removeAllMethod()
Removes all method elements

Returns:
the current instance of MethodType>

transAttribute

ContainerTransactionType<T> transAttribute(TransAttributeType transAttribute)
Sets the trans-attribute element

Parameters:
transAttribute - the value for the element trans-attribute
Returns:
the current instance of ContainerTransactionType

transAttribute

ContainerTransactionType<T> transAttribute(String transAttribute)
Sets the trans-attribute element

Parameters:
transAttribute - the value for the element trans-attribute
Returns:
the current instance of ContainerTransactionType

getTransAttribute

TransAttributeType getTransAttribute()
Returns the trans-attribute element

Returns:
the value found for the element trans-attribute

getTransAttributeAsString

String getTransAttributeAsString()
Returns the trans-attribute element

Returns:
the value found for the element trans-attribute

removeTransAttribute

ContainerTransactionType<T> removeTransAttribute()
Removes the trans-attribute attribute

Returns:
the current instance of ContainerTransactionType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.