|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerTransactionType<T>
This interface defines the contract for the container-transactionType
xsd type
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 |
---|
ContainerTransactionType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
ContainerTransactionType
List<String> getAllDescription()
description
elements
description
ContainerTransactionType<T> removeAllDescription()
description
element
ContainerTransactionType
MethodType<ContainerTransactionType<T>> getOrCreateMethod()
method
element will be created and returned.
Otherwise, the first existing method
element will be returned.
method
MethodType<ContainerTransactionType<T>> createMethod()
method
element
MethodType>
List<MethodType<ContainerTransactionType<T>>> getAllMethod()
method
elements
method
ContainerTransactionType<T> removeAllMethod()
method
elements
MethodType>
ContainerTransactionType<T> transAttribute(TransAttributeType transAttribute)
trans-attribute
element
transAttribute
- the value for the element trans-attribute
ContainerTransactionType
ContainerTransactionType<T> transAttribute(String transAttribute)
trans-attribute
element
transAttribute
- the value for the element trans-attribute
ContainerTransactionType
TransAttributeType getTransAttribute()
trans-attribute
element
trans-attribute
String getTransAttributeAsString()
trans-attribute
element
trans-attribute
ContainerTransactionType<T> removeTransAttribute()
trans-attribute
attribute
ContainerTransactionType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |