org.jboss.shrinkwrap.descriptor.api.jboss51
Interface MethodType<T>

All Superinterfaces:
Child<T>

public interface MethodType<T>
extends Child<T>

This interface defines the contract for the methodType xsd type

Since:
Generation date :2013-01-26T19:27:00.777+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 String getId()
          Returns the id attribute
 String getMethodName()
          Returns the method-name element
 String getTransactionTimeout()
          Returns the transaction-timeout element
 MethodType<T> id(String id)
          Sets the id attribute
 MethodType<T> idempotent(Boolean idempotent)
          Sets the idempotent element
 Boolean isIdempotent()
          Returns the idempotent element
 Boolean isReadOnly()
          Returns the read-only element
 MethodType<T> methodName(String methodName)
          Sets the method-name element
 MethodType<T> readOnly(Boolean readOnly)
          Sets the read-only element
 MethodType<T> removeId()
          Removes the id attribute
 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> transactionTimeout(String transactionTimeout)
          Sets the transaction-timeout element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

methodName

MethodType<T> methodName(String methodName)
Sets the method-name element

Parameters:
methodName - the value for the element method-name
Returns:
the current instance of MethodType

getMethodName

String getMethodName()
Returns the method-name element

Returns:
the node defined for the element method-name

removeMethodName

MethodType<T> removeMethodName()
Removes the method-name element

Returns:
the current instance of MethodType

readOnly

MethodType<T> readOnly(Boolean readOnly)
Sets the read-only element

Parameters:
readOnly - the value for the element read-only
Returns:
the current instance of MethodType

isReadOnly

Boolean isReadOnly()
Returns the read-only element

Returns:
the node defined for the element read-only

removeReadOnly

MethodType<T> removeReadOnly()
Removes the read-only element

Returns:
the current instance of MethodType

idempotent

MethodType<T> idempotent(Boolean idempotent)
Sets the idempotent element

Parameters:
idempotent - the value for the element idempotent
Returns:
the current instance of MethodType

isIdempotent

Boolean isIdempotent()
Returns the idempotent element

Returns:
the node defined for the element idempotent

removeIdempotent

MethodType<T> removeIdempotent()
Removes the idempotent element

Returns:
the current instance of MethodType

transactionTimeout

MethodType<T> transactionTimeout(String transactionTimeout)
Sets the transaction-timeout element

Parameters:
transactionTimeout - the value for the element transaction-timeout
Returns:
the current instance of MethodType

getTransactionTimeout

String getTransactionTimeout()
Returns the transaction-timeout element

Returns:
the node defined for the element transaction-timeout

removeTransactionTimeout

MethodType<T> removeTransactionTimeout()
Removes the transaction-timeout element

Returns:
the current instance of MethodType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

MethodType<T> removeId()
Removes the id attribute

Returns:
the current instance of MethodType


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