Interface JPAEdmAssociationEndView
- All Superinterfaces:
JPAEdmBaseView
A view on Java Persistence Entity Relationship and Entity Data Model Association End.
The implementation of the view provides access to EDM Association Ends created from Java Persistence Entity Relationships. The implementation acts as a container for Association Ends.
@org.apache.olingo.odata2.DoNotImplement- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleancompare(AssociationEnd end1, AssociationEnd end2) The method compares two ends {end1, end2} of anAssociationEndagainst its two ends.The method gets the other association end present in the container.The method gets the one of the association ends present in the container.String[]String[]Methods inherited from interface org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmBaseView
clean, getBuilder, getJPAEdmExtension, getJPAEdmMappingModelAccess, getJPAMetaModel, getpUnitName, isConsistent, isDefaultNamingSkipped
-
Method Details
-
getEdmAssociationEnd2
AssociationEnd getEdmAssociationEnd2()The method gets the one of the association ends present in the container.- Returns:
- one of the
AssociationEndfor anAssociation
-
getEdmAssociationEnd1
AssociationEnd getEdmAssociationEnd1()The method gets the other association end present in the container.- Returns:
- one of the
AssociationEndfor anAssociation
-
compare
The method compares two ends {end1, end2} of anAssociationEndagainst its two ends. The Method compares the following properties in each end for equalityFullQualifiedNameof End TypeEdmMultiplicityof End
- Parameters:
end1- one end of typeAssociationEndof anAssociationend2- other end of typeAssociationEndof anAssociation- Returns:
- true - Only if the properties of end1 matches with all the properties of any one end and only if the properties of end2 matches with all the properties of the remaining end
- false - Otherwise
-
getJoinColumnNames
String[] getJoinColumnNames() -
getJoinColumnReferenceColumnNames
String[] getJoinColumnReferenceColumnNames() -
getMappedByName
String getMappedByName() -
getOwningPropertyName
String getOwningPropertyName()
-