You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by mi...@apache.org on 2013/09/24 14:42:58 UTC

[31/51] [partial] Refactored project structure

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/FunctionImport.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/FunctionImport.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/FunctionImport.java
deleted file mode 100644
index 60c9cad..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/FunctionImport.java
+++ /dev/null
@@ -1,191 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-/**
- * Objects of this class represent a function import
- * 
- */
-public class FunctionImport {
-
-  private String name;
-  private ReturnType returnType;
-  private String entitySet;
-  private String httpMethod;
-  private List<FunctionImportParameter> parameters;
-  private Mapping mapping;
-  private Documentation documentation;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return <b>String</b> name of this function import
-   */
-  public String getName() {
-    return name;
-  }
-
-  /**
-   * @return {@link ReturnType} of this function import
-   */
-  public ReturnType getReturnType() {
-    return returnType;
-  }
-
-  /**
-   * @return <b>String</b> name of the entity set
-   */
-  public String getEntitySet() {
-    return entitySet;
-  }
-
-  /**
-   * @return <b>String</b> name of the used HTTP method
-   */
-  public String getHttpMethod() {
-    return httpMethod;
-  }
-
-  /**
-   * @return List<{@link FunctionImportParameter}>s of this function import
-   */
-  public List<FunctionImportParameter> getParameters() {
-    return parameters;
-  }
-
-  /**
-   * @return {@link Mapping} for this type
-   */
-  public Mapping getMapping() {
-    return mapping;
-  }
-
-  /**
-   * @return {@link Documentation} documentation
-   */
-  public Documentation getDocumentation() {
-    return documentation;
-  }
-
-  /**
-   * @return collection of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return collection of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the name of this {@link FunctionImport}
-   * @param name
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setName(final String name) {
-    this.name = name;
-    return this;
-  }
-
-  /**
-   * Sets the {@link ReturnType} of this {@link FunctionImport}
-   * @param returnType
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setReturnType(final ReturnType returnType) {
-    this.returnType = returnType;
-    return this;
-  }
-
-  /**
-   * Sets the {@link EntitySet} of this {@link FunctionImport}
-   * @param entitySet
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setEntitySet(final String entitySet) {
-    this.entitySet = entitySet;
-    return this;
-  }
-
-  /**
-   * Sets the HTTP method of this {@link FunctionImport}
-   * @param httpMethod
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setHttpMethod(final String httpMethod) {
-    this.httpMethod = httpMethod;
-    return this;
-  }
-
-  /**
-   * Sets the {@link FunctionImportParameter}s of this {@link FunctionImport}
-   * @param parameters
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setParameters(final List<FunctionImportParameter> parameters) {
-    this.parameters = parameters;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Mapping}
-   * @param mapping
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setMapping(final Mapping mapping) {
-    this.mapping = mapping;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Documentation}
-   * @param documentation
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setDocumentation(final Documentation documentation) {
-    this.documentation = documentation;
-    return this;
-  }
-
-  /**
-   * Sets the collection of {@link AnnotationAttribute} for this {@link FunctionImport}
-   * @param annotationAttributes
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the collection of {@link AnnotationElement} for this {@link FunctionImport}
-   * @param annotationElements
-   * @return {@link FunctionImport} for method chaining
-   */
-  public FunctionImport setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/FunctionImportParameter.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/FunctionImportParameter.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/FunctionImportParameter.java
deleted file mode 100644
index a1ea28e..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/FunctionImportParameter.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-import org.apache.olingo.odata2.api.edm.EdmFacets;
-import org.apache.olingo.odata2.api.edm.EdmSimpleTypeKind;
-
-/**
- * Objects of this class represent function import parameters
- * 
- */
-public class FunctionImportParameter {
-
-  private String name;
-  private String mode;
-  private EdmSimpleTypeKind type;
-  private EdmFacets facets;
-  private Mapping mapping;
-  private Documentation documentation;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return <b>String</b> name of the parameter
-   */
-  public String getName() {
-    return name;
-  }
-
-  /**
-   * @return <b>String</b> mode of this parameter
-   */
-  public String getMode() {
-    return mode;
-  }
-
-  /**
-   * @return {@link EdmSimpleTypeKind} of this parameter
-   */
-  public EdmSimpleTypeKind getType() {
-    return type;
-  }
-
-  /**
-   * @return {@link EdmFacets} of this parameter
-   */
-  public EdmFacets getFacets() {
-    return facets;
-  }
-
-  /**
-   * @return {@link Mapping} of this parameter
-   */
-  public Mapping getMapping() {
-    return mapping;
-  }
-
-  /**
-   * @return {@link Documentation} documentation
-   */
-  public Documentation getDocumentation() {
-    return documentation;
-  }
-
-  /**
-   * @return collection of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return collection of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the name of this {@link FunctionImportParameter}
-   * @param name
-   * @return {@link FunctionImportParameter} for method chaining
-   */
-  public FunctionImportParameter setName(final String name) {
-    this.name = name;
-    return this;
-  }
-
-  /**
-   * Sets the mode of this {@link FunctionImportParameter}
-   * @param mode
-   * @return {@link FunctionImportParameter} for method chaining
-   */
-  public FunctionImportParameter setMode(final String mode) {
-    this.mode = mode;
-    return this;
-  }
-
-  /**
-   * Sets the {@link EdmSimpleTypeKind} of this {@link FunctionImportParameter}
-   * @param type
-   * @return {@link FunctionImportParameter} for method chaining
-   */
-  public FunctionImportParameter setType(final EdmSimpleTypeKind type) {
-    this.type = type;
-    return this;
-  }
-
-  /**
-   * Sets the {@link EdmFacets} of this {@link FunctionImportParameter}
-   * @param facets
-   * @return {@link FunctionImportParameter} for method chaining
-   */
-  public FunctionImportParameter setFacets(final EdmFacets facets) {
-    this.facets = facets;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Mapping} of this {@link FunctionImportParameter}
-   * @param mapping
-   * @return {@link FunctionImportParameter} for method chaining
-   */
-  public FunctionImportParameter setMapping(final Mapping mapping) {
-    this.mapping = mapping;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Documentation} of this {@link FunctionImportParameter}
-   * @param documentation
-   * @return {@link FunctionImportParameter} for method chaining
-   */
-  public FunctionImportParameter setDocumentation(final Documentation documentation) {
-    this.documentation = documentation;
-    return this;
-  }
-
-  /**
-   * Sets the collection of {@link AnnotationAttribute} for this {@link FunctionImportParameter}
-   * @param annotationAttributes
-   * @return {@link FunctionImportParameter} for method chaining
-   */
-  public FunctionImportParameter setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the collection of {@link AnnotationElement} for this {@link FunctionImportParameter}
-   * @param annotationElements
-   * @return {@link FunctionImportParameter} for method chaining
-   */
-  public FunctionImportParameter setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Key.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Key.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Key.java
deleted file mode 100644
index dd2cb86..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Key.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-/**
- * Objects of this class represent a key for an entity type
- * 
- */
-public class Key {
-
-  private List<PropertyRef> keys;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return List<{@link PropertyRef}> references to the key properties
-   */
-  public List<PropertyRef> getKeys() {
-    return keys;
-  }
-
-  /**
-   * @return List of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return List of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the {@link Property}s by their {@link PropertyRef} for this {@link Key}
-   * @param keys
-   * @return {@link Key} for method chaining
-   */
-  public Key setKeys(final List<PropertyRef> keys) {
-    this.keys = keys;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationAttribute} for this {@link Key}
-   * @param annotationAttributes
-   * @return {@link Key} for method chaining
-   */
-  public Key setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationElement} for this {@link Key}
-   * @param annotationElements
-   * @return {@link Key} for method chaining
-   */
-  public Key setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Mapping.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Mapping.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Mapping.java
deleted file mode 100644
index f7f0f00..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Mapping.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import org.apache.olingo.odata2.api.edm.EdmMapping;
-
-/**
- * Object of this class represent the mapping of a value to a MIME type.
- * 
- */
-public class Mapping implements EdmMapping {
-
-  private String value;
-  private String mimeType;
-  private Object object;
-
-  @Override
-  public String getInternalName() {
-    return value;
-  }
-
-  @Override
-  public String getMimeType() {
-    return mimeType;
-  }
-
-  @Override
-  public Object getObject() {
-    return object;
-  }
-
-  /**
-   * Sets the value for this {@link Mapping}.
-   * @param value
-   * @return {@link Mapping} for method chaining
-   */
-  public Mapping setInternalName(final String value) {
-    this.value = value;
-    return this;
-  }
-
-  /**
-   * Sets the mime type for this {@link Mapping}.
-   * @param mimeType
-   * @return {@link Mapping} for method chaining
-   */
-  public Mapping setMimeType(final String mimeType) {
-    this.mimeType = mimeType;
-    return this;
-  }
-
-  /**
-   * Sets an object. This method can be used by a provider to set whatever it wants to associate with this.
-   * @param object
-   * @return {@link Mapping} for method chaining
-   */
-  public Mapping setObject(final Object object) {
-    this.object = object;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/NavigationProperty.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/NavigationProperty.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/NavigationProperty.java
deleted file mode 100644
index 4860bec..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/NavigationProperty.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-import org.apache.olingo.odata2.api.edm.FullQualifiedName;
-
-/**
- * Objects of this Class represent a navigation property
- * 
- */
-public class NavigationProperty {
-
-  private String name;
-  private FullQualifiedName relationship;
-  private String fromRole;
-  private String toRole;
-  private Documentation documentation;
-  private Mapping mapping;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return <b>String</b> name of this navigation property
-   */
-  public String getName() {
-    return name;
-  }
-
-  /**
-   * @return {@link FullQualifiedName} of the relationship
-   */
-  public FullQualifiedName getRelationship() {
-    return relationship;
-  }
-
-  /**
-   * @return <b>String</b> name of the role this navigation is comming from
-   */
-  public String getFromRole() {
-    return fromRole;
-  }
-
-  /**
-   * @return <b>String</b> name of the role this navigation is going to
-   */
-  public String getToRole() {
-    return toRole;
-  }
-
-  /**
-   * @return {@link Mapping} of this navigation property
-   */
-  public Mapping getMapping() {
-    return mapping;
-  }
-
-  /**
-   * @return {@link Documentation} documentation
-   */
-  public Documentation getDocumentation() {
-    return documentation;
-  }
-
-  /**
-   * @return List of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return List of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the name of this {@link NavigationProperty}
-   * @param name
-   * @return {@link NavigationProperty} for method chaining
-   */
-  public NavigationProperty setName(final String name) {
-    this.name = name;
-    return this;
-  }
-
-  /**
-   * Sets the {@link FullQualifiedName} for the relationship of this {@link NavigationProperty}
-   * @param relationship
-   * @return {@link NavigationProperty} for method chaining
-   */
-  public NavigationProperty setRelationship(final FullQualifiedName relationship) {
-    this.relationship = relationship;
-    return this;
-  }
-
-  /**
-   * Sets the role this {@link NavigationProperty} is comming from
-   * @param fromRole
-   * @return {@link NavigationProperty} for method chaining
-   */
-  public NavigationProperty setFromRole(final String fromRole) {
-    this.fromRole = fromRole;
-    return this;
-  }
-
-  /**
-   * Sets the role this {@link NavigationProperty} is going to
-   * @param toRole
-   * @return {@link NavigationProperty} for method chaining
-   */
-  public NavigationProperty setToRole(final String toRole) {
-    this.toRole = toRole;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Mapping} for this {@link NavigationProperty}
-   * @param mapping
-   * @return {@link NavigationProperty} for method chaining
-   */
-  public NavigationProperty setMapping(final Mapping mapping) {
-    this.mapping = mapping;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Documentation} for this {@link NavigationProperty}
-   * @param documentation
-   * @return {@link NavigationProperty} for method chaining
-   */
-  public NavigationProperty setDocumentation(final Documentation documentation) {
-    this.documentation = documentation;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationAttribute} for this {@link NavigationProperty}
-   * @param annotationAttributes
-   * @return {@link NavigationProperty} for method chaining
-   */
-  public NavigationProperty setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationElement} for this {@link NavigationProperty}
-   * @param annotationElements
-   * @return {@link NavigationProperty} for method chaining
-   */
-  public NavigationProperty setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/OnDelete.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/OnDelete.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/OnDelete.java
deleted file mode 100644
index ca819c7..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/OnDelete.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-import org.apache.olingo.odata2.api.edm.EdmAction;
-
-/**
- * Objects of this class represent an OnDelete Action
- * 
- */
-public class OnDelete {
-
-  private EdmAction action;
-  private Documentation documentation;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return {@link EdmAction} action
-   */
-  public EdmAction getAction() {
-    return action;
-  }
-
-  /**
-   * @return {@link Documentation} documentation
-   */
-  public Documentation getDocumentation() {
-    return documentation;
-  }
-
-  /**
-   * @return List of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return List of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the {@link EdmAction} for this {@link OnDelete}
-   * @param action
-   * @return {@link OnDelete} for method chaining
-   */
-  public OnDelete setAction(final EdmAction action) {
-    this.action = action;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Documentation} for this {@link OnDelete}
-   * @param documentation
-   * @return {@link OnDelete} for method chaining
-   */
-  public OnDelete setDocumentation(final Documentation documentation) {
-    this.documentation = documentation;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationAttribute} for this {@link OnDelete}
-   * @param annotationAttributes
-   * @return {@link OnDelete} for method chaining
-   */
-  public OnDelete setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationElement} for this {@link OnDelete}
-   * @param annotationElements
-   * @return {@link OnDelete} for method chaining
-   */
-  public OnDelete setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Property.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Property.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Property.java
deleted file mode 100644
index a8e9331..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Property.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-import org.apache.olingo.odata2.api.edm.EdmFacets;
-
-/**
- * Objects of this class represent a property of an entity type
- * 
- */
-public abstract class Property {
-
-  private String name;
-  private EdmFacets facets;
-  private CustomizableFeedMappings customizableFeedMappings;
-  private String mimeType;
-  private Mapping mapping;
-  private Documentation documentation;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return <b>String</b> name of this property
-   */
-  public String getName() {
-    return name;
-  }
-
-  /**
-   * @return {@link EdmFacets} of this property
-   */
-  public EdmFacets getFacets() {
-    return facets;
-  }
-
-  /**
-   * @return {@link CustomizableFeedMappings} of this property
-   */
-  public CustomizableFeedMappings getCustomizableFeedMappings() {
-    return customizableFeedMappings;
-  }
-
-  /**
-   * @return <b>String</b> mime type of this property
-   */
-  public String getMimeType() {
-    return mimeType;
-  }
-
-  /**
-   * @return {@link Mapping} of this property
-   */
-  public Mapping getMapping() {
-    return mapping;
-  }
-
-  /**
-   * @return {@link Documentation} of this property
-   */
-  public Documentation getDocumentation() {
-    return documentation;
-  }
-
-  /**
-   * @return List of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return List of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the name for this {@link Property}
-   * @param name
-   * @return {@link Property} for method chaining
-   */
-  public Property setName(final String name) {
-    this.name = name;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Facets} for this {@link Property}
-   * @param facets
-   * @return {@link Property} for method chaining
-   */
-  public Property setFacets(final EdmFacets facets) {
-    this.facets = facets;
-    return this;
-  }
-
-  /**
-   * Sets the {@link CustomizableFeedMappings} for this {@link Property}
-   * @param customizableFeedMappings
-   * @return {@link Property} for method chaining
-   */
-  public Property setCustomizableFeedMappings(final CustomizableFeedMappings customizableFeedMappings) {
-    this.customizableFeedMappings = customizableFeedMappings;
-    return this;
-  }
-
-  /**
-   * Sets the mime type for this {@link Property}
-   * @param mimeType
-   * @return {@link Property} for method chaining
-   */
-  public Property setMimeType(final String mimeType) {
-    this.mimeType = mimeType;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Mapping} for this {@link Property}
-   * @param mapping
-   * @return {@link Property} for method chaining
-   */
-  public Property setMapping(final Mapping mapping) {
-    this.mapping = mapping;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Documentation} for this {@link Property}
-   * @param documentation
-   * @return {@link Property} for method chaining
-   */
-  public Property setDocumentation(final Documentation documentation) {
-    this.documentation = documentation;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationAttribute} for this {@link Property}
-   * @param annotationAttributes
-   * @return {@link Property} for method chaining
-   */
-  public Property setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationElement} for this {@link Property}
-   * @param annotationElements
-   * @return {@link Property} for method chaining
-   */
-  public Property setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/PropertyRef.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/PropertyRef.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/PropertyRef.java
deleted file mode 100644
index 1308fa6..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/PropertyRef.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-/**
- * Objects of this class represent a reference to a property via its name
- * 
- * 
- */
-public class PropertyRef {
-
-  private String name;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return <b>String</b> name of the {@link Property} this {@link PropertyRef} is referencing to
-   */
-  public String getName() {
-    return name;
-  }
-
-  /**
-   * @return List of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return List of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the name of the {@link Property} this {@link PropertyRef} is pointing to
-   * @param name
-   * @return {@link PropertyRef} for method chaining
-   */
-  public PropertyRef setName(final String name) {
-    this.name = name;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationAttribute} for this {@link PropertyRef}
-   * @param annotationAttributes
-   * @return {@link PropertyRef} for method chaining
-   */
-  public PropertyRef setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationElement} for this {@link PropertyRef}
-   * @param annotationElements
-   * @return {@link PropertyRef} for method chaining
-   */
-  public PropertyRef setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReferentialConstraint.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReferentialConstraint.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReferentialConstraint.java
deleted file mode 100644
index a2ac913..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReferentialConstraint.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-/**
- * Objects of this Class represent a referential constraint
- * 
- */
-public class ReferentialConstraint {
-
-  private ReferentialConstraintRole principal;
-  private ReferentialConstraintRole dependent;
-  private Documentation documentation;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return {@link ReferentialConstraintRole} the principal of this {@link ReferentialConstraint}
-   */
-  public ReferentialConstraintRole getPrincipal() {
-    return principal;
-  }
-
-  /**
-   * @return {@link ReferentialConstraintRole} the dependent of this {@link ReferentialConstraint}
-   */
-  public ReferentialConstraintRole getDependent() {
-    return dependent;
-  }
-
-  /**
-   * @return {@link Documentation} documentation
-   */
-  public Documentation getDocumentation() {
-    return documentation;
-  }
-
-  /**
-   * @return List of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return List of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the principal {@link ReferentialConstraintRole} for this {@link ReferentialConstraint}
-   * @param principal
-   * @return {@link ReferentialConstraint} for method chaining
-   */
-  public ReferentialConstraint setPrincipal(final ReferentialConstraintRole principal) {
-    this.principal = principal;
-    return this;
-  }
-
-  /**
-   * Sets the dependent {@link ReferentialConstraintRole} for this {@link ReferentialConstraint}
-   * @param dependent
-   * @return {@link ReferentialConstraint} for method chaining
-   */
-  public ReferentialConstraint setDependent(final ReferentialConstraintRole dependent) {
-    this.dependent = dependent;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Documentation} of this {@link ReferentialConstraint}
-   * @param documentation
-   * @return {@link ReferentialConstraint} for method chaining
-   */
-  public ReferentialConstraint setDocumentation(final Documentation documentation) {
-    this.documentation = documentation;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationAttribute} for this {@link ReferentialConstraint}
-   * @param annotationAttributes
-   * @return {@link ReferentialConstraint} for method chaining
-   */
-  public ReferentialConstraint setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationElement} for this {@link ReferentialConstraint}
-   * @param annotationElements
-   * @return {@link ReferentialConstraint} for method chaining
-   */
-  public ReferentialConstraint setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReferentialConstraintRole.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReferentialConstraintRole.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReferentialConstraintRole.java
deleted file mode 100644
index 1a551a4..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReferentialConstraintRole.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-/**
- * Objects of this Class represent a referential constraint role
- * 
- */
-public class ReferentialConstraintRole {
-
-  private String role;
-  private List<PropertyRef> propertyRefs;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * @return <b>String</b> role of this {@link ReferentialConstraintRole}
-   */
-  public String getRole() {
-    return role;
-  }
-
-  /**
-   * @return List<{@link PropertyRef}> for this {@link ReferentialConstraintRole}
-   */
-  public List<PropertyRef> getPropertyRefs() {
-    return propertyRefs;
-  }
-
-  /**
-   * @return List of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return List of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-
-  /**
-   * Sets the role of this {@link ReferentialConstraintRole}
-   * @param role
-   * @return {@link ReferentialConstraintRole} for method chaining
-   */
-  public ReferentialConstraintRole setRole(final String role) {
-    this.role = role;
-    return this;
-  }
-
-  /**
-   * Sets the {@link PropertyRef}s of this {@link ReferentialConstraintRole}
-   * @param propertyRef
-   * @return {@link ReferentialConstraintRole} for method chaining
-   */
-  public ReferentialConstraintRole setPropertyRefs(final List<PropertyRef> propertyRef) {
-    propertyRefs = propertyRef;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationAttribute} for this {@link ReferentialConstraintRole}
-   * @param annotationAttributes
-   * @return {@link ReferentialConstraintRole} for method chaining
-   */
-  public ReferentialConstraintRole setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationElement} for this {@link ReferentialConstraintRole}
-   * @param annotationElements
-   * @return {@link ReferentialConstraintRole} for method chaining
-   */
-  public ReferentialConstraintRole setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReturnType.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReturnType.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReturnType.java
deleted file mode 100644
index e4de072..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/ReturnType.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import org.apache.olingo.odata2.api.edm.EdmMultiplicity;
-import org.apache.olingo.odata2.api.edm.FullQualifiedName;
-
-/**
- * Objects of this Class represent a return type of a function import
- * 
- */
-public class ReturnType {
-
-  private FullQualifiedName typeName;
-  private EdmMultiplicity multiplicity;
-
-  /**
-   * @return {@link FullQualifiedName} type of this {@link ReturnType}
-   */
-  public FullQualifiedName getTypeName() {
-    return typeName;
-  }
-
-  /**
-   * @return {@link EdmMultiplicity} of this {@link ReturnType}
-   */
-  public EdmMultiplicity getMultiplicity() {
-    return multiplicity;
-  }
-
-  /**
-   * Sets the type of this {@link ReturnType} via the types {@link FullQualifiedName}
-   * @param qualifiedName
-   * @return {@link ReturnType} for method chaining
-   */
-  public ReturnType setTypeName(final FullQualifiedName qualifiedName) {
-    typeName = qualifiedName;
-    return this;
-  }
-
-  /**
-   * Sets the {@link EdmMultiplicity} of this {@link ReturnType}
-   * @param multiplicity
-   * @return {@link ReturnType} for method chaining
-   */
-  public ReturnType setMultiplicity(final EdmMultiplicity multiplicity) {
-    this.multiplicity = multiplicity;
-    return this;
-  }
-
-  @Override
-  public String toString() {
-    if (EdmMultiplicity.MANY == multiplicity) {
-      return "Collection(" + typeName + ")";
-    } else {
-      return typeName.toString();
-    }
-  }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Schema.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Schema.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Schema.java
deleted file mode 100644
index 1b9e8d8..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Schema.java
+++ /dev/null
@@ -1,191 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-/**
- * Objects of this class represent a schema
- * 
- */
-public class Schema {
-
-  private String namespace;
-  private String alias;
-  private List<Using> usings;
-  private List<EntityType> entityTypes;
-  private List<ComplexType> complexTypes;
-  private List<Association> associations;
-  private List<EntityContainer> entityContainers;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * Sets the namespace for this {@link Schema}
-   * @param namespace
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setNamespace(final String namespace) {
-    this.namespace = namespace;
-    return this;
-  }
-
-  /**
-   * Sets the alias for this {@link Schema}
-   * @param alias
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setAlias(final String alias) {
-    this.alias = alias;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Using} for this {@link Schema}
-   * @param usings
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setUsings(final List<Using> usings) {
-    this.usings = usings;
-    return this;
-  }
-
-  /**
-   * Sets the {@link EntityType}s for this {@link Schema}
-   * @param entityTypes
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setEntityTypes(final List<EntityType> entityTypes) {
-    this.entityTypes = entityTypes;
-    return this;
-  }
-
-  /**
-   * Sets the {@link ComplexType}s for this {@link Schema}
-   * @param complexTypes
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setComplexTypes(final List<ComplexType> complexTypes) {
-    this.complexTypes = complexTypes;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Association}s for this {@link Schema}
-   * @param associations
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setAssociations(final List<Association> associations) {
-    this.associations = associations;
-    return this;
-  }
-
-  /**
-   * Sets the {@link EntityContainer}s for this {@link Schema}
-   * @param entityContainers
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setEntityContainers(final List<EntityContainer> entityContainers) {
-    this.entityContainers = entityContainers;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationAttribute} for this {@link Schema}
-   * @param annotationAttributes
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the List of {@link AnnotationElement} for this {@link Schema}
-   * @param annotationElements
-   * @return {@link Schema} for method chaining
-   */
-  public Schema setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-
-  /**
-   * @return <b>String</b> namespace of this {@link Schema}
-   */
-  public String getNamespace() {
-    return namespace;
-  }
-
-  /**
-   * @return <b>String</b> alias of this {@link Schema}
-   */
-  public String getAlias() {
-    return alias;
-  }
-
-  /**
-   * @return List<{@link Using}> of this {@link Schema}
-   */
-  public List<Using> getUsings() {
-    return usings;
-  }
-
-  /**
-   * @return List<{@link EntityType}> of this {@link Schema}
-   */
-  public List<EntityType> getEntityTypes() {
-    return entityTypes;
-  }
-
-  /**
-   * @return List<{@link ComplexType}> of this {@link Schema}
-   */
-  public List<ComplexType> getComplexTypes() {
-    return complexTypes;
-  }
-
-  /**
-   * @return List<{@link Association}> of this {@link Schema}
-   */
-  public List<Association> getAssociations() {
-    return associations;
-  }
-
-  /**
-   * @return List<{@link EntityContainer}> of this {@link Schema}
-   */
-  public List<EntityContainer> getEntityContainers() {
-    return entityContainers;
-  }
-
-  /**
-   * @return List of {@link AnnotationAttribute} annotation attributes
-   */
-  public List<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return List of {@link AnnotationElement} annotation elements
-   */
-  public List<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/SimpleProperty.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/SimpleProperty.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/SimpleProperty.java
deleted file mode 100644
index 2b7c5ee..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/SimpleProperty.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.List;
-
-import org.apache.olingo.odata2.api.edm.EdmFacets;
-import org.apache.olingo.odata2.api.edm.EdmSimpleTypeKind;
-
-/**
- * Objects of this class represent a simple property.
- * 
- */
-public class SimpleProperty extends Property {
-
-  private EdmSimpleTypeKind type;
-
-  /**
-   * @return {@link EdmSimpleTypeKind} of this property
-   */
-  public EdmSimpleTypeKind getType() {
-    return type;
-  }
-
-  /**
-   * Sets the {@link EdmSimpleTypeKind} for this {@link Property}.
-   * @param type
-   * @return {@link Property} for method chaining
-   */
-  public SimpleProperty setType(final EdmSimpleTypeKind type) {
-    this.type = type;
-    return this;
-  }
-
-  @Override
-  public SimpleProperty setName(final String name) {
-    super.setName(name);
-    return this;
-  }
-
-  @Override
-  public SimpleProperty setFacets(final EdmFacets facets) {
-    super.setFacets(facets);
-    return this;
-  }
-
-  @Override
-  public SimpleProperty setCustomizableFeedMappings(final CustomizableFeedMappings customizableFeedMappings) {
-    super.setCustomizableFeedMappings(customizableFeedMappings);
-    return this;
-  }
-
-  @Override
-  public SimpleProperty setMimeType(final String mimeType) {
-    super.setMimeType(mimeType);
-    return this;
-  }
-
-  @Override
-  public SimpleProperty setMapping(final Mapping mapping) {
-    super.setMapping(mapping);
-    return this;
-  }
-
-  @Override
-  public SimpleProperty setDocumentation(final Documentation documentation) {
-    super.setDocumentation(documentation);
-    return this;
-  }
-
-  @Override
-  public SimpleProperty setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    super.setAnnotationAttributes(annotationAttributes);
-    return this;
-  }
-
-  @Override
-  public SimpleProperty setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    super.setAnnotationElements(annotationElements);
-    return this;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Using.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Using.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Using.java
deleted file mode 100644
index 0fdaca6..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/Using.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-package org.apache.olingo.odata2.api.edm.provider;
-
-import java.util.Collection;
-import java.util.List;
-
-/**
- *  
- */
-public class Using {
-
-  private String namespace;
-  private String alias;
-  private Documentation documentation;
-  private List<AnnotationAttribute> annotationAttributes;
-  private List<AnnotationElement> annotationElements;
-
-  /**
-   * Sets the namespace for this {@link Using}
-   * @param namespace
-   * @return {@link Using} for method chaining
-   */
-  public Using setNamespace(final String namespace) {
-    this.namespace = namespace;
-    return this;
-  }
-
-  /**
-   * Sets the alias for this {@link Using}
-   * @param alias
-   * @return {@link Using} for method chaining
-   */
-  public Using setAlias(final String alias) {
-    this.alias = alias;
-    return this;
-  }
-
-  /**
-   * Sets the {@link Documentation} for this {@link Using}
-   * @param documentation
-   * @return {@link Using} for method chaining
-   */
-  public Using setDocumentation(final Documentation documentation) {
-    this.documentation = documentation;
-    return this;
-  }
-
-  /**
-   * Sets the collection of {@link AnnotationAttribute} for this {@link Using}
-   * @param annotationAttributes
-   * @return {@link Using} for method chaining
-   */
-  public Using setAnnotationAttributes(final List<AnnotationAttribute> annotationAttributes) {
-    this.annotationAttributes = annotationAttributes;
-    return this;
-  }
-
-  /**
-   * Sets the collection of {@link AnnotationElement} for this {@link Using}
-   * @param annotationElements
-   * @return {@link Using} for method chaining
-   */
-  public Using setAnnotationElements(final List<AnnotationElement> annotationElements) {
-    this.annotationElements = annotationElements;
-    return this;
-  }
-
-  /**
-   * @return <b>String</b> namespace
-   */
-  public String getNamespace() {
-    return namespace;
-  }
-
-  /**
-   * @return <b>String</b> alias
-   */
-  public String getAlias() {
-    return alias;
-  }
-
-  /**
-   * @return {@link Documentation} documentation
-   */
-  public Documentation getDocumentation() {
-    return documentation;
-  }
-
-  /**
-   * @return collection of {@link AnnotationAttribute} annotation attributes
-   */
-  public Collection<AnnotationAttribute> getAnnotationAttributes() {
-    return annotationAttributes;
-  }
-
-  /**
-   * @return collection of {@link AnnotationElement} annotation elements
-   */
-  public Collection<AnnotationElement> getAnnotationElements() {
-    return annotationElements;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/57599da6/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/package-info.java
----------------------------------------------------------------------
diff --git a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/package-info.java b/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/package-info.java
deleted file mode 100644
index 4f9614f..0000000
--- a/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/package-info.java
+++ /dev/null
@@ -1,290 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- ******************************************************************************/
-/**
- * Entity Data Model Provider API
- * <p>Classes in this package are used to provide an EDM to the library as well as to the application. To do this the
- * class {@link org.apache.olingo.odata2.api.edm.provider.EdmProvider} has to be implemented.</p>
- * <p>Inside the OData library we are using a lazy loading concept which means the EdmProvider is only called for an
- * element if it is needed. See some sample coding for an EdmProvider below</p>
- * <p>public class Provider extends EdmProvider {
- * <p>public static final String NAMESPACE_1 = "RefScenario";
- * <br/>public static final String NAMESPACE_2 = "RefScenario2";
- * <br/>private static final FullQualifiedName ENTITY_TYPE_1_1 = new FullQualifiedName(NAMESPACE_1, "Employee");
- * <br/>private static final FullQualifiedName ENTITY_TYPE_1_BASE = new FullQualifiedName(NAMESPACE_1, "Base");
- * <br/>private static final FullQualifiedName ENTITY_TYPE_1_4 = new FullQualifiedName(NAMESPACE_1, "Manager");
- * <br/>private static final FullQualifiedName ENTITY_TYPE_2_1 = new FullQualifiedName(NAMESPACE_2, "Photo");
- * <br/>private static final FullQualifiedName COMPLEX_TYPE_1 = new FullQualifiedName(NAMESPACE_1, "c_Location");
- * <br/>private static final FullQualifiedName COMPLEX_TYPE_2 = new FullQualifiedName(NAMESPACE_1, "c_City");
- * <br/>private static final FullQualifiedName ASSOCIATION_1_1 = new FullQualifiedName(NAMESPACE_1, "ManagerEmployees");
- * <br/>private static final String ROLE_1_1 = "r_Employees";
- * <br/>private static final String ROLE_1_4 = "r_Manager";
- * <br/>private static final String ENTITY_CONTAINER_1 = "Container1";
- * <br/>private static final String ENTITY_CONTAINER_2 = "Container2";
- * <br/>private static final String ENTITY_SET_1_1 = "Employees";
- * <br/>private static final String ENTITY_SET_1_4 = "Managers";
- * <br/>private static final String ENTITY_SET_2_1 = "Photos";
- * <br/>private static final String FUNCTION_IMPORT_1 = "EmployeeSearch";
- * <br/>private static final String FUNCTION_IMPORT_2 = "AllLocations";
- * </p>
- * <p>public List<Schema> getSchemas() throws ODataException {
- * <p>List<Schema> schemas = new ArrayList<Schema>();
- * <br/>Schema schema = new Schema();
- * <br/>schema.setNamespace(NAMESPACE_1);
- * 
- * <br/>List<EntityType> entityTypes = new ArrayList<EntityType>();
- * <br/>entityTypes.add(getEntityType(ENTITY_TYPE_1_1));
- * <br/>entityTypes.add(getEntityType(ENTITY_TYPE_1_4));
- * <br/>entityTypes.add(getEntityType(ENTITY_TYPE_1_BASE));
- * <br/>schema.setEntityTypes(entityTypes);
- * 
- * <br/>List<ComplexType> complexTypes = new ArrayList<ComplexType>();
- * <br/>complexTypes.add(getComplexType(COMPLEX_TYPE_1));
- * <br/>complexTypes.add(getComplexType(COMPLEX_TYPE_2));
- * <br/>schema.setComplexTypes(complexTypes);
- * 
- * <br/>List<Association> associations = new ArrayList<Association>();
- * <br/>associations.add(getAssociation(ASSOCIATION_1_1));
- * <br/>schema.setAssociations(associations);
- * 
- * <br/>EntityContainer entityContainer = new EntityContainer();
- * <br/>entityContainer.setName(ENTITY_CONTAINER_1).setDefaultEntityContainer(true);
- * 
- * <br/>List<EntitySet> entitySets = new ArrayList<EntitySet>();
- * <br/>entitySets.add(getEntitySet(ENTITY_CONTAINER_1, ENTITY_SET_1_1));
- * <br/>entitySets.add(getEntitySet(ENTITY_CONTAINER_1, ENTITY_SET_1_4));
- * <br/>entityContainer.setEntitySets(entitySets);
- * 
- * <br/>List<AssociationSet> associationSets = new ArrayList<AssociationSet>();
- * <br/>associationSets.add(getAssociationSet(ENTITY_CONTAINER_1, ASSOCIATION_1_1, ENTITY_SET_1_4, ROLE_1_4));
- * <br/>entityContainer.setAssociationSets(associationSets);
- * 
- * <br/>List<FunctionImport> functionImports = new ArrayList<FunctionImport>();
- * <br/>functionImports.add(getFunctionImport(ENTITY_CONTAINER_1, FUNCTION_IMPORT_1));
- * <br/>functionImports.add(getFunctionImport(ENTITY_CONTAINER_1, FUNCTION_IMPORT_2));
- * <br/>entityContainer.setFunctionImports(functionImports);
- * 
- * <br/>schema.setEntityContainers(Arrays.asList(entityContainer));
- * 
- * <br/>schemas.add(schema);
- * </p>
- * <p>schema = new Schema();
- * <br/>schema.setNamespace(NAMESPACE_2);
- * 
- * <br/>schema.setEntityTypes(Arrays.asList(getEntityType(ENTITY_TYPE_2_1)));
- * 
- * <br/>entityContainer = new EntityContainer();
- * <br/>entityContainer.setName(ENTITY_CONTAINER_2);
- * <br/>entityContainer.setEntitySets(Arrays.asList(getEntitySet(ENTITY_CONTAINER_2, ENTITY_SET_2_1)));
- * <br/>schema.setEntityContainers(Arrays.asList(entityContainer));
- * 
- * <br/>schemas.add(schema);
- * </p>
- * <p>return schemas;</p>
- * }
- * 
- * <p>public EntityType getEntityType(FullQualifiedName edmFQName) throws ODataException {
- * <p>if (NAMESPACE_1.equals(edmFQName.getNamespace())) {
- * <br/>if (ENTITY_TYPE_1_1.getName().equals(edmFQName.getName())) {
- * <br/>List<Property> properties = new ArrayList<Property>();
- * <br/>properties.add(new SimpleProperty().setName("EmployeeId").setType(EdmSimpleTypeKind.String)
- * .setFacets(new Facets().setNullable(false))
- * .setMapping(new Mapping().setInternalName("getId")));
- * <br/>properties.add(new SimpleProperty().setName("EmployeeName").setType(EdmSimpleTypeKind.String)
- * .setCustomizableFeedMappings(new CustomizableFeedMappings()
- * .setFcTargetPath(EdmTargetPath.SYNDICATION_TITLE)));
- * <br/>properties.add(new SimpleProperty().setName("ManagerId").setType(EdmSimpleTypeKind.String)
- * .setMapping(new Mapping().setInternalName("getManager.getId")));
- * <br/>properties.add(new SimpleProperty().setName("RoomId").setType(EdmSimpleTypeKind.String)
- * .setMapping(new Mapping().setInternalName("getRoom.getId")));
- * <br/>properties.add(new SimpleProperty().setName("TeamId").setType(EdmSimpleTypeKind.String)
- * .setFacets(new Facets().setMaxLength(2))
- * .setMapping(new Mapping().setInternalName("getTeam.getId")));
- * <br/>properties.add(new ComplexProperty().setName("Location").setType(COMPLEX_TYPE_1)
- * .setFacets(new Facets().setNullable(false)));
- * <br/>properties.add(new SimpleProperty().setName("Age").setType(EdmSimpleTypeKind.Int16));
- * <br/>properties.add(new SimpleProperty().setName("EntryDate").setType(EdmSimpleTypeKind.DateTime)
- * .setFacets(new Facets().setNullable(true))
- * .setCustomizableFeedMappings(new CustomizableFeedMappings()
- * .setFcTargetPath(EdmTargetPath.SYNDICATION_UPDATED)));
- * <br/>properties.add(new SimpleProperty().setName("ImageUrl").setType(EdmSimpleTypeKind.String)
- * .setMapping(new Mapping().setInternalName("getImageUri")));
- * <br/>List<NavigationProperty> navigationProperties = new ArrayList<NavigationProperty>();
- * <br/>navigationProperties.add(new NavigationProperty().setName("ne_Manager")
- * .setRelationship(ASSOCIATION_1_1).setFromRole(ROLE_1_1).setToRole(ROLE_1_4));
- * 
- * <br/>return new EntityType().setName(ENTITY_TYPE_1_1.getName())
- * .setProperties(properties)
- * .setHasStream(true)
- * .setKey(getKey("EmployeeId"))
- * .setNavigationProperties(navigationProperties)
- * .setMapping(new Mapping().setMimeType("getImageType"));
- * 
- * <p>} else if (ENTITY_TYPE_1_BASE.getName().equals(edmFQName.getName())) {
- * <br/>List<Property> properties = new ArrayList<Property>();
- * <br/>properties.add(new SimpleProperty().setName("Id").setType(EdmSimpleTypeKind.String)
- * .setFacets(new Facets().setNullable(false).setDefaultValue("1")));
- * <br/>properties.add(new SimpleProperty().setName("Name").setType(EdmSimpleTypeKind.String)
- * .setCustomizableFeedMappings(new CustomizableFeedMappings()
- * .setFcTargetPath(EdmTargetPath.SYNDICATION_TITLE)));
- * 
- * <br/>return new EntityType().setName(ENTITY_TYPE_1_BASE.getName())
- * .setAbstract(true)
- * .setProperties(properties)
- * .setKey(getKey("Id"));
- * 
- * <p>} else if (ENTITY_TYPE_1_4.getName().equals(edmFQName.getName())) {
- * <br/>List<NavigationProperty> navigationProperties = new ArrayList<NavigationProperty>();
- * <br/>navigationProperties.add(new NavigationProperty().setName("nm_Employees")
- * .setRelationship(ASSOCIATION_1_1).setFromRole(ROLE_1_4).setToRole(ROLE_1_1));
- * 
- * <br/>return new EntityType().setName(ENTITY_TYPE_1_4.getName())
- * .setBaseType(ENTITY_TYPE_1_1)
- * .setHasStream(true)
- * .setNavigationProperties(navigationProperties)
- * .setMapping(new Mapping().setMimeType("getImageType"));
- * 
- * <p>} else if (NAMESPACE_2.equals(edmFQName.getNamespace())) {
- * <br/>if (ENTITY_TYPE_2_1.getName().equals(edmFQName.getName())) {
- * <br/>List<Property> properties = new ArrayList<Property>();
- * <br/>properties.add(new SimpleProperty().setName("Id").setType(EdmSimpleTypeKind.Int32)
- * .setFacets(new Facets().setNullable(false).setConcurrencyMode(EdmConcurrencyMode.Fixed)));
- * <br/>properties.add(new SimpleProperty().setName("Name").setType(EdmSimpleTypeKind.String)
- * .setCustomizableFeedMappings(new CustomizableFeedMappings()
- * .setFcTargetPath(EdmTargetPath.SYNDICATION_TITLE)));
- * <br/>properties.add(new SimpleProperty().setName("Type").setType(EdmSimpleTypeKind.String)
- * .setFacets(new Facets().setNullable(false)));
- * <br/>properties.add(new SimpleProperty().setName("ImageUrl").setType(EdmSimpleTypeKind.String)
- * .setCustomizableFeedMappings(new CustomizableFeedMappings()
- * .setFcTargetPath(EdmTargetPath.SYNDICATION_AUTHORURI))
- * .setMapping(new Mapping().setInternalName("getImageUri")));
- * <br/>properties.add(new SimpleProperty().setName("Image").setType(EdmSimpleTypeKind.Binary)
- * .setMapping(new Mapping().setMimeType("getImageType")));
- * <br/>properties.add(new SimpleProperty().setName("BinaryData").setType(EdmSimpleTypeKind.Binary)
- * .setFacets(new Facets().setNullable(true))
- * .setMimeType("image/jpeg"));
- * <br/>properties.add(new SimpleProperty().setName("Содержание").setType(EdmSimpleTypeKind.String)
- * .setFacets(new Facets().setNullable(true))
- * .setCustomizableFeedMappings(new CustomizableFeedMappings()
- * .setFcKeepInContent(false)
- * .setFcNsPrefix("ру") // CYRILLIC SMALL LETTER ER + CYRILLIC SMALL LETTER U
- * .setFcNsUri("http://localhost")
- * .setFcTargetPath("Содержание"))
- * .setMapping(new Mapping().setInternalName("getContent")));
- * 
- * <br/>return new EntityType().setName(ENTITY_TYPE_2_1.getName())
- * .setProperties(properties)
- * .setHasStream(true)
- * .setKey(getKey("Id", "Type"))
- * .setMapping(new Mapping().setMimeType("getType"));
- * }
- * }
- * }
- * <p>return null;
- * }
- * 
- * <p>public ComplexType getComplexType(FullQualifiedName edmFQName) throws ODataException {
- * <br/>if (NAMESPACE_1.equals(edmFQName.getNamespace()))
- * <br/>if (COMPLEX_TYPE_1.getName().equals(edmFQName.getName())) {
- * <br/>List<Property> properties = new ArrayList<Property>();
- * <br/>properties.add(new ComplexProperty().setName("City").setType(COMPLEX_TYPE_2));
- * <br/>properties.add(new SimpleProperty().setName("Country").setType(EdmSimpleTypeKind.String));
- * <br/>return new ComplexType().setName(COMPLEX_TYPE_1.getName()).setProperties(properties);
- * 
- * } <br/>else if (COMPLEX_TYPE_2.getName().equals(edmFQName.getName())) {
- * <br/>List<Property> properties = new ArrayList<Property>();
- * <br/>properties.add(new SimpleProperty().setName("PostalCode").setType(EdmSimpleTypeKind.String));
- * <br/>properties.add(new SimpleProperty().setName("CityName").setType(EdmSimpleTypeKind.String));
- * <br/>return new ComplexType().setName(COMPLEX_TYPE_2.getName()).setProperties(properties);
- * }
- * 
- * <br/>return null;
- * }
- * 
- * <p>public Association getAssociation(FullQualifiedName edmFQName) throws ODataException {
- * <br/>if (NAMESPACE_1.equals(edmFQName.getNamespace())) {
- * <br/>if (ASSOCIATION_1_1.getName().equals(edmFQName.getName())) {
- * <br/>return new Association().setName(ASSOCIATION_1_1.getName())
- * .setEnd1(new AssociationEnd().setType(ENTITY_TYPE_1_1).setRole(ROLE_1_1).setMultiplicity(EdmMultiplicity.MANY))
- * .setEnd2(new AssociationEnd().setType(ENTITY_TYPE_1_4).setRole(ROLE_1_4).setMultiplicity(EdmMultiplicity.ONE));
- * }
- * }
- * <br/>return null;
- * }
- * 
- * <p>public EntityContainerInfo getEntityContainerInfo(String name) throws ODataException {
- * <br/>if (name == null || ENTITY_CONTAINER_1.equals(name)) {
- * <br/>return new EntityContainerInfo().setName(ENTITY_CONTAINER_1).setDefaultEntityContainer(true);
- * } <br/>else if (ENTITY_CONTAINER_2.equals(name)) {
- * <br/>return new EntityContainerInfo().setName(name).setDefaultEntityContainer(false);
- * }
- * <br/>return null;
- * }
- * 
- * <p>public EntitySet getEntitySet(String entityContainer, String name) throws ODataException {
- * <br/>if (ENTITY_CONTAINER_1.equals(entityContainer)) {
- * <br/>if (ENTITY_SET_1_1.equals(name)) {
- * <br/>return new EntitySet().setName(name).setEntityType(ENTITY_TYPE_1_1);
- * }
- * } <br/>else if (ENTITY_CONTAINER_2.equals(entityContainer)) {
- * <br/>if (ENTITY_SET_2_1.equals(name)) {
- * <br/>return new EntitySet().setName(name).setEntityType(ENTITY_TYPE_2_1);
- * }
- * }
- * <br/>return null;
- * }
- * 
- * <p>public FunctionImport getFunctionImport(String entityContainer, String name) throws ODataException {
- * <br/>if (ENTITY_CONTAINER_1.equals(entityContainer)) {
- * <br/>if (FUNCTION_IMPORT_1.equals(name)) {
- * <br/>List<FunctionImportParameter> parameters = new ArrayList<FunctionImportParameter>();
- * <br/>parameters.add(new FunctionImportParameter().setName("q").setType(EdmSimpleTypeKind.String)
- * .setFacets(new Facets().setNullable(true)));
- * <br/>return new FunctionImport().setName(name)
- * .setReturnType(new ReturnType().setTypeName(ENTITY_TYPE_1_1).setMultiplicity(EdmMultiplicity.MANY))
- * .setEntitySet(ENTITY_SET_1_1)
- * .setHttpMethod("GET")
- * .setParameters(parameters);
- * 
- * } <br/>else if (FUNCTION_IMPORT_2.equals(name)) {
- * <br/>return new FunctionImport().setName(name)
- * .setReturnType(new ReturnType().setTypeName(COMPLEX_TYPE_1).setMultiplicity(EdmMultiplicity.MANY))
- * .setHttpMethod("GET");
- * 
- * }
- * }
- * 
- * <br/>return null;
- * }
- * 
- * <p>public AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String
- * sourceEntitySetName, String sourceEntitySetRole) throws ODataException {
- * <br/>if (ENTITY_CONTAINER_1.equals(entityContainer))
- * <br/>if (ASSOCIATION_1_1.equals(association))
- * <br/>return new AssociationSet().setName(ASSOCIATION_1_1.getName())
- * .setAssociation(ASSOCIATION_1_1)
- * .setEnd1(new AssociationSetEnd().setRole(ROLE_1_4).setEntitySet(ENTITY_SET_1_4))
- * .setEnd2(new AssociationSetEnd().setRole(ROLE_1_1).setEntitySet(ENTITY_SET_1_1));
- * 
- * <br/>return null;
- * }
- * }
- * </p>
- */
-package org.apache.olingo.odata2.api.edm.provider;
-