|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar31.ContainerTransactionTypeImpl<T>
public class ContainerTransactionTypeImpl<T>
This class implements the container-transactionType
xsd type
Original Documentation:
The container-transactionType specifies how the container
must manage transaction scopes for the enterprise bean's
method invocations. It defines an optional description, a
list of method elements, and a transaction attribute. The
transaction attribute is to be applied to all the specified
methods.
Constructor Summary | |
---|---|
ContainerTransactionTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ContainerTransactionTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<MethodType<ContainerTransactionType<T>>> |
getMethodList()
Returns all method elements |
TransAttributeType |
getTransAttribute()
Returns the trans-attribute element |
java.lang.String |
getTransAttributeAsString()
Returns the trans-attribute element |
MethodType<ContainerTransactionType<T>> |
method()
Returns the method element |
ContainerTransactionType<T> |
removeAllDescription()
Removes the description element |
ContainerTransactionType<T> |
removeAllMethod()
Removes all method elements |
ContainerTransactionType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ContainerTransactionType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ContainerTransactionType<T> |
setTransAttribute(java.lang.String transAttribute)
If not already created, a new trans-attribute element with the given value will be created. |
ContainerTransactionType<T> |
setTransAttribute(TransAttributeType transAttribute)
If not already created, a new trans-attribute element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContainerTransactionTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ContainerTransactionTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public ContainerTransactionType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface ContainerTransactionType<T>
ContainerTransactionType
public ContainerTransactionType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface ContainerTransactionType<T>
list
- of description
objects
ContainerTransactionType
public ContainerTransactionType<T> removeAllDescription()
description
element
removeAllDescription
in interface ContainerTransactionType<T>
ContainerTransactionType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface ContainerTransactionType<T>
description
public ContainerTransactionType<T> removeAllMethod()
method
elements
removeAllMethod
in interface ContainerTransactionType<T>
ContainerTransactionType
public MethodType<ContainerTransactionType<T>> method()
method
element
method
in interface ContainerTransactionType<T>
method
public java.util.List<MethodType<ContainerTransactionType<T>>> getMethodList()
method
elements
getMethodList
in interface ContainerTransactionType<T>
method
public ContainerTransactionType<T> setTransAttribute(TransAttributeType transAttribute)
trans-attribute
element with the given value will be created.
Otherwise, the existing trans-attribute
element will be updated with the given value.
setTransAttribute
in interface ContainerTransactionType<T>
ContainerTransactionType
public ContainerTransactionType<T> setTransAttribute(java.lang.String transAttribute)
trans-attribute
element with the given value will be created.
Otherwise, the existing trans-attribute
element will be updated with the given value.
setTransAttribute
in interface ContainerTransactionType<T>
ContainerTransactionType
public TransAttributeType getTransAttribute()
trans-attribute
element
getTransAttribute
in interface ContainerTransactionType<T>
trans-attribute
public java.lang.String getTransAttributeAsString()
trans-attribute
element
getTransAttributeAsString
in interface ContainerTransactionType<T>
trans-attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |