org.jboss.shrinkwrap.descriptor.api.ejbjar32.ConcurrencyManagementTypeType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.ejbjar32;
/**
* This class implements the concurrency-management-typeType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public enum ConcurrencyManagementTypeType
{
_BEAN("Bean"),
_CONTAINER("Container");
private String value;
ConcurrencyManagementTypeType (String value) { this.value = value; }
public String toString() {return value;}
public static ConcurrencyManagementTypeType getFromStringValue(String value)
{
for(ConcurrencyManagementTypeType type: ConcurrencyManagementTypeType.values())
{
if(value != null && type.toString().equals(value))
{ return type;}
}
return null;
}
}