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 :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 String getId()
          Returns the id attribute
 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> id(String id)
          Sets the id attribute
 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> removeId()
          Removes the id attribute
 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

id

ConcurrentMethodType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of ConcurrentMethodType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ConcurrentMethodType<T> removeId()
Removes the id attribute

Returns:
the current instance of ConcurrentMethodType


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