ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface ConcurrentMethodType<T>

All Superinterfaces:
Child<T>

public interface ConcurrentMethodType<T>
extends Child<T>

This interface defines the contract for the concurrent-methodType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ConcurrentLockTypeType getLock()
          Returns the lock element
 String getLockAsString()
          Returns the lock element
 AccessTimeoutType<ConcurrentMethodType<T>> getOrCreateAccessTimeout()
          If not already created, a new access-timeout element with the given value will be created.
 NamedMethodType<ConcurrentMethodType<T>> getOrCreateMethod()
          If not already created, a new method element with the given value will be created.
 ConcurrentMethodType<T> lock(ConcurrentLockTypeType lock)
          Sets the lock element
 ConcurrentMethodType<T> lock(String lock)
          Sets the lock element
 ConcurrentMethodType<T> removeAccessTimeout()
          Removes the access-timeout element
 ConcurrentMethodType<T> removeLock()
          Removes the lock attribute
 ConcurrentMethodType<T> removeMethod()
          Removes the method element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateMethod

NamedMethodType<ConcurrentMethodType<T>> getOrCreateMethod()
If not already created, a new method element with the given value will be created. Otherwise, the existing method element will be returned.

Returns:
a new or existing instance of NamedMethodType>

removeMethod

ConcurrentMethodType<T> removeMethod()
Removes the method element

Returns:
the current instance of ConcurrentMethodType

lock

ConcurrentMethodType<T> lock(ConcurrentLockTypeType lock)
Sets the lock element

Parameters:
lock - the value for the element lock
Returns:
the current instance of ConcurrentMethodType

lock

ConcurrentMethodType<T> lock(String lock)
Sets the lock element

Parameters:
lock - the value for the element lock
Returns:
the current instance of ConcurrentMethodType

getLock

ConcurrentLockTypeType getLock()
Returns the lock element

Returns:
the value found for the element lock

getLockAsString

String getLockAsString()
Returns the lock element

Returns:
the value found for the element lock

removeLock

ConcurrentMethodType<T> removeLock()
Removes the lock attribute

Returns:
the current instance of ConcurrentMethodType

getOrCreateAccessTimeout

AccessTimeoutType<ConcurrentMethodType<T>> getOrCreateAccessTimeout()
If not already created, a new access-timeout element with the given value will be created. Otherwise, the existing access-timeout element will be returned.

Returns:
a new or existing instance of AccessTimeoutType>

removeAccessTimeout

ConcurrentMethodType<T> removeAccessTimeout()
Removes the access-timeout element

Returns:
the current instance of ConcurrentMethodType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.