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 :2013-01-26T19:26:58.657+01: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
 String getId()
          Returns the id attribute
 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> id(String id)
          Sets the id attribute
 ContainerTransactionType<T> removeAllDescription()
          Removes the description element
 ContainerTransactionType<T> removeAllMethod()
          Removes all method elements
 ContainerTransactionType<T> removeId()
          Removes the id attribute
 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

id

ContainerTransactionType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of ContainerTransactionType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ContainerTransactionType<T> removeId()
Removes the id attribute

Returns:
the current instance of ContainerTransactionType


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