org.eclipse.jpt.jpa.core.context
Class AccessType
java.lang.Object
org.eclipse.jpt.jpa.core.context.AccessType
- Direct Known Subclasses:
- EclipseLinkAccessType
public class AccessType
- extends Object
Context model corresponding to:
- the XML resource model
AccessType,
which corresponds to the access element in the
orm.xml file.
- the Java resource model
AccessType
which corresponds to the javax.persistence.Access annotation.
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:
- 2.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIELD
public static final AccessType FIELD
PROPERTY
public static final AccessType PROPERTY
javaAccessType
protected final AccessType javaAccessType
ormAccessType
protected final String ormAccessType
displayString
protected final String displayString
AccessType
public AccessType(AccessType javaAccessType,
String ormAccessType,
String displayString)
getJavaAccessType
public AccessType getJavaAccessType()
getOrmAccessType
public String getOrmAccessType()
getDisplayString
public String getDisplayString()
fromJavaResourceModel
public static AccessType fromJavaResourceModel(AccessType javaAccessType,
JpaPlatform jpaPlatform,
JptResourceType resourceType)
toJavaResourceModel
public static AccessType toJavaResourceModel(AccessType accessType)
fromOrmResourceModel
public static AccessType fromOrmResourceModel(String ormAccessType,
JpaPlatform jpaPlatform,
JptResourceType resourceType)
toOrmResourceModel
public static String toOrmResourceModel(AccessType accessType)
Copyright (c) 2012 Oracle. All rights reserved.