Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.jpa2.context
Interface PersistentType2_0

All Superinterfaces:
AccessReference, IAdaptable, JpaContextModel, JpaModel, JpaStructureNode, JptResourceTypeReference, ManagedType, MetamodelSourceType2_0, Model, PersistentType, SpecifiedAccessReference
All Known Subinterfaces:
EclipseLinkOrmPersistentType

public interface PersistentType2_0
extends PersistentType, MetamodelSourceType2_0

JPA 2.0 context persistent type.

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.3

Nested Class Summary
static class PersistentType2_0.MetamodelTypeTransformer
           
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
PersistentType.AttributesTransformer, PersistentType.Config, PersistentType.MappingTransformer, PersistentType.OverriddenPersistentTypeTransformer, PersistentType.Parent
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.ManagedType
ManagedType.NameTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
JpaStructureNode.ContextType
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel
JpaModel.JpaVersionIsCompatibleWith
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.MetamodelSourceType2_0
MetamodelSourceType2_0.MetamodelSourceTypeComparator, MetamodelSourceType2_0.Synchronizer
 
Field Summary
static String DECLARING_TYPE_NAME_PROPERTY
           
static org.eclipse.jpt.common.utility.transformer.Transformer<PersistentType2_0,PersistentType2_0> METAMODEL_TYPE_TRANSFORMER
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
ATTRIBUTES_TRANSFORMER, MAPPING_PROPERTY, MAPPING_TRANSFORMER, OVERRIDDEN_PERSISTENT_TYPE_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ManagedType
NAME_PROPERTY, NAME_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
STRUCTURE_CHILDREN_COLLECTION
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.SpecifiedAccessReference
DEFAULT_ACCESS_PROPERTY, SPECIFIED_ACCESS_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.MetamodelSourceType2_0
COMPARATOR
 
Method Summary
 String getDeclaringTypeName()
          Return the name of the persistent type's "declaring type".
 PersistentType2_0 getMetamodelType()
          Return the persistent type to be used for static metamodel generation, typically the persistent type itself.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
getAllAttributeNames, getAllAttributes, getAncestors, getAttributeNamed, getAttributeNames, getAttributes, getAttributesSize, getAttributeTypeBinding, getInheritanceHierarchy, getManagedTypeType, getMapping, getMappingKey, getOverriddenPersistentType, getSuperPersistentType, isMapped, resolveAttribute, setMappingKey
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ManagedType
getJavaResourceType, getName, getSimpleName, getTypeQualifiedName, isFor, isIn
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
addRootStructureNodesTo, containsOffset, getContextType, getFullTextRange, getSelectionTextRange, getStructureChildren, getStructureChildrenSize, getStructureNode, getStructureType
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.SpecifiedAccessReference
getDefaultAccess, getSpecifiedAccess, setSpecifiedAccess
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.AccessReference
getAccess
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 
Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.MetamodelSourceType2_0
getAttributes, getJpaProject, getMetamodelFile, getName, getSuperPersistentType, isManaged, printBodySourceOn, synchronizeMetamodel
 

Field Detail

DECLARING_TYPE_NAME_PROPERTY

static final String DECLARING_TYPE_NAME_PROPERTY
See Also:
Constant Field Values

METAMODEL_TYPE_TRANSFORMER

static final org.eclipse.jpt.common.utility.transformer.Transformer<PersistentType2_0,PersistentType2_0> METAMODEL_TYPE_TRANSFORMER
Method Detail

getDeclaringTypeName

String getDeclaringTypeName()
Return the name of the persistent type's "declaring type". Return null if the persistent type is a top-level type. The declaring type may or may not be a persistent type.


getMetamodelType

PersistentType2_0 getMetamodelType()
Return the persistent type to be used for static metamodel generation, typically the persistent type itself. Return null if the persistent type is not to be used for static metamodel generation (e.g. the type does not have a corresponding Java source declaration and the resulting metamodel classes would not compile).


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.