JBoss Metadata EJB 7.2.2.Final

org.jboss.metadata.ejb.spec
Enum EjbJarVersion

java.lang.Object
  extended by java.lang.Enum<EjbJarVersion>
      extended by org.jboss.metadata.ejb.spec.EjbJarVersion
All Implemented Interfaces:
Serializable, Comparable<EjbJarVersion>

public enum EjbJarVersion
extends Enum<EjbJarVersion>

Various ejb-jar spec versions User: Jaikiran Pai


Enum Constant Summary
EJB_1_1
          1.1 version of EJB
EJB_2_0
          2.0 version of EJB
EJB_2_1
          2.1 version of EJB
EJB_3_0
          3.0 version of EJB
EJB_3_1
          3.1 version of EJB
 
Method Summary
static EjbJarVersion valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EjbJarVersion[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EJB_1_1

public static final EjbJarVersion EJB_1_1
1.1 version of EJB


EJB_2_0

public static final EjbJarVersion EJB_2_0
2.0 version of EJB


EJB_2_1

public static final EjbJarVersion EJB_2_1
2.1 version of EJB


EJB_3_0

public static final EjbJarVersion EJB_3_0
3.0 version of EJB


EJB_3_1

public static final EjbJarVersion EJB_3_1
3.1 version of EJB

Method Detail

values

public static EjbJarVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EjbJarVersion c : EjbJarVersion.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EjbJarVersion valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

JBoss Metadata EJB 7.2.2.Final

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