@Test public void checkPostProcessorCalled() throws ODataJPAModelException { IntermediateModelElement.setPostProcessor(processor); final Attribute<?, ?> jpaAttribute = helper.getDeclaredAttribute(helper.getEntityType( BusinessPartner.class), "roles"); final IntermediateNavigationProperty property = new IntermediateNavigationProperty(new JPADefaultEdmNameBuilder( PUNIT_NAME), schema.getEntityType(BusinessPartner.class), jpaAttribute, schema); property.getEdmItem(); verify(processor, atLeastOnce()).processNavigationProperty(property, BUPA_CANONICAL_NAME); }
@Override CsdlNavigationProperty getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmNaviProperty; }
IntermediateNavigationProperty extends IntermediateModelElement implements
    IntermediateNavigationPropertyAccess, JPAAssociationAttribute { @Override CsdlNavigationProperty getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmNaviProperty; } }
IntermediateNavigationProperty extends IntermediateModelElement implements
    IntermediateNavigationPropertyAccess, JPAAssociationAttribute { @Override CsdlNavigationProperty getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmNaviProperty; } IntermediateNavigationProperty(final JPAEdmNameBuilder nameBuilder, final IntermediateStructuredType<?> parent,
      final Attribute<?, ?> jpaAttribute, final IntermediateSchema schema); }
IntermediateNavigationProperty extends IntermediateModelElement implements
    IntermediateNavigationPropertyAccess, JPAAssociationAttribute { @Override CsdlNavigationProperty getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmNaviProperty; } IntermediateNavigationProperty(final JPAEdmNameBuilder nameBuilder, final IntermediateStructuredType<?> parent,
      final Attribute<?, ?> jpaAttribute, final IntermediateSchema schema); @Override void addAnnotations(final List<CsdlAnnotation> annotations); @Override AttributeConverter<X, Y> getConverter(); @Override EdmPrimitiveTypeKind getEdmType(); JPAJoinTable getJoinTable(); @Override JPAAssociationAttribute getPartner(); @Override JPAAssociationPath getPath(); @Override CsdlNavigationProperty getProperty(); @Override Set<String> getProtectionClaimNames(); @Override List<String> getProtectionPath(final String claimName); @Override JPAStructuredType getStructuredType(); @Override JPAStructuredType getTargetEntity(); @Override Class<?> getType(); @Override boolean hasProtection(); @Override boolean isAssociation(); @Override boolean isCollection(); @Override boolean isComplex(); @Override boolean isEnum(); @Override boolean isEtag(); @Override boolean isKey(); @Override boolean isSearchable(); @Override void setOnDelete(final CsdlOnDelete onDelete); }
IntermediateNavigationProperty extends IntermediateModelElement implements
    IntermediateNavigationPropertyAccess, JPAAssociationAttribute { @Override CsdlNavigationProperty getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmNaviProperty; } IntermediateNavigationProperty(final JPAEdmNameBuilder nameBuilder, final IntermediateStructuredType<?> parent,
      final Attribute<?, ?> jpaAttribute, final IntermediateSchema schema); @Override void addAnnotations(final List<CsdlAnnotation> annotations); @Override AttributeConverter<X, Y> getConverter(); @Override EdmPrimitiveTypeKind getEdmType(); JPAJoinTable getJoinTable(); @Override JPAAssociationAttribute getPartner(); @Override JPAAssociationPath getPath(); @Override CsdlNavigationProperty getProperty(); @Override Set<String> getProtectionClaimNames(); @Override List<String> getProtectionPath(final String claimName); @Override JPAStructuredType getStructuredType(); @Override JPAStructuredType getTargetEntity(); @Override Class<?> getType(); @Override boolean hasProtection(); @Override boolean isAssociation(); @Override boolean isCollection(); @Override boolean isComplex(); @Override boolean isEnum(); @Override boolean isEtag(); @Override boolean isKey(); @Override boolean isSearchable(); @Override void setOnDelete(final CsdlOnDelete onDelete);  }