public class MethodAttributeMetaData extends NamedMetaData
| Modifier and Type | Field and Description |
|---|---|
static MethodAttributeMetaData |
DEFAULT
The default methods attributes
|
| Constructor and Description |
|---|
MethodAttributeMetaData() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
equals, getKey, getName, hashCode, setName, toStringclone, getId, setIdpublic static final MethodAttributeMetaData DEFAULT
public String getMethodName()
public void setMethodName(String methodName)
methodName - the methodName.IllegalArgumentException - for a null methodNamepublic boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly - the readOnly.public boolean isIdempotent()
public void setIdempotent(boolean idempotent)
idempotent - the idempotent.public int getTransactionTimeout()
public void setTransactionTimeout(int transactionTimeout)
transactionTimeout - the transactionTimeout.public boolean matches(String methodName)
methodName - the method nameCopyright © 2019 JBoss by Red Hat. All rights reserved.