org.jboss.metadata
Class MethodAttributes

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.OldMetaData<MethodAttributeMetaData>
          extended by org.jboss.metadata.MethodAttributes
All Implemented Interfaces:
Cloneable, XmlLoadable

Deprecated.

@Deprecated
public class MethodAttributes
extends OldMetaData<MethodAttributeMetaData>

Provides meta-data for method-attributes get* true true 100

Version:
$Revision: 37459 $
Author:
Peter Murray, Adrian Brock

Field Summary
static MethodAttributes kDefaultMethodAttributes
          Deprecated. The default methods attributes
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
MethodAttributes(MethodAttributeMetaData delegate)
          Deprecated. Create a new QueryMetaData.
 
Method Summary
static MethodAttributes create(MethodAttributeMetaData delegate)
          Deprecated. Create a new MethodAttributesMetaData.
 int getTransactionTimeout()
          Deprecated. Get the transaction timeout
 boolean isIdempotent()
          Deprecated. Whether this is idempotent
 boolean isReadOnly()
          Deprecated. Whether it is read only
 boolean patternMatches(String methodName)
          Deprecated. Whether this matches the method name
 
Methods inherited from class org.jboss.metadata.OldMetaData
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

kDefaultMethodAttributes

public static final MethodAttributes kDefaultMethodAttributes
Deprecated. 
The default methods attributes

Constructor Detail

MethodAttributes

public MethodAttributes(MethodAttributeMetaData delegate)
Deprecated. 
Create a new QueryMetaData.

Parameters:
delegate - the delegate
Throws:
IllegalArgumentException - for a null delegate
Method Detail

create

public static MethodAttributes create(MethodAttributeMetaData delegate)
Deprecated. 
Create a new MethodAttributesMetaData.

Parameters:
delegate - the delegate
Returns:
the metadata
Throws:
IllegalArgumentException - for a null delegate or an unknown delegate

patternMatches

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

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

isReadOnly

public boolean isReadOnly()
Deprecated. 
Whether it is read only

Returns:
true for read only

isIdempotent

public boolean isIdempotent()
Deprecated. 
Whether this is idempotent

Returns:
true for idempotent

getTransactionTimeout

public int getTransactionTimeout()
Deprecated. 
Get the transaction timeout

Returns:
the transaction timeout


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