@Test public void checkSchemaGetAllComplexTypes() throws ODataJPAModelException { IntermediateSchema schema = new IntermediateSchema(new JPADefaultEdmNameBuilder(PUNIT_NAME), emf.getMetamodel(), r); assertEquals(20, schema.getEdmItem().getComplexTypes().size(), "Wrong number of complex types"); }
@Override CsdlSchema getEdmItem() throws ODataJPAModelException { if (edmSchema == null) lazyBuildEdmItem(); return edmSchema; }
IntermediateSchema extends IntermediateModelElement { @Override CsdlSchema getEdmItem() throws ODataJPAModelException { if (edmSchema == null) lazyBuildEdmItem(); return edmSchema; } }
IntermediateSchema extends IntermediateModelElement { @Override CsdlSchema getEdmItem() throws ODataJPAModelException { if (edmSchema == null) lazyBuildEdmItem(); return edmSchema; } IntermediateSchema(final JPAEdmNameBuilder nameBuilder, final Metamodel jpaMetamodel, final Reflections reflections); }
IntermediateSchema extends IntermediateModelElement { @Override CsdlSchema getEdmItem() throws ODataJPAModelException { if (edmSchema == null) lazyBuildEdmItem(); return edmSchema; } IntermediateSchema(final JPAEdmNameBuilder nameBuilder, final Metamodel jpaMetamodel, final Reflections reflections); IntermediateEnumerationType getEnumerationType(final Class<?> enumType); JPAEnumerationAttribute getEnumerationType(final EdmEnumType type); IntermediateEnumerationType getEnumerationType(final String externalName); }
IntermediateSchema extends IntermediateModelElement { @Override CsdlSchema getEdmItem() throws ODataJPAModelException { if (edmSchema == null) lazyBuildEdmItem(); return edmSchema; } IntermediateSchema(final JPAEdmNameBuilder nameBuilder, final Metamodel jpaMetamodel, final Reflections reflections); IntermediateEnumerationType getEnumerationType(final Class<?> enumType); JPAEnumerationAttribute getEnumerationType(final EdmEnumType type); IntermediateEnumerationType getEnumerationType(final String externalName);  }