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

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
MethodAttributesTypeImpl

public interface MethodAttributesType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the method-attributesType xsd type

Original Documentation:

The method-attributes element can be used to specify which methods are
read only or idempotent. This is used to reduce the need for locks and replication.

Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Method Summary
 java.util.List<MethodType<MethodAttributesType<T>>> getMethodList()
          Returns all method elements
 MethodType<MethodAttributesType<T>> method()
          Returns the method element
 MethodAttributesType<T> removeAllMethod()
          Removes all method elements
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

removeAllMethod

MethodAttributesType<T> removeAllMethod()
Removes all method elements

Returns:
the current instance of MethodAttributesType

method

MethodType<MethodAttributesType<T>> method()
Returns the method element

Returns:
the node defined for the element method

getMethodList

java.util.List<MethodType<MethodAttributesType<T>>> getMethodList()
Returns all method elements

Returns:
list of method