|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.MethodTypeImpl<T>
public class MethodTypeImpl<T>
This class implements the methodType
xsd type
Original Documentation:
The method element is used to specify attributes for one method or all
those matching a pattern startingstring*.
Constructor Summary | |
---|---|
MethodTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
MethodTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.lang.String |
getMethodName()
Returns the method-name element |
java.lang.String |
getTransactionTimeout()
Returns the transaction-timeout element |
java.lang.Boolean |
isIdempotent()
Returns the idempotent element |
java.lang.Boolean |
isReadOnly()
Returns the read-only element |
MethodType<T> |
removeIdempotent()
Removes the idempotent element |
MethodType<T> |
removeMethodName()
Removes the method-name element |
MethodType<T> |
removeReadOnly()
Removes the read-only element |
MethodType<T> |
removeTransactionTimeout()
Removes the transaction-timeout element |
MethodType<T> |
setIdempotent(java.lang.Boolean idempotent)
If not already created, a new idempotent element with the given value will be created. |
MethodType<T> |
setMethodName(java.lang.String methodName)
If not already created, a new method-name element with the given value will be created. |
MethodType<T> |
setReadOnly(java.lang.Boolean readOnly)
If not already created, a new read-only element with the given value will be created. |
MethodType<T> |
setTransactionTimeout(java.lang.String transactionTimeout)
If not already created, a new transaction-timeout 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 MethodTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public MethodTypeImpl(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 MethodType<T> setMethodName(java.lang.String methodName)
method-name
element with the given value will be created.
Otherwise, the existing method-name
element will be updated with the given value.
setMethodName
in interface MethodType<T>
MethodType
public MethodType<T> removeMethodName()
method-name
element
removeMethodName
in interface MethodType<T>
MethodType
public java.lang.String getMethodName()
method-name
element
getMethodName
in interface MethodType<T>
method-name
public MethodType<T> setReadOnly(java.lang.Boolean readOnly)
read-only
element with the given value will be created.
Otherwise, the existing read-only
element will be updated with the given value.
setReadOnly
in interface MethodType<T>
MethodType
public MethodType<T> removeReadOnly()
read-only
element
removeReadOnly
in interface MethodType<T>
MethodType
public java.lang.Boolean isReadOnly()
read-only
element
isReadOnly
in interface MethodType<T>
read-only
public MethodType<T> setIdempotent(java.lang.Boolean idempotent)
idempotent
element with the given value will be created.
Otherwise, the existing idempotent
element will be updated with the given value.
setIdempotent
in interface MethodType<T>
MethodType
public MethodType<T> removeIdempotent()
idempotent
element
removeIdempotent
in interface MethodType<T>
MethodType
public java.lang.Boolean isIdempotent()
idempotent
element
isIdempotent
in interface MethodType<T>
idempotent
public MethodType<T> setTransactionTimeout(java.lang.String transactionTimeout)
transaction-timeout
element with the given value will be created.
Otherwise, the existing transaction-timeout
element will be updated with the given value.
setTransactionTimeout
in interface MethodType<T>
MethodType
public MethodType<T> removeTransactionTimeout()
transaction-timeout
element
removeTransactionTimeout
in interface MethodType<T>
MethodType
public java.lang.String getTransactionTimeout()
transaction-timeout
element
getTransactionTimeout
in interface MethodType<T>
transaction-timeout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |