Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context.orm
Interface OrmOneToManyMapping

All Superinterfaces:
AttributeMapping, CollectionMapping, FetchableMapping, IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model, MultiRelationshipMapping, OneToManyMapping, OrmAttributeMapping, OrmMultiRelationshipMapping, OrmRelationshipMapping, RelationshipMapping, TypeRefactoringParticipant

public interface OrmOneToManyMapping
extends OneToManyMapping, OrmMultiRelationshipMapping

orm.xml 1:m mapping

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.CollectionMapping
CollectionMapping.Type
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
AttributeMapping.GeneratorsTransformer, AttributeMapping.IsNotTransient, AttributeMapping.IsOverridableAssociationMapping, AttributeMapping.KeyEquals, AttributeMapping.NameTransformer
 
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.context.TypeRefactoringParticipant
TypeRefactoringParticipant.MoveTypeEditsTransformer, TypeRefactoringParticipant.RenamePackageEditsTransformer, TypeRefactoringParticipant.RenameTypeEditsTransformer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.CollectionMapping
CUSTOM_MAP_KEY_PROPERTY, DEFAULT_FETCH_TYPE, KEY_TYPE_PROPERTY, NO_MAP_KEY_PROPERTY, PK_MAP_KEY_PROPERTY, SPECIFIED_MAP_KEY_PROPERTY, VALUE_TYPE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, FULLY_QUALIFIED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.FetchableMapping
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
DEFAULT_PROPERTY, GENERATORS_TRANSFORMER, IS_NOT_TRANSIENT, IS_OVERRIDABLE_ASSOCIATION_MAPPING, NAME_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmAttributeMapping
DEFAULT_ATTRIBUTE_TYPE_PROPERTY, FULLY_QUALIFIED_ATTRIBUTE_TYPE_PROPERTY, NAME_PROPERTY, SPECIFIED_ATTRIBUTE_TYPE_PROPERTY
 
Method Summary
 OrmOneToManyRelationship getRelationship()
          Return the meta-information used to populate the entities of the relationship
 org.eclipse.jpt.jpa.core.resource.orm.XmlOneToMany getXmlAttributeMapping()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.CollectionMapping
getCandidateMapKeyNames, getKeyType, getMapKey, getMetamodelFieldMapKeyTypeName, getOrderable, getResolvedTargetType, getSpecifiedMapKey, getValueType, isCustomMapKey, isNoMapKey, isPkMapKey, setCustomMapKey, setNoMapKey, setPkMapKey, setSpecifiedMapKey
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmRelationshipMapping
getCascade
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipMapping
getAllTargetEntityAttributeNames, getDefaultTargetEntity, getFullyQualifiedTargetEntity, getRelationshipOwner, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, getTargetEntityNonTransientAttributeNames, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.FetchableMapping
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping
getAllMappingNames, getAllOverridableAssociationMappingNames, getAllOverridableAttributeMappingNames, getGenerators, getKey, getName, getPersistentAttribute, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase
 
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.context.orm.OrmAttributeMapping
addXmlAttributeMappingTo, getAttributeType, getDefaultAttributeType, getFullyQualifiedAttributeType, getNameTextRange, getParent, getPersistentAttribute, getSelectionTextRange, getSpecifiedAttributeType, getTypeMapping, getXmlSequence, initializeFromOrmAttributeMapping, initializeFromOrmBasicMapping, initializeFromOrmEmbeddedIdMapping, initializeFromOrmEmbeddedMapping, initializeFromOrmIdMapping, initializeFromOrmManyToManyMapping, initializeFromOrmManyToOneMapping, initializeFromOrmOneToManyMapping, initializeFromOrmOneToOneMapping, initializeFromOrmTransientMapping, initializeFromOrmVersionMapping, initializeOn, removeXmlAttributeMappingFrom, setName, setSpecifiedAttributeType
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant
createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits
 

Method Detail

getXmlAttributeMapping

org.eclipse.jpt.jpa.core.resource.orm.XmlOneToMany getXmlAttributeMapping()
Specified by:
getXmlAttributeMapping in interface OrmAttributeMapping
Specified by:
getXmlAttributeMapping in interface OrmMultiRelationshipMapping
Specified by:
getXmlAttributeMapping in interface OrmRelationshipMapping

getRelationship

OrmOneToManyRelationship getRelationship()
Description copied from interface: RelationshipMapping
Return the meta-information used to populate the entities of the relationship

Specified by:
getRelationship in interface OneToManyMapping
Specified by:
getRelationship in interface OrmRelationshipMapping
Specified by:
getRelationship in interface RelationshipMapping

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.