Dali Provisional API
Release 3.2

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

All Superinterfaces:
AccessReference, IAdaptable, JpaContextModel, JpaModel, JpaStructureNode, JptResourceTypeReference, Model, PersistentAttribute
All Known Subinterfaces:
SpecifiedPersistentAttribute2_0

public interface PersistentAttribute2_0
extends PersistentAttribute

JPA 2.0 context persistent attribute (field or property).

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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.PersistentAttribute
PersistentAttribute.MappingTransformer, PersistentAttribute.NameEquals, PersistentAttribute.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
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.PersistentAttribute
DEFAULT_MAPPING_KEY_PROPERTY, MAPPING_PROPERTY, MAPPING_TRANSFORMER, NAME_PROPERTY, NAME_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
CHILDREN_COLLECTION
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 String getMetamodelContainerFieldMapKeyTypeName()
          Return the name of the container map key type to be used in the metamodel field declaration corresponding to the attribute's mapping.
 String getMetamodelContainerFieldTypeName()
          Return the name of the container type to be used in the metamodel field declaration corresponding to the attribute's mapping.
 String getMetamodelTypeName()
          Return the attribute's type name for the metamodel.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.PersistentAttribute
getDeclaringPersistentType, getDeclaringTypeMapping, getDefaultMappingKey, getJavaPersistentAttribute, getMapping, getMappingKey, getName, getPrimaryKeyColumnName, getTypeName, getTypeName, isVirtual
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
addRootStructureNodesTo, containsOffset, getChildren, getChildrenSize, getContextType, getFullTextRange, getSelectionTextRange, getStructureNode, getType
 
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
 

Method Detail

getMetamodelContainerFieldTypeName

String getMetamodelContainerFieldTypeName()
Return the name of the container type to be used in the metamodel field declaration corresponding to the attribute's mapping.


getMetamodelContainerFieldMapKeyTypeName

String getMetamodelContainerFieldMapKeyTypeName()
Return the name of the container map key type to be used in the metamodel field declaration corresponding to the attribute's mapping. Return null if the attribute's type is not Map.


getMetamodelTypeName

String getMetamodelTypeName()
Return the attribute's type name for the metamodel.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.