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

All Superinterfaces:
AccessHolder, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, JpaStructureNode, Model, PersistentAttribute
All Known Subinterfaces:
JavaPersistentAttribute2_0, OrmPersistentAttribute2_0

public interface PersistentAttribute2_0
extends PersistentAttribute

JPA 2.0 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.

Since:
2.3
Version:
2.3

Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.PersistentAttribute
DEFAULT_MAPPING_PROPERTY, NAME_PROPERTY, SPECIFIED_MAPPING_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.AccessHolder
DEFAULT_ACCESS_PROPERTY, SPECIFIED_ACCESS_PROPERTY
 
Method Summary
 java.lang.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.
 java.lang.String getMetamodelContainerFieldTypeName()
          Return the name of the container type to be used in the metamodel field declaration corresponding to the attribute's mapping.
 java.lang.String getMetamodelTypeName()
          Return the attribute's type name for the metamodel.
 
Methods inherited from interface org.eclipse.jpt.core.context.PersistentAttribute
getDefaultMappingKey, getMapping, getMappingKey, getName, getOwningPersistentType, getOwningTypeMapping, getPrimaryKeyColumnName, getSpecifiedMapping, getTypeName, isVirtual, setSpecifiedMappingKey
 
Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode
dispose, getId, getResourceType, getSelectionTextRange, getStructureNode
 
Methods inherited from interface org.eclipse.jpt.core.context.AccessHolder
getAccess, getDefaultAccess, getSpecifiedAccess, setSpecifiedAccess
 

Method Detail

getMetamodelContainerFieldTypeName

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


getMetamodelContainerFieldMapKeyTypeName

java.lang.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

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