org.jboss.metadata.ejb.jboss
Class MethodAttributesMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.AbstractMappedMetaData<MethodAttributeMetaData>
          extended by org.jboss.metadata.ejb.jboss.MethodAttributesMetaData
All Implemented Interfaces:
Serializable, Cloneable, Iterable<MethodAttributeMetaData>, Collection<MethodAttributeMetaData>, IdMetaData, MappedMetaData<MethodAttributeMetaData>

public class MethodAttributesMetaData
extends AbstractMappedMetaData<MethodAttributeMetaData>

See Also:
Serialized Form

Constructor Summary
MethodAttributesMetaData()
          Create a new MethodAttributesMetaData.
 
Method Summary
 MethodAttributeMetaData getMethodAttribute(String methodName)
          Get the attributes for the method
 int getMethodTransactionTimeout(String methodName)
          Get the transaction timeout for the method
 boolean isMethodReadOnly(String methodName)
          Is this method a read-only method
 void merge(MethodAttributesMetaData override, MethodAttributesMetaData original)
           
 
Methods inherited from class org.jboss.metadata.javaee.support.AbstractMappedMetaData
add, addAll, addNotification, clear, contains, containsAll, containsKey, equals, get, getByName, hashCode, isEmpty, iterator, keySet, remove, removeAll, removeNotification, retainAll, size, toArray, toArray, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.metadata.javaee.support.IdMetaData
getId, setId
 

Constructor Detail

MethodAttributesMetaData

public MethodAttributesMetaData()
Create a new MethodAttributesMetaData.

Method Detail

isMethodReadOnly

public boolean isMethodReadOnly(String methodName)
Is this method a read-only method

Parameters:
methodName - the method name
Returns:
true for read only

getMethodTransactionTimeout

public int getMethodTransactionTimeout(String methodName)
Get the transaction timeout for the method

Parameters:
methodName - the method name
Returns:
the transaction timeout

getMethodAttribute

public MethodAttributeMetaData getMethodAttribute(String methodName)
Get the attributes for the method

Parameters:
methodName - the method name
Returns:
the attributes

merge

public void merge(MethodAttributesMetaData override,
                  MethodAttributesMetaData original)


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