org.jboss.metadata.ejb.jboss
Class MethodAttributeMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.ejb.jboss.MethodAttributeMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData

public class MethodAttributeMetaData
extends NamedMetaData

MethodAttributeMetaData.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
static MethodAttributeMetaData DEFAULT
          The default methods attributes
 
Constructor Summary
MethodAttributeMetaData()
           
 
Method Summary
 String getMethodName()
          Get the methodName.
 int getTransactionTimeout()
          Get the transactionTimeout.
 boolean isIdempotent()
          Get the idempotent.
 boolean isReadOnly()
          Get the readOnly.
 boolean matches(String methodName)
          Whether this matches the method name
 void setIdempotent(boolean idempotent)
          Set the idempotent.
 void setMethodName(String methodName)
          Set the methodName.
 void setReadOnly(boolean readOnly)
          Set the readOnly.
 void setTransactionTimeout(int transactionTimeout)
          Set the transactionTimeout.
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, merge, setName, 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
 

Field Detail

DEFAULT

public static final MethodAttributeMetaData DEFAULT
The default methods attributes

Constructor Detail

MethodAttributeMetaData

public MethodAttributeMetaData()
Method Detail

getMethodName

public String getMethodName()
Get the methodName.

Returns:
the methodName.

setMethodName

public void setMethodName(String methodName)
Set the methodName.

Parameters:
methodName - the methodName.
Throws:
IllegalArgumentException - for a null methodName

isReadOnly

public boolean isReadOnly()
Get the readOnly.

Returns:
the readOnly.

setReadOnly

public void setReadOnly(boolean readOnly)
Set the readOnly.

Parameters:
readOnly - the readOnly.

isIdempotent

public boolean isIdempotent()
Get the idempotent.

Returns:
the idempotent.

setIdempotent

public void setIdempotent(boolean idempotent)
Set the idempotent.

Parameters:
idempotent - the idempotent.

getTransactionTimeout

public int getTransactionTimeout()
Get the transactionTimeout.

Returns:
the transactionTimeout.

setTransactionTimeout

public void setTransactionTimeout(int transactionTimeout)
Set the transactionTimeout.

Parameters:
transactionTimeout - the transactionTimeout.

matches

public boolean matches(String methodName)
Whether this matches the method name

Parameters:
methodName - the method name
Returns:
true for a match


Copyright © 2009 JBoss Inc.. All Rights Reserved.