java.io.Serializable, IdMetaData, MappableMetaDatapublic class MethodAttributeMetaData extends NamedMetaData
| Modifier and Type | Field | Description |
|---|---|---|
static MethodAttributeMetaData |
DEFAULT |
The default methods attributes
|
| Constructor | Description |
|---|---|
MethodAttributeMetaData() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getMethodName() |
Get the methodName.
|
int |
getTransactionTimeout() |
Get the transactionTimeout.
|
boolean |
isIdempotent() |
Get the idempotent.
|
boolean |
isReadOnly() |
Get the readOnly.
|
boolean |
matches(java.lang.String methodName) |
Whether this matches the method name
|
void |
setIdempotent(boolean idempotent) |
Set the idempotent.
|
void |
setMethodName(java.lang.String methodName) |
Set the methodName.
|
void |
setReadOnly(boolean readOnly) |
Set the readOnly.
|
void |
setTransactionTimeout(int transactionTimeout) |
Set the transactionTimeout.
|
clone, getId, setIdpublic static final MethodAttributeMetaData DEFAULT
public java.lang.String getMethodName()
public void setMethodName(java.lang.String methodName)
methodName - the methodName.java.lang.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(java.lang.String methodName)
methodName - the method nameCopyright © 2018 JBoss by Red Hat. All rights reserved.