Dali Provisional API
Release 3.2

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

All Superinterfaces:
AccessHolder, IAdaptable, JpaContextNode, JpaNode, JpaStructureNode, JptResourceTypeReference, ManagedType, MetamodelSourceType, Model, PersistentType, ReadOnlyAccessHolder
All Known Subinterfaces:
EclipseLinkOrmPersistentType

public interface PersistentType2_0
extends PersistentType, MetamodelSourceType

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
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
PersistentType.AttributesTransformer, PersistentType.MappingTransformer, PersistentType.OverriddenPersistentTypeTransformer, PersistentType.Owner, PersistentType.SuperPersistentTypeTransformer
 
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.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.MetamodelSourceType
MetamodelSourceType.Synchronizer
 
Field Summary
static String DECLARING_TYPE_NAME_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
ATTRIBUTES_TRANSFORMER, MAPPING_PROPERTY, MAPPING_TRANSFORMER, OVERRIDDEN_PERSISTENT_TYPE_TRANSFORMER, SUPER_PERSISTENT_TYPE_PROPERTY, SUPER_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
CHILDREN_COLLECTION
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.AccessHolder
DEFAULT_ACCESS_PROPERTY, SPECIFIED_ACCESS_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.MetamodelSourceType
COMPARATOR
 
Method Summary
 String getDeclaringTypeName()
          Return the name of the persistent type's "declaring type".
 PersistentType2_0 getMetamodelType()
          Return the PersistentType used for Metamodel, which is "this" most of the time.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
getAllAttributeNames, getAllAttributes, getAncestors, getAttributeNamed, getAttributeNames, getAttributes, getAttributesSize, getAttributeTypeBinding, getInheritanceHierarchy, getMapping, getMappingKey, getOverriddenPersistentType, getOwnerDefaultAccess, getOwnerOverrideAccess, getSuperPersistentType, getType, 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
containsOffset, gatherRootStructureNodes, getChildren, getChildrenSize, getContextType, getFullTextRange, getSelectionTextRange, getStructureNode
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.AccessHolder
getDefaultAccess, getSpecifiedAccess, setSpecifiedAccess
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyAccessHolder
getAccess
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
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.MetamodelSourceType
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
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 PersistentType used for Metamodel, which is "this" most of the time.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.