public interface JPAEdmAssociationView extends JPAEdmBaseView
A View on Java Persistence Entity Relationship and Entity Data Model Association.
The implementation of the view provides access to EDM Association created from Java Persistence Entity Relationships. The implementation acts as a container for list of association that are consistent. An Association is said to be consistent only
JPAEdmAssociationSetView
,
JPAEdmReferentialConstraintView
Modifier and Type | Method and Description |
---|---|
void |
addJPAEdmAssociationView(JPAEdmAssociationView associationView,
JPAEdmAssociationEndView associationEndView)
The method adds
JPAEdmAssociationView to its container |
void |
addJPAEdmRefConstraintView(JPAEdmReferentialConstraintView refView)
The method adds the referential constraint view to its container.
|
List<Association> |
getConsistentEdmAssociationList()
The method returns a consistent list of associations.
|
Association |
getEdmAssociation()
The method returns an association which is currently being processed.
|
JPAEdmReferentialConstraintView |
getJPAEdmReferentialConstraintView()
The method returns the referential constraint view that is currently
being processed.
|
int |
getNumberOfAssociationsWithSimilarEndPoints(JPAEdmAssociationEndView view)
The method searches for the number of associations with similar endpoints in its container against the
search parameter view of type
JPAEdmAssociationView
. |
Association |
searchAssociation(JPAEdmAssociationEndView view)
The method searches for an Association in its container against the
search parameter view of type
JPAEdmAssociationView
. |
clean, getBuilder, getJPAEdmExtension, getJPAEdmMappingModelAccess, getJPAMetaModel, getpUnitName, isConsistent, isDefaultNamingSkipped
Association getEdmAssociation()
Association
List<Association> getConsistentEdmAssociationList()
Association
void addJPAEdmAssociationView(JPAEdmAssociationView associationView, JPAEdmAssociationEndView associationEndView)
JPAEdmAssociationView
to its containerassociationView
- of type JPAEdmAssociationView
Association searchAssociation(JPAEdmAssociationEndView view)
JPAEdmAssociationView
.
The Association in the container view is searched against the
consistent list of Association stored in this container.view
- of type JPAEdmAssociationView
Association
if found
in the containervoid addJPAEdmRefConstraintView(JPAEdmReferentialConstraintView refView)
Note: The referential constraint view is added only if it exists.
refView
- of type JPAEdmReferentialConstraintView
JPAEdmReferentialConstraintView getJPAEdmReferentialConstraintView()
JPAEdmReferentialConstraintView
int getNumberOfAssociationsWithSimilarEndPoints(JPAEdmAssociationEndView view)
JPAEdmAssociationView
.
The Association in the container view is searched against the
consistent list of Association stored in this container.view
- of type JPAEdmAssociationView
Association
if found
in the containerCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.