org.eclipse.jpt.jpa.core.jpa2.context.orm
Interface OrmPersistentType2_0

All Superinterfaces:
AccessHolder, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, JpaStructureNode, MetamodelSourceType, Model, OrmPersistentType, PersistentType, PersistentType.Owner, PersistentType2_0, ReadOnlyAccessHolder, XmlContextNode

public interface OrmPersistentType2_0
extends OrmPersistentType, PersistentType2_0

JPA 2.0 context orm.xml 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
Version:
2.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
PersistentType.Owner
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.MetamodelSourceType
MetamodelSourceType.Synchronizer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmPersistentType
JAVA_PERSISTENT_TYPE_PROPERTY, SPECIFIED_ATTRIBUTES_LIST, VIRTUAL_ATTRIBUTES_LIST
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.PersistentType2_0
DECLARING_TYPE_NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
MAPPING_PROPERTY, NAME_PROPERTY, SUPER_PERSISTENT_TYPE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.AccessHolder
DEFAULT_ACCESS_PROPERTY, SPECIFIED_ACCESS_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.MetamodelSourceType
COMPARATOR
 
Method Summary
 java.util.ListIterator<OrmReadOnlyPersistentAttribute> attributes()
          Return a combination of the persistent type's specified and virtual attributes.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmPersistentType
addSpecifiedAttribute, changeMapping, contains, convertAttributeToSpecified, convertAttributeToSpecified, convertAttributeToVirtual, createDeleteTypeEdits, createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits, getAttributeNamed, getDefaultPackage, getJavaPersistentType, getMapping, getParent, mappingClassChanged, specifiedAttributes, specifiedAttributesSize, virtualAttributes, virtualAttributesSize
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType.Owner
getDefaultPersistentTypeAccess, getOverridePersistentTypeAccess
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.PersistentType2_0
getDeclaringTypeName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType
allAttributeNames, allAttributes, ancestors, attributeNames, attributesSize, getMappingKey, getName, getOwnerDefaultAccess, getOwnerOverrideAccess, getSimpleName, getSuperPersistentType, getValidationTextRange, inheritanceHierarchy, isFor, isIn, isMapped, resolveAttribute, setMappingKey, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
dispose, getId, getResourceType, getSelectionTextRange, getStructureNode
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, stateChanged
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart
getResource
 
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.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.MetamodelSourceType
getJpaProject, getMetamodelFile, getName, getSuperPersistentType, isManaged, printBodySourceOn, synchronizeMetamodel
 

Method Detail

attributes

java.util.ListIterator<OrmReadOnlyPersistentAttribute> attributes()
Description copied from interface: OrmPersistentType
Return a combination of the persistent type's specified and virtual attributes. The specified attributes are those explicitly listed in the orm.xml file; while the virtual attributes are those derived from the corresponding Java persistent type.

Specified by:
attributes in interface MetamodelSourceType
Specified by:
attributes in interface OrmPersistentType
Specified by:
attributes in interface PersistentType