public interface ContainerTransactionType<T> extends Child<T>
container-transactionType
xsd typeModifier and Type | Method and Description |
---|---|
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 |
ContainerTransactionType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsContainerTransactionType
List<String> getAllDescription()
description
elementsdescription
ContainerTransactionType<T> removeAllDescription()
description
elementContainerTransactionType
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
elementMethodType>
List<MethodType<ContainerTransactionType<T>>> getAllMethod()
method
elementsmethod
ContainerTransactionType<T> removeAllMethod()
method
elementsMethodType>
ContainerTransactionType<T> transAttribute(TransAttributeType transAttribute)
trans-attribute
elementtransAttribute
- the value for the element trans-attribute
ContainerTransactionType
ContainerTransactionType<T> transAttribute(String transAttribute)
trans-attribute
elementtransAttribute
- the value for the element trans-attribute
ContainerTransactionType
TransAttributeType getTransAttribute()
trans-attribute
elementtrans-attribute
String getTransAttributeAsString()
trans-attribute
elementtrans-attribute
ContainerTransactionType<T> removeTransAttribute()
trans-attribute
attributeContainerTransactionType
Copyright © 2017 JBoss by Red Hat. All rights reserved.