Enum Class PersistenceUnitTransactionType

All Implemented Interfaces:
Serializable, Comparable<PersistenceUnitTransactionType>, Constable

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.3", date="2024-04-26T21:00:16Z") public enum PersistenceUnitTransactionType extends Enum<PersistenceUnitTransactionType>

Java class for persistence-unit-transaction-type.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="persistence-unit-transaction-type">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="JTA"/>
     <enumeration value="RESOURCE_LOCAL"/>
  • Enum Constant Details

  • Method Details

    • values

      public static PersistenceUnitTransactionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PersistenceUnitTransactionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static PersistenceUnitTransactionType fromValue(String v)