@Test public void nullAnnotationsAtComplexType() throws Exception { Edm edm = createEdm(); assertNotNull(edm); EdmAnnotations annotations = edm.getComplexType("Self", "c_Location").getAnnotations(); checkNullAnnotations(annotations); }
@Override public ComplexType getComplexType(final FullQualifiedName edmFQName) throws ODataException { for (Schema schema : dataServices.getSchemas()) { if (schema.getNamespace().equals(edmFQName.getNamespace())) { for (ComplexType complexType : schema.getComplexTypes()) { if (complexType.getName().equals(edmFQName.getName())) { return complexType; } } } } return null; }
EdmxProvider extends EdmProvider { @Override public ComplexType getComplexType(final FullQualifiedName edmFQName) throws ODataException { for (Schema schema : dataServices.getSchemas()) { if (schema.getNamespace().equals(edmFQName.getNamespace())) { for (ComplexType complexType : schema.getComplexTypes()) { if (complexType.getName().equals(edmFQName.getName())) { return complexType; } } } } return null; } }
EdmxProvider extends EdmProvider { @Override public ComplexType getComplexType(final FullQualifiedName edmFQName) throws ODataException { for (Schema schema : dataServices.getSchemas()) { if (schema.getNamespace().equals(edmFQName.getNamespace())) { for (ComplexType complexType : schema.getComplexTypes()) { if (complexType.getName().equals(edmFQName.getName())) { return complexType; } } } } return null; }  }
EdmxProvider extends EdmProvider { @Override public ComplexType getComplexType(final FullQualifiedName edmFQName) throws ODataException { for (Schema schema : dataServices.getSchemas()) { if (schema.getNamespace().equals(edmFQName.getNamespace())) { for (ComplexType complexType : schema.getComplexTypes()) { if (complexType.getName().equals(edmFQName.getName())) { return complexType; } } } } return null; }  EdmxProvider parse(final InputStream in, final boolean validate); @Override EntityContainerInfo getEntityContainerInfo(final String name); @Override EntityType getEntityType(final FullQualifiedName edmFQName); @Override ComplexType getComplexType(final FullQualifiedName edmFQName); @Override Association getAssociation(final FullQualifiedName edmFQName); @Override EntitySet getEntitySet(final String entityContainer, final String name); @Override AssociationSet getAssociationSet(final String entityContainer, final FullQualifiedName association,
      final String sourceEntitySetName, final String sourceEntitySetRole); @Override FunctionImport getFunctionImport(final String entityContainer, final String name); @Override List<Schema> getSchemas(); @Override List<AliasInfo> getAliasInfos(); }
EdmxProvider extends EdmProvider { @Override public ComplexType getComplexType(final FullQualifiedName edmFQName) throws ODataException { for (Schema schema : dataServices.getSchemas()) { if (schema.getNamespace().equals(edmFQName.getNamespace())) { for (ComplexType complexType : schema.getComplexTypes()) { if (complexType.getName().equals(edmFQName.getName())) { return complexType; } } } } return null; }  EdmxProvider parse(final InputStream in, final boolean validate); @Override EntityContainerInfo getEntityContainerInfo(final String name); @Override EntityType getEntityType(final FullQualifiedName edmFQName); @Override ComplexType getComplexType(final FullQualifiedName edmFQName); @Override Association getAssociation(final FullQualifiedName edmFQName); @Override EntitySet getEntitySet(final String entityContainer, final String name); @Override AssociationSet getAssociationSet(final String entityContainer, final FullQualifiedName association,
      final String sourceEntitySetName, final String sourceEntitySetRole); @Override FunctionImport getFunctionImport(final String entityContainer, final String name); @Override List<Schema> getSchemas(); @Override List<AliasInfo> getAliasInfos();  }