Enum Class PersistenceXml

java.lang.Object
java.lang.Enum<PersistenceXml>
com.orientechnologies.orient.object.jpa.parsing.PersistenceXml
All Implemented Interfaces:
Serializable, Comparable<PersistenceXml>, Constable

public enum PersistenceXml extends Enum<PersistenceXml>
  • Enum Constant Details

    • TAG_PERSISTENCE

      public static final PersistenceXml TAG_PERSISTENCE
    • TAG_PERSISTENCE_UNIT

      public static final PersistenceXml TAG_PERSISTENCE_UNIT
    • TAG_PROPERTIES

      public static final PersistenceXml TAG_PROPERTIES
    • TAG_PROPERTY

      public static final PersistenceXml TAG_PROPERTY
    • TAG_NON_JTA_DATA_SOURCE

      public static final PersistenceXml TAG_NON_JTA_DATA_SOURCE
    • TAG_JTA_DATA_SOURCE

      public static final PersistenceXml TAG_JTA_DATA_SOURCE
    • TAG_CLASS

      public static final PersistenceXml TAG_CLASS
    • TAG_MAPPING_FILE

      public static final PersistenceXml TAG_MAPPING_FILE
    • TAG_JAR_FILE

      public static final PersistenceXml TAG_JAR_FILE
    • TAG_EXCLUDE_UNLISTED_CLASSES

      public static final PersistenceXml TAG_EXCLUDE_UNLISTED_CLASSES
    • TAG_VALIDATION_MODE

      public static final PersistenceXml TAG_VALIDATION_MODE
    • TAG_SHARED_CACHE_MODE

      public static final PersistenceXml TAG_SHARED_CACHE_MODE
    • TAG_PROVIDER

      public static final PersistenceXml TAG_PROVIDER
    • TAG_UNKNOWN$

      public static final PersistenceXml TAG_UNKNOWN$
    • ATTR_UNIT_NAME

      public static final PersistenceXml ATTR_UNIT_NAME
    • ATTR_TRANSACTION_TYPE

      public static final PersistenceXml ATTR_TRANSACTION_TYPE
    • ATTR_SCHEMA_VERSION

      public static final PersistenceXml ATTR_SCHEMA_VERSION
  • Method Details

    • values

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

      public static PersistenceXml 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • equals

      public boolean equals(String aName)
      Case ignorance, null safe method
      Parameters:
      aName -
      Returns:
      true if tag equals to enum item
    • parse

      public static PersistenceXml parse(String aName)
      Try to parse tag to enum item
      Parameters:
      aName -
      Returns:
      TAG_UNKNOWN$ if failed to parse
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PersistenceXml>