Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core
Enum JpaPlatformVariation.Supported

java.lang.Object
  extended by java.lang.Enum<JpaPlatformVariation.Supported>
      extended by org.eclipse.jpt.jpa.core.JpaPlatformVariation.Supported
All Implemented Interfaces:
Serializable, Comparable<JpaPlatformVariation.Supported>
Enclosing interface:
JpaPlatformVariation

public static enum JpaPlatformVariation.Supported
extends Enum<JpaPlatformVariation.Supported>

Various indications of whether a particular feature is supported by a JPA runtime implementation.


Enum Constant Summary
MAYBE
          Defined in the JPA spec, but might not be supported by a particular JPA runtime implementation.
NO
          Not supported by the JPA platform.
YES
          Fully supported by the JPA platform.
 
Method Summary
static JpaPlatformVariation.Supported valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JpaPlatformVariation.Supported[] 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

YES

public static final JpaPlatformVariation.Supported YES
Fully supported by the JPA platform.


NO

public static final JpaPlatformVariation.Supported NO
Not supported by the JPA platform.


MAYBE

public static final JpaPlatformVariation.Supported MAYBE
Defined in the JPA spec, but might not be supported by a particular JPA runtime implementation. This setting should be returned only by the "generic" implementation, as it is tied to a specific runtime implementation and can only offer feedback as to whether a feature may be problematic at runtime, depending on the particular implementation. Implmentation-specific JPA platforms should be able to answer definitively whether the implementation supports a particular feature.

Method Detail

values

public static JpaPlatformVariation.Supported[] 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 (JpaPlatformVariation.Supported c : JpaPlatformVariation.Supported.values())
    System.out.println(c);

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

valueOf

public static JpaPlatformVariation.Supported 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

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.