Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.eclipselink.core.context
Enum EclipseLinkCacheIsolationType2_2

java.lang.Object
  extended by java.lang.Enum<EclipseLinkCacheIsolationType2_2>
      extended by org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkCacheIsolationType2_2
All Implemented Interfaces:
Serializable, Comparable<EclipseLinkCacheIsolationType2_2>

public enum EclipseLinkCacheIsolationType2_2
extends Enum<EclipseLinkCacheIsolationType2_2>

corresponds to EclipseLink org.eclipse.persistence.config.CacheIsolationType which was added in EclipseLink 2.2 Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
3.1

Enum Constant Summary
ISOLATED
           
PROTECTED
           
SHARED
           
 
Method Summary
static EclipseLinkCacheIsolationType2_2 fromJavaResourceModel(CacheIsolationType2_2 javaCacheIsolationType)
           
static EclipseLinkCacheIsolationType2_2 fromOrmResourceModel(org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType ormCacheIsolationType)
           
static CacheIsolationType2_2 toJavaResourceModel(EclipseLinkCacheIsolationType2_2 cacheIsolationType)
           
static org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType toOrmResourceModel(EclipseLinkCacheIsolationType2_2 cacheIsolationType)
           
static EclipseLinkCacheIsolationType2_2 valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EclipseLinkCacheIsolationType2_2[] 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

SHARED

public static final EclipseLinkCacheIsolationType2_2 SHARED

PROTECTED

public static final EclipseLinkCacheIsolationType2_2 PROTECTED

ISOLATED

public static final EclipseLinkCacheIsolationType2_2 ISOLATED
Method Detail

values

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

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

valueOf

public static EclipseLinkCacheIsolationType2_2 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

fromJavaResourceModel

public static EclipseLinkCacheIsolationType2_2 fromJavaResourceModel(CacheIsolationType2_2 javaCacheIsolationType)

toJavaResourceModel

public static CacheIsolationType2_2 toJavaResourceModel(EclipseLinkCacheIsolationType2_2 cacheIsolationType)

fromOrmResourceModel

public static EclipseLinkCacheIsolationType2_2 fromOrmResourceModel(org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType ormCacheIsolationType)

toOrmResourceModel

public static org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType toOrmResourceModel(EclipseLinkCacheIsolationType2_2 cacheIsolationType)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.