org.eclipse.jpt.jpa.eclipselink.core.context
Enum EclipseLinkCacheIsolationType2_2
java.lang.Object
java.lang.Enum<EclipseLinkCacheIsolationType2_2>
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
SHARED
public static final EclipseLinkCacheIsolationType2_2 SHARED
PROTECTED
public static final EclipseLinkCacheIsolationType2_2 PROTECTED
ISOLATED
public static final EclipseLinkCacheIsolationType2_2 ISOLATED
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)
Copyright (c) 2012 Oracle. All rights reserved.