|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JPAEdmAssociationView
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
Method Summary | |
---|---|
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
. |
Methods inherited from interface org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmBaseView |
---|
clean, getBuilder, getJPAEdmExtension, getJPAEdmMappingModelAccess, getJPAMetaModel, getpUnitName, isConsistent, isDefaultNamingSkipped |
Method Detail |
---|
Association getEdmAssociation()
Association
List<Association> getConsistentEdmAssociationList()
Association
void addJPAEdmAssociationView(JPAEdmAssociationView associationView, JPAEdmAssociationEndView associationEndView)
JPAEdmAssociationView
to its container
associationView
- 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 container
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |