diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/Configuration.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/Configuration.java similarity index 92% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/Configuration.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/Configuration.java index 6e690327b..20d1fa627 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/Configuration.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/Configuration.java @@ -16,16 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; + +import org.apache.olingo.client.api.format.ODataFormat; +import org.apache.olingo.client.api.format.ODataMediaFormat; +import org.apache.olingo.client.api.format.ODataPubFormat; +import org.apache.olingo.client.api.format.ODataValueFormat; +import org.apache.olingo.client.api.http.HttpClientFactory; +import org.apache.olingo.client.api.http.HttpUriRequestFactory; -import org.apache.olingo.odata4.client.api.http.HttpUriRequestFactory; -import org.apache.olingo.odata4.client.api.http.HttpClientFactory; import java.io.Serializable; import java.util.concurrent.ExecutorService; -import org.apache.olingo.odata4.client.api.format.ODataFormat; -import org.apache.olingo.odata4.client.api.format.ODataMediaFormat; -import org.apache.olingo.odata4.client.api.format.ODataPubFormat; -import org.apache.olingo.odata4.client.api.format.ODataValueFormat; /** * Configuration wrapper. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/Constants.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/Constants.java similarity index 99% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/Constants.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/Constants.java index 9345057c3..fd0570b32 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/Constants.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/Constants.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; import javax.xml.XMLConstants; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataClient.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataClient.java similarity index 75% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataClient.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/ODataClient.java index b13c86638..a63967daa 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataClient.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataClient.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; -import org.apache.olingo.odata4.client.api.op.ODataBinder; -import org.apache.olingo.odata4.client.api.op.ODataDeserializer; -import org.apache.olingo.odata4.client.api.op.ODataReader; -import org.apache.olingo.odata4.client.api.op.ODataSerializer; -import org.apache.olingo.odata4.client.api.uri.URIBuilder; -import org.apache.olingo.odata4.client.api.uri.filter.FilterFactory; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.api.op.ODataBinder; +import org.apache.olingo.client.api.op.ODataDeserializer; +import org.apache.olingo.client.api.op.ODataReader; +import org.apache.olingo.client.api.op.ODataSerializer; +import org.apache.olingo.client.api.uri.URIBuilder; +import org.apache.olingo.client.api.uri.filter.FilterFactory; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; public interface ODataClient { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataConstants.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataConstants.java similarity index 99% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataConstants.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/ODataConstants.java index 9c4b3ed57..84109d422 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataConstants.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataConstants.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; import javax.xml.XMLConstants; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataError.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataError.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataError.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/ODataError.java index 4e45cfd0e..ad0bd1fcc 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataError.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataError.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; /** * OData error. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataV3Client.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataV3Client.java similarity index 81% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataV3Client.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/ODataV3Client.java index ed2d413da..daaf6a429 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataV3Client.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataV3Client.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; -import org.apache.olingo.odata4.client.api.op.ODataV3Deserializer; -import org.apache.olingo.odata4.client.api.uri.V3URIBuilder; -import org.apache.olingo.odata4.client.api.uri.filter.V3FilterFactory; +import org.apache.olingo.client.api.op.ODataV3Deserializer; +import org.apache.olingo.client.api.uri.V3URIBuilder; +import org.apache.olingo.client.api.uri.filter.V3FilterFactory; public interface ODataV3Client extends ODataClient { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataV4Client.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataV4Client.java similarity index 81% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataV4Client.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/ODataV4Client.java index 1f493b368..b427cb307 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/ODataV4Client.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/ODataV4Client.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; -import org.apache.olingo.odata4.client.api.op.ODataV4Deserializer; -import org.apache.olingo.odata4.client.api.uri.V4URIBuilder; -import org.apache.olingo.odata4.client.api.uri.filter.V4FilterFactory; +import org.apache.olingo.client.api.op.ODataV4Deserializer; +import org.apache.olingo.client.api.uri.V4URIBuilder; +import org.apache.olingo.client.api.uri.filter.V4FilterFactory; public interface ODataV4Client extends ODataClient { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/UnsupportedInV3Exception.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/UnsupportedInV3Exception.java similarity index 90% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/UnsupportedInV3Exception.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/UnsupportedInV3Exception.java index 71dd6c205..8c29c2de1 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/UnsupportedInV3Exception.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/UnsupportedInV3Exception.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; -import org.apache.olingo.odata4.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmException; public class UnsupportedInV3Exception extends EdmException { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/V3Configuration.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/V3Configuration.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/V3Configuration.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/V3Configuration.java index c3917056e..b7f106556 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/V3Configuration.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/V3Configuration.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; public interface V3Configuration extends Configuration { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/V4Configuration.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/V4Configuration.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/V4Configuration.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/V4Configuration.java index 668b0aa38..ef6d4ab24 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/V4Configuration.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/V4Configuration.java @@ -17,7 +17,7 @@ * under the License. */ -package org.apache.olingo.odata4.client.api; +package org.apache.olingo.client.api; public interface V4Configuration extends Configuration { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/data/ServiceDocument.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/data/ServiceDocument.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/data/ServiceDocument.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/data/ServiceDocument.java index acd610330..d545567a6 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/data/ServiceDocument.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/data/ServiceDocument.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.data; +package org.apache.olingo.client.api.data; import java.net.URI; import java.util.List; @@ -24,7 +24,7 @@ import java.util.List; /** * REST resource for an ODataServiceDocument. * - * @see org.apache.olingo.odata4.client.api.domain.ODataServiceDocument + * @see org.apache.olingo.client.api.domain.ODataServiceDocument */ public interface ServiceDocument { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/data/ServiceDocumentItem.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/data/ServiceDocumentItem.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/data/ServiceDocumentItem.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/data/ServiceDocumentItem.java index 4f4bd77c2..684777123 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/data/ServiceDocumentItem.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/data/ServiceDocumentItem.java @@ -17,7 +17,7 @@ * under the License. */ -package org.apache.olingo.odata4.client.api.data; +package org.apache.olingo.client.api.data; public interface ServiceDocumentItem { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/AnnotationProperty.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/AnnotationProperty.java similarity index 93% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/AnnotationProperty.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/AnnotationProperty.java index 47f641d21..c9b9c861f 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/AnnotationProperty.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/AnnotationProperty.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; public interface AnnotationProperty extends Property { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/ClientException.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/ClientException.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/ClientException.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/ClientException.java index 04e07147f..94b74a326 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/ClientException.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/ClientException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; public class ClientException extends Exception { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/ComplexValue.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/ComplexValue.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/ComplexValue.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/ComplexValue.java index a9aa9a7d2..a72e4da30 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/ComplexValue.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/ComplexValue.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; import java.util.List; import java.util.Map; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Entity.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Entity.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Entity.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Entity.java index 7c15b9c3d..6e040f9e8 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Entity.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Entity.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; import java.util.List; import java.util.Map; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/EntitySet.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/EntitySet.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/EntitySet.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/EntitySet.java index e87382488..2422e3055 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/EntitySet.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/EntitySet.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/NavigationProperty.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/NavigationProperty.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/NavigationProperty.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/NavigationProperty.java index 418da20ce..8fc240e6e 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/NavigationProperty.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/NavigationProperty.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; public interface NavigationProperty extends Property { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Property.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Property.java similarity index 93% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Property.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Property.java index 45c063f69..eeb429f9b 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Property.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Property.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; public interface Property { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Reader.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Reader.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Reader.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Reader.java index af526bc98..01b2378fe 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Reader.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Reader.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; import java.io.InputStream; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/StructuralProperty.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/StructuralProperty.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/StructuralProperty.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/StructuralProperty.java index 3523dd823..e9470ac09 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/StructuralProperty.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/StructuralProperty.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Value.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Value.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Value.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Value.java index 70e23e96e..1a11ae424 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/deserializer/Value.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/deserializer/Value.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.deserializer; +package org.apache.olingo.client.api.deserializer; public interface Value { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/EdmSimpleType.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/EdmSimpleType.java similarity index 91% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/EdmSimpleType.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/EdmSimpleType.java index f99df2bab..92692a077 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/EdmSimpleType.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/EdmSimpleType.java @@ -16,20 +16,21 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.math.BigDecimal; import java.net.URI; import java.util.UUID; -import org.apache.olingo.odata4.client.api.domain.geospatial.Geospatial; -import org.apache.olingo.odata4.client.api.domain.geospatial.GeospatialCollection; -import org.apache.olingo.odata4.client.api.domain.geospatial.LineString; -import org.apache.olingo.odata4.client.api.domain.geospatial.MultiLineString; -import org.apache.olingo.odata4.client.api.domain.geospatial.MultiPoint; -import org.apache.olingo.odata4.client.api.domain.geospatial.MultiPolygon; -import org.apache.olingo.odata4.client.api.domain.geospatial.Point; -import org.apache.olingo.odata4.client.api.domain.geospatial.Polygon; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; + +import org.apache.olingo.client.api.domain.geospatial.Geospatial; +import org.apache.olingo.client.api.domain.geospatial.GeospatialCollection; +import org.apache.olingo.client.api.domain.geospatial.LineString; +import org.apache.olingo.client.api.domain.geospatial.MultiLineString; +import org.apache.olingo.client.api.domain.geospatial.MultiPoint; +import org.apache.olingo.client.api.domain.geospatial.MultiPolygon; +import org.apache.olingo.client.api.domain.geospatial.Point; +import org.apache.olingo.client.api.domain.geospatial.Polygon; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; /** * Represent the primitive types of the Entity Data Model (EDM). diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataCollectionValue.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataCollectionValue.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataCollectionValue.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataCollectionValue.java index 253083b20..afe46b761 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataCollectionValue.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataCollectionValue.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.util.ArrayList; import java.util.Iterator; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataComplexValue.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataComplexValue.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataComplexValue.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataComplexValue.java index 6bca821fb..2e15c8bbe 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataComplexValue.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataComplexValue.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.util.Iterator; import java.util.LinkedHashMap; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataDuration.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataDuration.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataDuration.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataDuration.java index 5a8a108c1..2d3b1b2ac 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataDuration.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataDuration.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.io.Serializable; import javax.xml.datatype.DatatypeConfigurationException; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataGeospatialValue.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataGeospatialValue.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataGeospatialValue.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataGeospatialValue.java index 2115b8a07..b25a213e1 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataGeospatialValue.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataGeospatialValue.java @@ -16,26 +16,28 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.io.StringWriter; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; + import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.ParserConfigurationException; -import org.apache.olingo.odata4.client.api.Constants; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.domain.geospatial.Geospatial; -import org.apache.olingo.odata4.client.api.domain.geospatial.GeospatialCollection; -import org.apache.olingo.odata4.client.api.domain.geospatial.LineString; -import org.apache.olingo.odata4.client.api.domain.geospatial.MultiLineString; -import org.apache.olingo.odata4.client.api.domain.geospatial.MultiPoint; -import org.apache.olingo.odata4.client.api.domain.geospatial.MultiPolygon; -import org.apache.olingo.odata4.client.api.domain.geospatial.Point; -import org.apache.olingo.odata4.client.api.domain.geospatial.Polygon; -import org.apache.olingo.odata4.client.api.utils.XMLUtils; + +import org.apache.olingo.client.api.Constants; +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.domain.geospatial.Geospatial; +import org.apache.olingo.client.api.domain.geospatial.GeospatialCollection; +import org.apache.olingo.client.api.domain.geospatial.LineString; +import org.apache.olingo.client.api.domain.geospatial.MultiLineString; +import org.apache.olingo.client.api.domain.geospatial.MultiPoint; +import org.apache.olingo.client.api.domain.geospatial.MultiPolygon; +import org.apache.olingo.client.api.domain.geospatial.Point; +import org.apache.olingo.client.api.domain.geospatial.Polygon; +import org.apache.olingo.client.api.utils.XMLUtils; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataInvokeResult.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataInvokeResult.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataInvokeResult.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataInvokeResult.java index f28e5dd68..c55dfe66b 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataInvokeResult.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataInvokeResult.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; /** * Marker interface for any OData domain object that can be returned by an operation invocation. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataPrimitiveValue.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataPrimitiveValue.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataPrimitiveValue.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataPrimitiveValue.java index 05da80a99..8a4b05dd0 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataPrimitiveValue.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataPrimitiveValue.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.math.BigDecimal; import java.net.URI; @@ -24,15 +24,17 @@ import java.sql.Timestamp; import java.text.DecimalFormat; import java.util.Date; import java.util.UUID; + import javax.xml.datatype.Duration; + import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; -import org.apache.olingo.odata4.client.api.domain.ODataDuration; -import org.apache.olingo.odata4.client.api.domain.ODataTimestamp; -import org.apache.olingo.odata4.client.api.domain.ODataValue; +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.domain.EdmSimpleType; +import org.apache.olingo.client.api.domain.ODataDuration; +import org.apache.olingo.client.api.domain.ODataTimestamp; +import org.apache.olingo.client.api.domain.ODataValue; /** * OData primitive property value. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataProperty.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataProperty.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataProperty.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataProperty.java index 5aa9acdbf..940b15c3a 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataProperty.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataProperty.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.io.Serializable; import org.apache.commons.lang3.builder.EqualsBuilder; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataServiceDocument.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataServiceDocument.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataServiceDocument.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataServiceDocument.java index f16852bb0..d0f495dd3 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataServiceDocument.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataServiceDocument.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.net.URI; import java.util.Collection; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataTimestamp.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataTimestamp.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataTimestamp.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataTimestamp.java index 32ef10e35..90edda712 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataTimestamp.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataTimestamp.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.io.Serializable; import java.sql.Timestamp; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataValue.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataValue.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataValue.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataValue.java index 2978ffaa4..e6b527919 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/ODataValue.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ODataValue.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain; +package org.apache.olingo.client.api.domain; import java.io.Serializable; import org.apache.commons.lang3.builder.EqualsBuilder; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/ComposedGeospatial.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/ComposedGeospatial.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/ComposedGeospatial.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/ComposedGeospatial.java index bdff17ce2..40b50ecad 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/ComposedGeospatial.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/ComposedGeospatial.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; import java.util.ArrayList; import java.util.Iterator; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Geospatial.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Geospatial.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Geospatial.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Geospatial.java index 47f830b93..4bec1b894 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Geospatial.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Geospatial.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; import java.io.Serializable; + import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; +import org.apache.olingo.client.api.domain.EdmSimpleType; /** * Base class for all geospatial info. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/GeospatialCollection.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/GeospatialCollection.java similarity index 92% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/GeospatialCollection.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/GeospatialCollection.java index 732d5a256..3626dccc5 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/GeospatialCollection.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/GeospatialCollection.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; import java.util.List; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; + +import org.apache.olingo.client.api.domain.EdmSimpleType; /** * Wrapper for a collection of geospatials info. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/LineString.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/LineString.java similarity index 91% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/LineString.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/LineString.java index 8b8c6ac5e..926c6051f 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/LineString.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/LineString.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; import java.util.List; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; + +import org.apache.olingo.client.api.domain.EdmSimpleType; public class LineString extends ComposedGeospatial { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiLineString.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiLineString.java similarity index 91% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiLineString.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiLineString.java index b849ecbae..774f5f094 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiLineString.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiLineString.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; import java.util.List; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; + +import org.apache.olingo.client.api.domain.EdmSimpleType; public class MultiLineString extends ComposedGeospatial { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiPoint.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiPoint.java similarity index 91% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiPoint.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiPoint.java index 6b68aea32..9acae5ed4 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiPoint.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiPoint.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; import java.util.List; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; + +import org.apache.olingo.client.api.domain.EdmSimpleType; public class MultiPoint extends ComposedGeospatial { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiPolygon.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiPolygon.java similarity index 91% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiPolygon.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiPolygon.java index a20286b73..3513ec610 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/MultiPolygon.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/MultiPolygon.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; import java.util.List; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; + +import org.apache.olingo.client.api.domain.EdmSimpleType; public class MultiPolygon extends ComposedGeospatial { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Point.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Point.java similarity index 93% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Point.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Point.java index 13948fb79..15f42a336 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Point.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Point.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; +import org.apache.olingo.client.api.domain.EdmSimpleType; public class Point extends Geospatial { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Polygon.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Polygon.java similarity index 93% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Polygon.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Polygon.java index 87159cbb4..2c0fcbdf0 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/domain/geospatial/Polygon.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/domain/geospatial/Polygon.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.domain.geospatial; +package org.apache.olingo.client.api.domain.geospatial; import java.util.List; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; + +import org.apache.olingo.client.api.domain.EdmSimpleType; /** * Polygon. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonAnnotations.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonAnnotations.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonAnnotations.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonAnnotations.java index ddee303d4..b79328f0a 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonAnnotations.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonAnnotations.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public abstract interface CommonAnnotations { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonFunctionImport.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonFunctionImport.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonFunctionImport.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonFunctionImport.java index dcbd3259e..c59038764 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonFunctionImport.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonFunctionImport.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface CommonFunctionImport extends Named { } diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonNavigationProperty.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonNavigationProperty.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonNavigationProperty.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonNavigationProperty.java index 9e6dd99fe..20eb9deef 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonNavigationProperty.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonNavigationProperty.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface CommonNavigationProperty extends Named { } diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonParameter.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonParameter.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonParameter.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonParameter.java index 30aef72ba..ec96dc0ba 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonParameter.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonParameter.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface CommonParameter extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonProperty.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonProperty.java similarity index 85% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonProperty.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonProperty.java index 7f51af77b..28688abc5 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/CommonProperty.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/CommonProperty.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; -import org.apache.olingo.odata4.commons.api.edm.constants.ConcurrencyMode; -import org.apache.olingo.odata4.commons.api.edm.constants.StoreGeneratedPattern; +import org.apache.olingo.commons.api.edm.constants.ConcurrencyMode; +import org.apache.olingo.commons.api.edm.constants.StoreGeneratedPattern; public interface CommonProperty extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/ComplexType.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/ComplexType.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/ComplexType.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/ComplexType.java index 0c67599bc..9e85e221d 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/ComplexType.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/ComplexType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/DataServices.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/DataServices.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/DataServices.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/DataServices.java index f05c3529d..961f69c0a 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/DataServices.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/DataServices.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Edmx.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Edmx.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Edmx.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Edmx.java index 0ab3d7a08..ee495c2a3 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Edmx.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Edmx.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface Edmx { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityContainer.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityContainer.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityContainer.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityContainer.java index 53f7e0984..b748c5f84 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityContainer.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityContainer.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityKey.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityKey.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityKey.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityKey.java index cc3ab6e15..c1c43ec58 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityKey.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityKey.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntitySet.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntitySet.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntitySet.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntitySet.java index 380729436..3dea8b43c 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntitySet.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntitySet.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface EntitySet extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityType.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityType.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityType.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityType.java index d2e3c6d8e..a413edf23 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EntityType.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EntityType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface EntityType extends ComplexType { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EnumType.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EnumType.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EnumType.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EnumType.java index 8e2628aa9..318dc17cb 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/EnumType.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/EnumType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Member.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Member.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Member.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Member.java index d6292c96b..0cb9b7479 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Member.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Member.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface Member { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Named.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Named.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Named.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Named.java index 00a0e313f..bf7d602e0 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Named.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Named.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/OnDelete.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/OnDelete.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/OnDelete.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/OnDelete.java index 7f4897935..7ebbfb395 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/OnDelete.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/OnDelete.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface OnDelete { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/OnDeleteAction.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/OnDeleteAction.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/OnDeleteAction.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/OnDeleteAction.java index 347970777..b8daec045 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/OnDeleteAction.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/OnDeleteAction.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public enum OnDeleteAction { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/PropertyRef.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/PropertyRef.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/PropertyRef.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/PropertyRef.java index 49f043074..8de4a2273 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/PropertyRef.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/PropertyRef.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; public interface PropertyRef extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Schema.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Schema.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Schema.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Schema.java index 42dc70185..cee0c9ace 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/Schema.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/Schema.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/XMLMetadata.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/XMLMetadata.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/XMLMetadata.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/XMLMetadata.java index 235021414..bcb597349 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/XMLMetadata.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/XMLMetadata.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml; +package org.apache.olingo.client.api.edm.xml; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Annotations.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Annotations.java similarity index 88% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Annotations.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Annotations.java index 03bdbe777..55ee38e64 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Annotations.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Annotations.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.CommonAnnotations; + +import org.apache.olingo.client.api.edm.xml.CommonAnnotations; public interface Annotations extends CommonAnnotations { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Association.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Association.java similarity index 89% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Association.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Association.java index d30612579..5c5320137 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Association.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Association.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.Named; + +import org.apache.olingo.client.api.edm.xml.Named; public interface Association extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationEnd.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationEnd.java similarity index 88% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationEnd.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationEnd.java index 1f249a885..88cd78e2c 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationEnd.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationEnd.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; -import org.apache.olingo.odata4.client.api.edm.xml.OnDelete; +import org.apache.olingo.client.api.edm.xml.OnDelete; public interface AssociationEnd { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationSet.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationSet.java similarity index 89% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationSet.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationSet.java index 5963a0c4d..a6b4b44b3 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationSet.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationSet.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.Named; + +import org.apache.olingo.client.api.edm.xml.Named; public interface AssociationSet extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationSetEnd.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationSetEnd.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationSetEnd.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationSetEnd.java index 891ba6ce4..2db89cca4 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/AssociationSetEnd.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/AssociationSetEnd.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; public interface AssociationSetEnd { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/FunctionImport.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/FunctionImport.java similarity index 87% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/FunctionImport.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/FunctionImport.java index ccc733e50..212507b9a 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/FunctionImport.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/FunctionImport.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; import java.util.List; -public interface FunctionImport extends org.apache.olingo.odata4.client.api.edm.xml.CommonFunctionImport { +public interface FunctionImport extends org.apache.olingo.client.api.edm.xml.CommonFunctionImport { String getReturnType(); diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/NavigationProperty.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/NavigationProperty.java similarity index 83% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/NavigationProperty.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/NavigationProperty.java index f1f5ce0b3..d7ef556df 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/NavigationProperty.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/NavigationProperty.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; -public interface NavigationProperty extends org.apache.olingo.odata4.client.api.edm.xml.CommonNavigationProperty { +public interface NavigationProperty extends org.apache.olingo.client.api.edm.xml.CommonNavigationProperty { String getRelationship(); diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Parameter.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Parameter.java similarity index 84% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Parameter.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Parameter.java index 8fcbc4b06..a5f5c88a5 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Parameter.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Parameter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; -public interface Parameter extends org.apache.olingo.odata4.client.api.edm.xml.CommonParameter { +public interface Parameter extends org.apache.olingo.client.api.edm.xml.CommonParameter { ParameterMode getMode(); } diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ParameterMode.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ParameterMode.java similarity index 93% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ParameterMode.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ParameterMode.java index ab05fee6d..a9710a1ac 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ParameterMode.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ParameterMode.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; public enum ParameterMode { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Property.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Property.java similarity index 84% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Property.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Property.java index 950e562bb..c254f9abe 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Property.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Property.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; -import org.apache.olingo.odata4.client.api.edm.xml.CommonProperty; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmContentKind; +import org.apache.olingo.client.api.edm.xml.CommonProperty; +import org.apache.olingo.commons.api.edm.constants.EdmContentKind; public interface Property extends CommonProperty { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/PropertyValue.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/PropertyValue.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/PropertyValue.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/PropertyValue.java index 08fcb5cc1..96ce4bebe 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/PropertyValue.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/PropertyValue.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; import java.math.BigDecimal; import java.math.BigInteger; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ReferentialConstraint.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ReferentialConstraint.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ReferentialConstraint.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ReferentialConstraint.java index 6448304e2..bbb2574cc 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ReferentialConstraint.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ReferentialConstraint.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; public interface ReferentialConstraint { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ReferentialConstraintRole.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ReferentialConstraintRole.java similarity index 88% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ReferentialConstraintRole.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ReferentialConstraintRole.java index a47eb5808..f5a76dcdb 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ReferentialConstraintRole.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ReferentialConstraintRole.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.PropertyRef; + +import org.apache.olingo.client.api.edm.xml.PropertyRef; public interface ReferentialConstraintRole { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/TypeAnnotation.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/TypeAnnotation.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/TypeAnnotation.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/TypeAnnotation.java index 5b4792cc1..26a847519 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/TypeAnnotation.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/TypeAnnotation.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Using.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Using.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Using.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Using.java index db6918986..aa9dc775f 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/Using.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/Using.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; public interface Using { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ValueAnnotation.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ValueAnnotation.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ValueAnnotation.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ValueAnnotation.java index 9f779ef14..d6f8d71ce 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ValueAnnotation.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ValueAnnotation.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; import java.math.BigDecimal; import java.math.BigInteger; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ValueTerm.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ValueTerm.java similarity index 88% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ValueTerm.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ValueTerm.java index 918008640..09b9a81b6 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v3/ValueTerm.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v3/ValueTerm.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v3; +package org.apache.olingo.client.api.edm.xml.v3; -import org.apache.olingo.odata4.client.api.edm.xml.Named; +import org.apache.olingo.client.api.edm.xml.Named; public interface ValueTerm extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Action.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Action.java similarity index 90% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Action.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Action.java index 5fb82d1c6..1591c5fd0 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Action.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Action.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.Named; + +import org.apache.olingo.client.api.edm.xml.Named; public interface Action extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ActionImport.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ActionImport.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ActionImport.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ActionImport.java index 5338737e9..3cf9713a2 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ActionImport.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ActionImport.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public interface ActionImport extends OperationImport { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/AnnotatedEdmItem.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/AnnotatedEdmItem.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/AnnotatedEdmItem.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/AnnotatedEdmItem.java index 484a83032..e48862931 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/AnnotatedEdmItem.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/AnnotatedEdmItem.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public interface AnnotatedEdmItem { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Annotation.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Annotation.java similarity index 81% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Annotation.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Annotation.java index b7e237f75..b70e729de 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Annotation.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Annotation.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ConstExprConstruct; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.DynExprConstruct; +import org.apache.olingo.client.api.edm.xml.v4.annotation.ConstExprConstruct; +import org.apache.olingo.client.api.edm.xml.v4.annotation.DynExprConstruct; public interface Annotation { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Annotations.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Annotations.java similarity index 88% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Annotations.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Annotations.java index 2f3e0aaba..fc481a220 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Annotations.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Annotations.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.CommonAnnotations; + +import org.apache.olingo.client.api.edm.xml.CommonAnnotations; public interface Annotations extends CommonAnnotations { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/BindingTarget.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/BindingTarget.java similarity index 89% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/BindingTarget.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/BindingTarget.java index 10f60070d..f4d8491cf 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/BindingTarget.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/BindingTarget.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.Named; + +import org.apache.olingo.client.api.edm.xml.Named; public interface BindingTarget extends Named, AnnotatedEdmItem { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/CSDLElement.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/CSDLElement.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/CSDLElement.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/CSDLElement.java index aec1c9073..18489e7a3 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/CSDLElement.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/CSDLElement.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public enum CSDLElement { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ComplexType.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ComplexType.java similarity index 87% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ComplexType.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ComplexType.java index 7515ce970..bc939114f 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ComplexType.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ComplexType.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -public interface ComplexType extends org.apache.olingo.odata4.client.api.edm.xml.ComplexType, AnnotatedEdmItem { +public interface ComplexType extends org.apache.olingo.client.api.edm.xml.ComplexType, AnnotatedEdmItem { boolean isAbstractEntityType(); diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Edmx.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Edmx.java similarity index 86% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Edmx.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Edmx.java index 2f2f60995..aa3eb5cce 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Edmx.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Edmx.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -public interface Edmx extends org.apache.olingo.odata4.client.api.edm.xml.Edmx { +public interface Edmx extends org.apache.olingo.client.api.edm.xml.Edmx { List getReferences(); } diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntityContainer.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntityContainer.java similarity index 88% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntityContainer.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntityContainer.java index 6ed084647..a12cc4790 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntityContainer.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntityContainer.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -public interface EntityContainer extends org.apache.olingo.odata4.client.api.edm.xml.EntityContainer { +public interface EntityContainer extends org.apache.olingo.client.api.edm.xml.EntityContainer { EntitySet getEntitySet(String name); diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntitySet.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntitySet.java similarity index 84% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntitySet.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntitySet.java index b44bee28a..c72c2778d 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntitySet.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntitySet.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; -public interface EntitySet extends org.apache.olingo.odata4.client.api.edm.xml.EntitySet, BindingTarget { +public interface EntitySet extends org.apache.olingo.client.api.edm.xml.EntitySet, BindingTarget { boolean isIncludeInServiceDocument(); } diff --git a/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntityType.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntityType.java new file mode 100644 index 000000000..132c82b6a --- /dev/null +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/EntityType.java @@ -0,0 +1,23 @@ +/* + * 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.client.api.edm.xml.v4; + +public interface EntityType extends org.apache.olingo.client.api.edm.xml.EntityType, ComplexType { + +} diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Function.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Function.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Function.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Function.java index 7662a2a0f..e097c6bce 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Function.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Function.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public interface Function extends Action { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/FunctionImport.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/FunctionImport.java similarity index 88% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/FunctionImport.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/FunctionImport.java index bae6a10bc..fa1b8dc4b 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/FunctionImport.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/FunctionImport.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; -import org.apache.olingo.odata4.client.api.edm.xml.CommonFunctionImport; +import org.apache.olingo.client.api.edm.xml.CommonFunctionImport; public interface FunctionImport extends OperationImport, CommonFunctionImport { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Include.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Include.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Include.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Include.java index e75f58992..96708e4b1 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Include.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Include.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public interface Include { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/IncludeAnnotations.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/IncludeAnnotations.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/IncludeAnnotations.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/IncludeAnnotations.java index 0f25c3500..b200ee963 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/IncludeAnnotations.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/IncludeAnnotations.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public interface IncludeAnnotations { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/NavigationProperty.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/NavigationProperty.java similarity index 82% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/NavigationProperty.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/NavigationProperty.java index d8d028de8..e0885fe8c 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/NavigationProperty.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/NavigationProperty.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; + +import org.apache.olingo.client.api.edm.xml.OnDelete; -import org.apache.olingo.odata4.client.api.edm.xml.OnDelete; import java.util.List; public interface NavigationProperty - extends org.apache.olingo.odata4.client.api.edm.xml.CommonNavigationProperty, AnnotatedEdmItem { + extends org.apache.olingo.client.api.edm.xml.CommonNavigationProperty, AnnotatedEdmItem { String getType(); diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/NavigationPropertyBinding.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/NavigationPropertyBinding.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/NavigationPropertyBinding.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/NavigationPropertyBinding.java index 6a4d46027..35d76f8f4 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/NavigationPropertyBinding.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/NavigationPropertyBinding.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public interface NavigationPropertyBinding { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/OperationImport.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/OperationImport.java similarity index 89% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/OperationImport.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/OperationImport.java index cf86bd423..292df861b 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/OperationImport.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/OperationImport.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; -import org.apache.olingo.odata4.client.api.edm.xml.Named; +import org.apache.olingo.client.api.edm.xml.Named; public interface OperationImport extends Named, AnnotatedEdmItem { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Parameter.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Parameter.java similarity index 84% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Parameter.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Parameter.java index 3a96af3fb..0b8b975de 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Parameter.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Parameter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; -public interface Parameter extends org.apache.olingo.odata4.client.api.edm.xml.CommonParameter { +public interface Parameter extends org.apache.olingo.client.api.edm.xml.CommonParameter { String getSrid(); } diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Property.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Property.java similarity index 87% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Property.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Property.java index feb8197d4..20d909a38 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Property.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Property.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; -import org.apache.olingo.odata4.client.api.edm.xml.CommonProperty; +import org.apache.olingo.client.api.edm.xml.CommonProperty; public interface Property extends CommonProperty, AnnotatedEdmItem { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Reference.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Reference.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Reference.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Reference.java index 79f76e2b3..d9f2f6b49 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Reference.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Reference.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.net.URI; import java.util.List; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ReferentialConstraint.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ReferentialConstraint.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ReferentialConstraint.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ReferentialConstraint.java index f0063d211..98c64c576 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ReferentialConstraint.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ReferentialConstraint.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public interface ReferentialConstraint { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ReturnType.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ReturnType.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ReturnType.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ReturnType.java index 0157dc40d..6ace4fe1b 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/ReturnType.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/ReturnType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; public interface ReturnType { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Schema.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Schema.java similarity index 90% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Schema.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Schema.java index bfccae29c..961b27e1f 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Schema.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Schema.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -public interface Schema extends org.apache.olingo.odata4.client.api.edm.xml.Schema, AnnotatedEdmItem { +public interface Schema extends org.apache.olingo.client.api.edm.xml.Schema, AnnotatedEdmItem { @Override List getEntityContainers(); diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Singleton.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Singleton.java similarity index 88% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Singleton.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Singleton.java index 1bc6135bd..b1df8f4b4 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Singleton.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Singleton.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; -import org.apache.olingo.odata4.client.api.edm.xml.EntitySet; +import org.apache.olingo.client.api.edm.xml.EntitySet; public interface Singleton extends EntitySet, BindingTarget { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Term.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Term.java similarity index 90% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Term.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Term.java index 86e6a3ffb..59cdd2930 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/Term.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/Term.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.Named; + +import org.apache.olingo.client.api.edm.xml.Named; public interface Term extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/TypeDefinition.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/TypeDefinition.java similarity index 90% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/TypeDefinition.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/TypeDefinition.java index 424a502e3..568c7376d 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/TypeDefinition.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/TypeDefinition.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.Named; + +import org.apache.olingo.client.api.edm.xml.Named; public interface TypeDefinition extends Named { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/XMLMetadata.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/XMLMetadata.java similarity index 86% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/XMLMetadata.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/XMLMetadata.java index 5b8d85163..f3b619eda 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/XMLMetadata.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/XMLMetadata.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4; +package org.apache.olingo.client.api.edm.xml.v4; import java.util.List; -public interface XMLMetadata extends org.apache.olingo.odata4.client.api.edm.xml.XMLMetadata { +public interface XMLMetadata extends org.apache.olingo.client.api.edm.xml.XMLMetadata { @Override List getSchemas(); diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/ConstExprConstruct.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/ConstExprConstruct.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/ConstExprConstruct.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/ConstExprConstruct.java index 7d374fd35..e51b9e36c 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/ConstExprConstruct.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/ConstExprConstruct.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4.annotation; +package org.apache.olingo.client.api.edm.xml.v4.annotation; public interface ConstExprConstruct extends ExprConstruct { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/DynExprConstruct.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/DynExprConstruct.java similarity index 92% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/DynExprConstruct.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/DynExprConstruct.java index 14c4b68c4..5baffa6f0 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/DynExprConstruct.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/DynExprConstruct.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4.annotation; +package org.apache.olingo.client.api.edm.xml.v4.annotation; public interface DynExprConstruct extends ExprConstruct { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/ExprConstruct.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/ExprConstruct.java similarity index 92% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/ExprConstruct.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/ExprConstruct.java index 7a3e6f2bd..4de83a7ce 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/annotation/ExprConstruct.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/edm/xml/v4/annotation/ExprConstruct.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.edm.xml.v4.annotation; +package org.apache.olingo.client.api.edm.xml.v4.annotation; public interface ExprConstruct { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataFormat.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataFormat.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataFormat.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataFormat.java index 939c5a0bb..b7928e9cc 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataFormat.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataFormat.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.format; +package org.apache.olingo.client.api.format; import org.apache.http.entity.ContentType; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataMediaFormat.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataMediaFormat.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataMediaFormat.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataMediaFormat.java index 415c66982..353edc440 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataMediaFormat.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataMediaFormat.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.format; +package org.apache.olingo.client.api.format; import org.apache.http.entity.ContentType; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataPubFormat.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataPubFormat.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataPubFormat.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataPubFormat.java index 10ef838e4..2a89fd73f 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataPubFormat.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataPubFormat.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.format; +package org.apache.olingo.client.api.format; import org.apache.http.entity.ContentType; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataValueFormat.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataValueFormat.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataValueFormat.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataValueFormat.java index b4db6a3a4..b04ce7d4b 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/format/ODataValueFormat.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/format/ODataValueFormat.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.format; +package org.apache.olingo.client.api.format; import org.apache.http.entity.ContentType; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpClientException.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpClientException.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpClientException.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpClientException.java index 926105917..12e432bac 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpClientException.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpClientException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.http; +package org.apache.olingo.client.api.http; /** * A client-side processing runtime exception. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpClientFactory.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpClientFactory.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpClientFactory.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpClientFactory.java index e73f1b44d..367ef0179 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpClientFactory.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpClientFactory.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.http; +package org.apache.olingo.client.api.http; import java.net.URI; import org.apache.http.client.HttpClient; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpMethod.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpMethod.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpMethod.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpMethod.java index 266b52bc5..df3f06a21 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpMethod.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpMethod.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.http; +package org.apache.olingo.client.api.http; /** * Supported HTTP methods. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpUriRequestFactory.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpUriRequestFactory.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpUriRequestFactory.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpUriRequestFactory.java index c36e26a69..1687045c8 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/HttpUriRequestFactory.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/HttpUriRequestFactory.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.http; +package org.apache.olingo.client.api.http; import java.net.URI; import org.apache.http.client.methods.HttpUriRequest; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/NoContentException.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/NoContentException.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/NoContentException.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/http/NoContentException.java index e202234e0..4daf92df4 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/http/NoContentException.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/http/NoContentException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.http; +package org.apache.olingo.client.api.http; import org.apache.http.HttpStatus; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataBinder.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataBinder.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataBinder.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataBinder.java index 646865050..94044f97a 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataBinder.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataBinder.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.op; +package org.apache.olingo.client.api.op; import java.io.Serializable; -import org.apache.olingo.odata4.client.api.data.ServiceDocument; -import org.apache.olingo.odata4.client.api.domain.ODataServiceDocument; + +import org.apache.olingo.client.api.data.ServiceDocument; +import org.apache.olingo.client.api.domain.ODataServiceDocument; public interface ODataBinder extends Serializable { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataDeserializer.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataDeserializer.java similarity index 92% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataDeserializer.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataDeserializer.java index 047983df1..81e2b6b31 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataDeserializer.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataDeserializer.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.op; +package org.apache.olingo.client.api.op; import java.io.InputStream; import java.io.Serializable; -import org.apache.olingo.odata4.client.api.data.ServiceDocument; -import org.apache.olingo.odata4.client.api.edm.xml.XMLMetadata; -import org.apache.olingo.odata4.client.api.format.ODataFormat; + +import org.apache.olingo.client.api.data.ServiceDocument; +import org.apache.olingo.client.api.edm.xml.XMLMetadata; +import org.apache.olingo.client.api.format.ODataFormat; import org.w3c.dom.Element; /** diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataReader.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataReader.java similarity index 93% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataReader.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataReader.java index 1686c9120..d8ef18d3e 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataReader.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataReader.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.op; +package org.apache.olingo.client.api.op; import java.io.InputStream; import java.io.Serializable; -import org.apache.olingo.odata4.client.api.domain.ODataServiceDocument; -import org.apache.olingo.odata4.client.api.format.ODataFormat; -import org.apache.olingo.odata4.commons.api.edm.Edm; + +import org.apache.olingo.client.api.domain.ODataServiceDocument; +import org.apache.olingo.client.api.format.ODataFormat; +import org.apache.olingo.commons.api.edm.Edm; /** * OData reader. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataSerializer.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataSerializer.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataSerializer.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataSerializer.java index 61c3d6817..94c168fb1 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataSerializer.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataSerializer.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.op; +package org.apache.olingo.client.api.op; import java.io.OutputStream; import java.io.Serializable; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataV3Deserializer.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataV3Deserializer.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataV3Deserializer.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataV3Deserializer.java index 0b9edc976..aeb84a193 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataV3Deserializer.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataV3Deserializer.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.op; +package org.apache.olingo.client.api.op; public interface ODataV3Deserializer extends ODataDeserializer { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataV4Deserializer.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataV4Deserializer.java similarity index 89% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataV4Deserializer.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataV4Deserializer.java index 5d54130b4..c782cd544 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/op/ODataV4Deserializer.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/op/ODataV4Deserializer.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.op; +package org.apache.olingo.client.api.op; import java.io.InputStream; -import org.apache.olingo.odata4.client.api.edm.xml.v4.XMLMetadata; + +import org.apache.olingo.client.api.edm.xml.v4.XMLMetadata; public interface ODataV4Deserializer extends ODataDeserializer { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/QueryOption.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/QueryOption.java similarity index 98% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/QueryOption.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/QueryOption.java index 544a71ac5..c871f9b3e 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/QueryOption.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/QueryOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri; +package org.apache.olingo.client.api.uri; /** * Query options. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/SegmentType.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/SegmentType.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/SegmentType.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/SegmentType.java index e3121b9f8..a3e5a1577 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/SegmentType.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/SegmentType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri; +package org.apache.olingo.client.api.uri; import org.apache.commons.lang3.StringUtils; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/URIBuilder.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/URIBuilder.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/URIBuilder.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/URIBuilder.java index bf23b7dd8..cfb041ba4 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/URIBuilder.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/URIBuilder.java @@ -16,9 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri; +package org.apache.olingo.client.api.uri; + +import org.apache.olingo.client.api.uri.filter.URIFilter; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; import java.net.URI; import java.util.Map; @@ -156,7 +157,7 @@ public interface URIBuilder> { * @return current URIBuilder instance * @see QueryOption#FILTER * @see URIFilter - * @see org.apache.olingo.odata4.client.api.uri.filter.FilterFactory + * @see org.apache.olingo.client.api.uri.filter.FilterFactory */ UB filter(URIFilter filter); diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/V3URIBuilder.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/V3URIBuilder.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/V3URIBuilder.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/V3URIBuilder.java index ad0dfe4ad..7d4059b45 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/V3URIBuilder.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/V3URIBuilder.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri; +package org.apache.olingo.client.api.uri; public interface V3URIBuilder extends URIBuilder { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/V4URIBuilder.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/V4URIBuilder.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/V4URIBuilder.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/V4URIBuilder.java index c8658465a..d98beb36e 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/V4URIBuilder.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/V4URIBuilder.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri; +package org.apache.olingo.client.api.uri; public interface V4URIBuilder extends URIBuilder { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterArg.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterArg.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterArg.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterArg.java index 453a26474..10ab250e8 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterArg.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterArg.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri.filter; +package org.apache.olingo.client.api.uri.filter; /** * Interface for any available filter argument. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterArgFactory.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterArgFactory.java similarity index 97% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterArgFactory.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterArgFactory.java index 0db93e71c..f9fad7450 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterArgFactory.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterArgFactory.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri.filter; +package org.apache.olingo.client.api.uri.filter; public interface FilterArgFactory { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterFactory.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterFactory.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterFactory.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterFactory.java index 7cab18544..0782daa8d 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/FilterFactory.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/FilterFactory.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri.filter; +package org.apache.olingo.client.api.uri.filter; import java.io.Serializable; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/URIFilter.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/URIFilter.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/URIFilter.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/URIFilter.java index 41c3410d4..0e0737fad 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/URIFilter.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/URIFilter.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri.filter; +package org.apache.olingo.client.api.uri.filter; /** * Interface for any available filter; obtain instances via FilterFactory. diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V3FilterArgFactory.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V3FilterArgFactory.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V3FilterArgFactory.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V3FilterArgFactory.java index f12a9706e..04554f513 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V3FilterArgFactory.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V3FilterArgFactory.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri.filter; +package org.apache.olingo.client.api.uri.filter; public interface V3FilterArgFactory extends FilterArgFactory { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V3FilterFactory.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V3FilterFactory.java similarity index 94% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V3FilterFactory.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V3FilterFactory.java index 66e7cc521..7571c9842 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V3FilterFactory.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V3FilterFactory.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri.filter; +package org.apache.olingo.client.api.uri.filter; public interface V3FilterFactory extends FilterFactory { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V4FilterArgFactory.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V4FilterArgFactory.java similarity index 96% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V4FilterArgFactory.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V4FilterArgFactory.java index acf9c5cb8..b7bca85ee 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V4FilterArgFactory.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V4FilterArgFactory.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri.filter; +package org.apache.olingo.client.api.uri.filter; public interface V4FilterArgFactory extends FilterArgFactory { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V4FilterFactory.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V4FilterFactory.java similarity index 90% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V4FilterFactory.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V4FilterFactory.java index 03287748e..3050de28d 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/uri/filter/V4FilterFactory.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/uri/filter/V4FilterFactory.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.uri.filter; +package org.apache.olingo.client.api.uri.filter; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmEnumType; public interface V4FilterFactory extends FilterFactory { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/utils/EdmTypeInfo.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/utils/EdmTypeInfo.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/utils/EdmTypeInfo.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/utils/EdmTypeInfo.java index 33dd46874..518461494 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/utils/EdmTypeInfo.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/utils/EdmTypeInfo.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.utils; +package org.apache.olingo.client.api.utils; import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class EdmTypeInfo { diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/utils/XMLUtils.java b/lib/client-api/src/main/java/org/apache/olingo/client/api/utils/XMLUtils.java similarity index 95% rename from lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/utils/XMLUtils.java rename to lib/client-api/src/main/java/org/apache/olingo/client/api/utils/XMLUtils.java index e1d580a78..8880d1500 100644 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/utils/XMLUtils.java +++ b/lib/client-api/src/main/java/org/apache/olingo/client/api/utils/XMLUtils.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.api.utils; +package org.apache.olingo.client.api.utils; import java.util.ArrayList; import java.util.List; + import javax.xml.parsers.DocumentBuilderFactory; + import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.Constants; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; -import org.apache.olingo.odata4.client.api.domain.geospatial.Geospatial; +import org.apache.olingo.client.api.Constants; +import org.apache.olingo.client.api.domain.EdmSimpleType; +import org.apache.olingo.client.api.domain.geospatial.Geospatial; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; diff --git a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntityType.java b/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntityType.java deleted file mode 100644 index cf736e1f2..000000000 --- a/lib/client-api/src/main/java/org/apache/olingo/odata4/client/api/edm/xml/v4/EntityType.java +++ /dev/null @@ -1,23 +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.odata4.client.api.edm.xml.v4; - -public interface EntityType extends org.apache.olingo.odata4.client.api.edm.xml.EntityType, ComplexType { - -} diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/AbstractConfiguration.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/AbstractConfiguration.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/AbstractConfiguration.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/AbstractConfiguration.java index 787107b55..78d0e9e29 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/AbstractConfiguration.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/AbstractConfiguration.java @@ -16,21 +16,22 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; -import org.apache.olingo.odata4.client.api.Configuration; -import org.apache.olingo.odata4.client.api.http.HttpClientFactory; -import org.apache.olingo.odata4.client.api.http.HttpUriRequestFactory; -import org.apache.olingo.odata4.client.api.format.ODataFormat; -import org.apache.olingo.odata4.client.api.format.ODataMediaFormat; -import org.apache.olingo.odata4.client.api.format.ODataPubFormat; -import org.apache.olingo.odata4.client.api.format.ODataValueFormat; -import org.apache.olingo.odata4.client.core.http.DefaultHttpClientFactory; -import org.apache.olingo.odata4.client.core.http.DefaultHttpUriRequestFactory; + +import org.apache.olingo.client.api.Configuration; +import org.apache.olingo.client.api.format.ODataFormat; +import org.apache.olingo.client.api.format.ODataMediaFormat; +import org.apache.olingo.client.api.format.ODataPubFormat; +import org.apache.olingo.client.api.format.ODataValueFormat; +import org.apache.olingo.client.api.http.HttpClientFactory; +import org.apache.olingo.client.api.http.HttpUriRequestFactory; +import org.apache.olingo.client.core.http.DefaultHttpClientFactory; +import org.apache.olingo.client.core.http.DefaultHttpUriRequestFactory; public abstract class AbstractConfiguration implements Configuration { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/AbstractODataClient.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/AbstractODataClient.java similarity index 82% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/AbstractODataClient.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/AbstractODataClient.java index 47adcaa60..35bb38507 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/AbstractODataClient.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/AbstractODataClient.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.domain.ODataGeospatialValue; -import org.apache.olingo.odata4.client.api.domain.ODataPrimitiveValue; +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.domain.ODataGeospatialValue; +import org.apache.olingo.client.api.domain.ODataPrimitiveValue; abstract class AbstractODataClient implements ODataClient { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataClientFactory.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/ODataClientFactory.java similarity index 87% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataClientFactory.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/ODataClientFactory.java index 484222000..f45b72526 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataClientFactory.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/ODataClientFactory.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; -import org.apache.olingo.odata4.client.api.ODataV3Client; -import org.apache.olingo.odata4.client.api.ODataV4Client; +import org.apache.olingo.client.api.ODataV3Client; +import org.apache.olingo.client.api.ODataV4Client; public final class ODataClientFactory { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataV3ClientImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/ODataV3ClientImpl.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataV3ClientImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/ODataV3ClientImpl.java index 8c61eb96a..70ed75a66 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataV3ClientImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/ODataV3ClientImpl.java @@ -16,23 +16,23 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; -import org.apache.olingo.odata4.client.api.ODataV3Client; -import org.apache.olingo.odata4.client.api.V3Configuration; -import org.apache.olingo.odata4.client.api.op.ODataBinder; -import org.apache.olingo.odata4.client.api.op.ODataReader; -import org.apache.olingo.odata4.client.api.op.ODataSerializer; -import org.apache.olingo.odata4.client.api.op.ODataV3Deserializer; -import org.apache.olingo.odata4.client.api.uri.V3URIBuilder; -import org.apache.olingo.odata4.client.api.uri.filter.V3FilterFactory; -import org.apache.olingo.odata4.client.core.op.impl.ODataV3BinderImpl; -import org.apache.olingo.odata4.client.core.op.impl.ODataV3DeserializerImpl; -import org.apache.olingo.odata4.client.core.op.impl.ODataV3ReaderImpl; -import org.apache.olingo.odata4.client.core.op.impl.ODataV3SerializerImpl; -import org.apache.olingo.odata4.client.core.uri.V3URIBuilderImpl; -import org.apache.olingo.odata4.client.core.uri.filter.V3FilterFactoryImpl; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.api.ODataV3Client; +import org.apache.olingo.client.api.V3Configuration; +import org.apache.olingo.client.api.op.ODataBinder; +import org.apache.olingo.client.api.op.ODataReader; +import org.apache.olingo.client.api.op.ODataSerializer; +import org.apache.olingo.client.api.op.ODataV3Deserializer; +import org.apache.olingo.client.api.uri.V3URIBuilder; +import org.apache.olingo.client.api.uri.filter.V3FilterFactory; +import org.apache.olingo.client.core.op.impl.ODataV3BinderImpl; +import org.apache.olingo.client.core.op.impl.ODataV3DeserializerImpl; +import org.apache.olingo.client.core.op.impl.ODataV3ReaderImpl; +import org.apache.olingo.client.core.op.impl.ODataV3SerializerImpl; +import org.apache.olingo.client.core.uri.V3URIBuilderImpl; +import org.apache.olingo.client.core.uri.filter.V3FilterFactoryImpl; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; public class ODataV3ClientImpl extends AbstractODataClient implements ODataV3Client { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataV4ClientImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/ODataV4ClientImpl.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataV4ClientImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/ODataV4ClientImpl.java index 6d1c03472..c3c5e14dc 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/ODataV4ClientImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/ODataV4ClientImpl.java @@ -16,23 +16,23 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; -import org.apache.olingo.odata4.client.api.ODataV4Client; -import org.apache.olingo.odata4.client.api.V4Configuration; -import org.apache.olingo.odata4.client.api.op.ODataBinder; -import org.apache.olingo.odata4.client.api.op.ODataReader; -import org.apache.olingo.odata4.client.api.op.ODataSerializer; -import org.apache.olingo.odata4.client.api.op.ODataV4Deserializer; -import org.apache.olingo.odata4.client.api.uri.V4URIBuilder; -import org.apache.olingo.odata4.client.api.uri.filter.V4FilterFactory; -import org.apache.olingo.odata4.client.core.op.impl.ODataV4BinderImpl; -import org.apache.olingo.odata4.client.core.op.impl.ODataV4DeserializerImpl; -import org.apache.olingo.odata4.client.core.op.impl.ODataV4ReaderImpl; -import org.apache.olingo.odata4.client.core.op.impl.ODataV4SerializerImpl; -import org.apache.olingo.odata4.client.core.uri.V4URIBuilderImpl; -import org.apache.olingo.odata4.client.core.uri.filter.V4FilterFactoryImpl; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.api.ODataV4Client; +import org.apache.olingo.client.api.V4Configuration; +import org.apache.olingo.client.api.op.ODataBinder; +import org.apache.olingo.client.api.op.ODataReader; +import org.apache.olingo.client.api.op.ODataSerializer; +import org.apache.olingo.client.api.op.ODataV4Deserializer; +import org.apache.olingo.client.api.uri.V4URIBuilder; +import org.apache.olingo.client.api.uri.filter.V4FilterFactory; +import org.apache.olingo.client.core.op.impl.ODataV4BinderImpl; +import org.apache.olingo.client.core.op.impl.ODataV4DeserializerImpl; +import org.apache.olingo.client.core.op.impl.ODataV4ReaderImpl; +import org.apache.olingo.client.core.op.impl.ODataV4SerializerImpl; +import org.apache.olingo.client.core.uri.V4URIBuilderImpl; +import org.apache.olingo.client.core.uri.filter.V4FilterFactoryImpl; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; public class ODataV4ClientImpl extends AbstractODataClient implements ODataV4Client { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/V3ConfigurationImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/V3ConfigurationImpl.java similarity index 95% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/V3ConfigurationImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/V3ConfigurationImpl.java index e84fdd1ea..384479471 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/V3ConfigurationImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/V3ConfigurationImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; -import org.apache.olingo.odata4.client.api.V3Configuration; +import org.apache.olingo.client.api.V3Configuration; public class V3ConfigurationImpl extends AbstractConfiguration implements V3Configuration { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/V4ConfigurationImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/V4ConfigurationImpl.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/V4ConfigurationImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/V4ConfigurationImpl.java index f5f870cb5..11c579ed8 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/V4ConfigurationImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/V4ConfigurationImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; -import org.apache.olingo.odata4.client.api.V4Configuration; +import org.apache.olingo.client.api.V4Configuration; public class V4ConfigurationImpl extends AbstractConfiguration implements V4Configuration { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/AbstractServiceDocument.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/AbstractServiceDocument.java similarity index 95% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/AbstractServiceDocument.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/data/AbstractServiceDocument.java index c841b4046..57ba0efd7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/AbstractServiceDocument.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/AbstractServiceDocument.java @@ -16,17 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.data; +package org.apache.olingo.client.core.data; import java.util.ArrayList; import java.util.Collections; import java.util.List; + import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; -import org.apache.olingo.odata4.client.api.data.ServiceDocument; -import org.apache.olingo.odata4.client.api.data.ServiceDocumentItem; +import org.apache.olingo.client.api.data.ServiceDocument; +import org.apache.olingo.client.api.data.ServiceDocumentItem; public abstract class AbstractServiceDocument implements ServiceDocument { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/JSONServiceDocumentDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/JSONServiceDocumentDeserializer.java similarity index 78% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/JSONServiceDocumentDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/data/JSONServiceDocumentDeserializer.java index 33b4bdff8..10f5664da 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/JSONServiceDocumentDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/JSONServiceDocumentDeserializer.java @@ -16,18 +16,20 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.data; +package org.apache.olingo.client.core.data; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; + import java.io.IOException; import java.util.Iterator; + import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.ODataConstants; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.api.ODataConstants; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; public class JSONServiceDocumentDeserializer extends ODataJacksonDeserializer { @@ -38,19 +40,19 @@ public class JSONServiceDocumentDeserializer extends ODataJacksonDeserializer extends JsonDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/ODataJacksonSerializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/ODataJacksonSerializer.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/ODataJacksonSerializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/data/ODataJacksonSerializer.java index 4e44277c9..7802116c8 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/ODataJacksonSerializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/ODataJacksonSerializer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.data; +package org.apache.olingo.client.core.data; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; + import java.io.IOException; -import org.apache.olingo.odata4.client.api.ODataClient; + +import org.apache.olingo.client.api.ODataClient; abstract class ODataJacksonSerializer extends JsonSerializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/ServiceDocumentItemImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/ServiceDocumentItemImpl.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/ServiceDocumentItemImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/data/ServiceDocumentItemImpl.java index 3d4610a26..57d584046 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/ServiceDocumentItemImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/ServiceDocumentItemImpl.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.data; +package org.apache.olingo.client.core.data; import com.fasterxml.jackson.annotation.JsonProperty; + import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; -import org.apache.olingo.odata4.client.api.data.ServiceDocumentItem; +import org.apache.olingo.client.api.data.ServiceDocumentItem; public class ServiceDocumentItemImpl implements ServiceDocumentItem { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/XMLServiceDocumentDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/XMLServiceDocumentDeserializer.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/XMLServiceDocumentDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/data/XMLServiceDocumentDeserializer.java index 749a42077..da2017f35 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/data/XMLServiceDocumentDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/data/XMLServiceDocumentDeserializer.java @@ -16,17 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.data; +package org.apache.olingo.client.core.data; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser; + import java.io.IOException; import java.net.URI; -import org.apache.olingo.odata4.client.api.data.ServiceDocument; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; + +import org.apache.olingo.client.api.data.ServiceDocument; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; public class XMLServiceDocumentDeserializer extends ODataJacksonDeserializer { @@ -68,8 +70,8 @@ public class XMLServiceDocumentDeserializer extends ODataJacksonDeserializer actionImportInfos; public static EdmServiceMetadata getInstance(final XMLMetadata xmlMetadata) { - return xmlMetadata instanceof org.apache.olingo.odata4.client.core.edm.xml.v3.XMLMetadataImpl - ? new org.apache.olingo.odata4.client.core.edm.v3.EdmServiceMetadataImpl( - (org.apache.olingo.odata4.client.core.edm.xml.v3.XMLMetadataImpl) xmlMetadata) - : new org.apache.olingo.odata4.client.core.edm.v4.EdmServiceMetadataImpl( - (org.apache.olingo.odata4.client.core.edm.xml.v4.XMLMetadataImpl) xmlMetadata); + return xmlMetadata instanceof org.apache.olingo.client.core.edm.xml.v3.XMLMetadataImpl + ? new org.apache.olingo.client.core.edm.v3.EdmServiceMetadataImpl( + (org.apache.olingo.client.core.edm.xml.v3.XMLMetadataImpl) xmlMetadata) + : new org.apache.olingo.client.core.edm.v4.EdmServiceMetadataImpl( + (org.apache.olingo.client.core.edm.xml.v4.XMLMetadataImpl) xmlMetadata); } diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmActionImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmActionImpl.java similarity index 77% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmActionImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmActionImpl.java index 8cf1eedf4..acbfce969 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmActionImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmActionImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Action; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.client.api.edm.xml.v4.Action; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public class EdmActionImpl extends EdmOperationImpl implements EdmAction { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmActionImportImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmActionImportImpl.java similarity index 76% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmActionImportImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmActionImportImpl.java index 1af0f47d7..ad1fb6804 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmActionImportImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmActionImportImpl.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ActionImport; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.client.api.edm.xml.v4.ActionImport; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; public class EdmActionImportImpl extends EdmOperationImportImpl implements EdmActionImport { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmBindingTargetImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmBindingTargetImpl.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmBindingTargetImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmBindingTargetImpl.java index fd4c66ad5..6f1990e01 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmBindingTargetImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmBindingTargetImpl.java @@ -16,19 +16,20 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; import java.util.Iterator; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.BindingTarget; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationPropertyBinding; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmBindingTarget; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.Target; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmBindingTarget; + +import org.apache.olingo.client.api.edm.xml.v4.BindingTarget; +import org.apache.olingo.client.api.edm.xml.v4.NavigationPropertyBinding; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmBindingTarget; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Target; +import org.apache.olingo.commons.core.edm.AbstractEdmBindingTarget; public abstract class EdmBindingTargetImpl extends AbstractEdmBindingTarget { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmClientImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmClientImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmClientImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmClientImpl.java index 905a310cd..332e673f4 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmClientImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmClientImpl.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; import java.util.HashMap; import java.util.HashSet; @@ -24,37 +24,38 @@ import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; + import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; -import org.apache.olingo.odata4.client.api.edm.xml.CommonParameter; -import org.apache.olingo.odata4.client.api.edm.xml.EnumType; -import org.apache.olingo.odata4.client.api.edm.xml.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.XMLMetadata; -import org.apache.olingo.odata4.client.api.edm.xml.ComplexType; -import org.apache.olingo.odata4.client.api.edm.xml.EntityType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.TypeDefinition; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.client.api.UnsupportedInV3Exception; -import org.apache.olingo.odata4.client.api.edm.xml.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Action; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Function; -import org.apache.olingo.odata4.client.core.edm.v3.EdmActionProxy; -import org.apache.olingo.odata4.client.core.edm.v3.EdmFunctionProxy; -import org.apache.olingo.odata4.client.core.edm.v3.V3FunctionImportUtils; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmServiceMetadata; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmImpl; +import org.apache.olingo.client.api.UnsupportedInV3Exception; +import org.apache.olingo.client.api.edm.xml.CommonParameter; +import org.apache.olingo.client.api.edm.xml.ComplexType; +import org.apache.olingo.client.api.edm.xml.EntityContainer; +import org.apache.olingo.client.api.edm.xml.EntityType; +import org.apache.olingo.client.api.edm.xml.EnumType; +import org.apache.olingo.client.api.edm.xml.Schema; +import org.apache.olingo.client.api.edm.xml.XMLMetadata; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.edm.xml.v4.Action; +import org.apache.olingo.client.api.edm.xml.v4.Function; +import org.apache.olingo.client.api.edm.xml.v4.TypeDefinition; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.client.core.edm.v3.EdmActionProxy; +import org.apache.olingo.client.core.edm.v3.EdmFunctionProxy; +import org.apache.olingo.client.core.edm.v3.V3FunctionImportUtils; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmServiceMetadata; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmImpl; public class EdmClientImpl extends AbstractEdmImpl { @@ -125,8 +126,8 @@ public class EdmClientImpl extends AbstractEdmImpl { EdmTypeDefinition result = null; final Schema schema = xmlMetadata.getSchema(typeDefinitionName.getNamespace()); - if (schema instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) { - final TypeDefinition xmlTypeDefinition = ((org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) schema). + if (schema instanceof org.apache.olingo.client.api.edm.xml.v4.Schema) { + final TypeDefinition xmlTypeDefinition = ((org.apache.olingo.client.api.edm.xml.v4.Schema) schema). getTypeDefinition(typeDefinitionName.getName()); if (xmlTypeDefinition != null) { result = new EdmTypeDefinitionImpl(this, typeDefinitionName, xmlTypeDefinition); @@ -169,8 +170,8 @@ public class EdmClientImpl extends AbstractEdmImpl { EdmAction result = null; final Schema schema = xmlMetadata.getSchema(actionName.getNamespace()); - if (schema instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) { - final List actions = ((org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) schema). + if (schema instanceof org.apache.olingo.client.api.edm.xml.v4.Schema) { + final List actions = ((org.apache.olingo.client.api.edm.xml.v4.Schema) schema). getActions(actionName.getName()); boolean found = false; for (final Iterator itor = actions.iterator(); itor.hasNext() && !found;) { @@ -204,8 +205,8 @@ public class EdmClientImpl extends AbstractEdmImpl { EdmFunction result = null; final Schema schema = xmlMetadata.getSchema(functionName.getNamespace()); - if (schema instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) { - final List functions = ((org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) schema). + if (schema instanceof org.apache.olingo.client.api.edm.xml.v4.Schema) { + final List functions = ((org.apache.olingo.client.api.edm.xml.v4.Schema) schema). getFunctions(functionName.getName()); boolean found = false; for (final Iterator itor = functions.iterator(); itor.hasNext() && !found;) { @@ -253,8 +254,8 @@ public class EdmClientImpl extends AbstractEdmImpl { EdmAction result = null; final Schema schema = xmlMetadata.getSchema(actionName.getNamespace()); - if (schema instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) { - final List actions = ((org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) schema). + if (schema instanceof org.apache.olingo.client.api.edm.xml.v4.Schema) { + final List actions = ((org.apache.olingo.client.api.edm.xml.v4.Schema) schema). getActions(actionName.getName()); boolean found = false; for (final Iterator itor = actions.iterator(); itor.hasNext() && !found;) { @@ -301,8 +302,8 @@ public class EdmClientImpl extends AbstractEdmImpl { EdmFunction result = null; final Schema schema = xmlMetadata.getSchema(functionName.getNamespace()); - if (schema instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) { - final List functions = ((org.apache.olingo.odata4.client.api.edm.xml.v4.Schema) schema). + if (schema instanceof org.apache.olingo.client.api.edm.xml.v4.Schema) { + final List functions = ((org.apache.olingo.client.api.edm.xml.v4.Schema) schema). getFunctions(functionName.getName()); boolean found = false; for (final Iterator itor = functions.iterator(); itor.hasNext() && !found;) { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmComplexTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmComplexTypeImpl.java similarity index 71% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmComplexTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmComplexTypeImpl.java index b10bf799d..7f126f97f 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmComplexTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmComplexTypeImpl.java @@ -16,17 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; import java.util.Map; -import org.apache.olingo.odata4.client.api.edm.xml.ComplexType; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmComplexType; -import org.apache.olingo.odata4.commons.core.edm.EdmStructuredTypeHelper; + +import org.apache.olingo.client.api.edm.xml.ComplexType; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmComplexType; +import org.apache.olingo.commons.core.edm.EdmStructuredTypeHelper; public class EdmComplexTypeImpl extends AbstractEdmComplexType { @@ -36,8 +37,8 @@ public class EdmComplexTypeImpl extends AbstractEdmComplexType { final ComplexType complexType) { FullQualifiedName baseTypeName = null; - if (complexType instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.ComplexType) { - final String baseType = ((org.apache.olingo.odata4.client.api.edm.xml.v4.ComplexType) complexType).getBaseType(); + if (complexType instanceof org.apache.olingo.client.api.edm.xml.v4.ComplexType) { + final String baseType = ((org.apache.olingo.client.api.edm.xml.v4.ComplexType) complexType).getBaseType(); baseTypeName = baseType == null ? null : new EdmTypeInfo(baseType).getFullQualifiedName(); } diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntityContainerImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntityContainerImpl.java similarity index 62% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntityContainerImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntityContainerImpl.java index 9cde1b11f..fdbbed2a6 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntityContainerImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntityContainerImpl.java @@ -16,28 +16,28 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ActionImport; -import org.apache.olingo.odata4.client.api.edm.xml.EntitySet; -import org.apache.olingo.odata4.client.api.edm.xml.CommonFunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Singleton; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.client.api.UnsupportedInV3Exception; -import org.apache.olingo.odata4.client.api.edm.xml.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.XMLMetadata; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.core.edm.v3.EdmActionImportProxy; -import org.apache.olingo.odata4.client.core.edm.v3.EdmEntitySetProxy; -import org.apache.olingo.odata4.client.core.edm.v3.EdmFunctionImportProxy; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmEntityContainer; +import org.apache.olingo.client.api.UnsupportedInV3Exception; +import org.apache.olingo.client.api.edm.xml.CommonFunctionImport; +import org.apache.olingo.client.api.edm.xml.EntityContainer; +import org.apache.olingo.client.api.edm.xml.EntitySet; +import org.apache.olingo.client.api.edm.xml.XMLMetadata; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.edm.xml.v4.ActionImport; +import org.apache.olingo.client.api.edm.xml.v4.Singleton; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.client.core.edm.v3.EdmActionImportProxy; +import org.apache.olingo.client.core.edm.v3.EdmEntitySetProxy; +import org.apache.olingo.client.core.edm.v3.EdmFunctionImportProxy; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmEntityContainer; public class EdmEntityContainerImpl extends AbstractEdmEntityContainer { @@ -56,11 +56,11 @@ public class EdmEntityContainerImpl extends AbstractEdmEntityContainer { @Override protected EdmSingleton createSingleton(final String singletonName) { - if (!(xmlEntityContainer instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.EntityContainer)) { + if (!(xmlEntityContainer instanceof org.apache.olingo.client.api.edm.xml.v4.EntityContainer)) { throw new UnsupportedInV3Exception(); } - final Singleton singleton = ((org.apache.olingo.odata4.client.api.edm.xml.v4.EntityContainer) xmlEntityContainer). + final Singleton singleton = ((org.apache.olingo.client.api.edm.xml.v4.EntityContainer) xmlEntityContainer). getSingleton(singletonName); if (singleton == null) { throw new EdmException("Singleton named '" + singletonName + "' not found in " + entityContainerName); @@ -77,10 +77,10 @@ public class EdmEntityContainerImpl extends AbstractEdmEntityContainer { throw new EdmException("EntitySet named '" + entitySetName + "' not found in " + entityContainerName); } - if (entitySet instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.EntitySet) { + if (entitySet instanceof org.apache.olingo.client.api.edm.xml.v4.EntitySet) { return new EdmEntitySetImpl(edm, this, entitySetName, new EdmTypeInfo(entitySet.getEntityType(), entityContainerName.getNamespace()).getFullQualifiedName(), - (org.apache.olingo.odata4.client.api.edm.xml.v4.EntitySet) entitySet); + (org.apache.olingo.client.api.edm.xml.v4.EntitySet) entitySet); } else { return new EdmEntitySetProxy(edm, this, entitySetName, new EdmTypeInfo(entitySet.getEntityType(), entityContainerName.getNamespace()).getFullQualifiedName(), @@ -90,9 +90,9 @@ public class EdmEntityContainerImpl extends AbstractEdmEntityContainer { @Override protected EdmActionImport createActionImport(final String actionImportName) { - if (xmlEntityContainer instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.EntityContainer) { + if (xmlEntityContainer instanceof org.apache.olingo.client.api.edm.xml.v4.EntityContainer) { final ActionImport actionImport - = ((org.apache.olingo.odata4.client.api.edm.xml.v4.EntityContainer) xmlEntityContainer). + = ((org.apache.olingo.client.api.edm.xml.v4.EntityContainer) xmlEntityContainer). getActionImport(actionImportName); if (actionImport == null) { throw new EdmException("ActionImport named '" + actionImportName + "' not found in " + entityContainerName); @@ -114,12 +114,12 @@ public class EdmEntityContainerImpl extends AbstractEdmEntityContainer { throw new EdmException("FunctionImport named '" + functionImportName + "' not found in " + entityContainerName); } - if (functionImport instanceof org.apache.olingo.odata4.client.api.edm.xml.v4.FunctionImport) { + if (functionImport instanceof org.apache.olingo.client.api.edm.xml.v4.FunctionImport) { return new EdmFunctionImportImpl(edm, this, functionImportName, - (org.apache.olingo.odata4.client.api.edm.xml.v4.FunctionImport) functionImport); + (org.apache.olingo.client.api.edm.xml.v4.FunctionImport) functionImport); } else { return new EdmFunctionImportProxy(edm, this, functionImportName, - (org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport) functionImport); + (org.apache.olingo.client.api.edm.xml.v3.FunctionImport) functionImport); } } } diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntitySetImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntitySetImpl.java similarity index 75% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntitySetImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntitySetImpl.java index 669e431c9..3708a45f7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntitySetImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntitySetImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntitySet; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.client.api.edm.xml.v4.EntitySet; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class EdmEntitySetImpl extends EdmBindingTargetImpl implements EdmEntitySet { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntityTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntityTypeImpl.java similarity index 76% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntityTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntityTypeImpl.java index f94807d5b..218c5cbbf 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEntityTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEntityTypeImpl.java @@ -16,22 +16,23 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; import java.util.ArrayList; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.client.api.edm.xml.PropertyRef; -import org.apache.olingo.odata4.client.api.edm.xml.EntityType; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmKeyPropertyRef; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmEntityType; -import org.apache.olingo.odata4.commons.core.edm.EdmStructuredTypeHelper; + +import org.apache.olingo.client.api.edm.xml.EntityType; +import org.apache.olingo.client.api.edm.xml.PropertyRef; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmKeyPropertyRef; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmEntityType; +import org.apache.olingo.commons.core.edm.EdmStructuredTypeHelper; public class EdmEntityTypeImpl extends AbstractEdmEntityType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEnumTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEnumTypeImpl.java similarity index 78% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEnumTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEnumTypeImpl.java index 6d090aba0..326080223 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmEnumTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmEnumTypeImpl.java @@ -16,24 +16,25 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; + +import org.apache.olingo.client.api.edm.xml.EnumType; +import org.apache.olingo.client.api.edm.xml.Member; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmMember; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmEnumType; +import org.apache.olingo.commons.core.edm.EdmMemberImpl; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.commons.core.edm.EdmMemberImpl; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.client.api.edm.xml.EnumType; -import org.apache.olingo.odata4.client.api.edm.xml.Member; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmMember; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmEnumType; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; public class EdmEnumTypeImpl extends AbstractEdmEnumType implements EdmEnumType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmFunctionImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmFunctionImpl.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmFunctionImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmFunctionImpl.java index aa83cb350..d2831fcc3 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmFunctionImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmFunctionImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Function; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.client.api.edm.xml.v4.Function; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public class EdmFunctionImpl extends EdmOperationImpl implements EdmFunction { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmFunctionImportImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmFunctionImportImpl.java similarity index 77% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmFunctionImportImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmFunctionImportImpl.java index 8a7ef6d09..d3004cb89 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmFunctionImportImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmFunctionImportImpl.java @@ -16,15 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.FunctionImport; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; + +import org.apache.olingo.client.api.edm.xml.v4.FunctionImport; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; public class EdmFunctionImportImpl extends EdmOperationImportImpl implements EdmFunctionImport { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmKeyPropertyRefImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmKeyPropertyRefImpl.java similarity index 84% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmKeyPropertyRefImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmKeyPropertyRefImpl.java index 0264c281d..a44b4c536 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmKeyPropertyRefImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmKeyPropertyRefImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.PropertyRef; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmKeyPropertyRef; +import org.apache.olingo.client.api.edm.xml.PropertyRef; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.core.edm.AbstractEdmKeyPropertyRef; public class EdmKeyPropertyRefImpl extends AbstractEdmKeyPropertyRef { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmNavigationPropertyImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmNavigationPropertyImpl.java similarity index 82% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmNavigationPropertyImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmNavigationPropertyImpl.java index 9d7991469..cab0297ec 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmNavigationPropertyImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmNavigationPropertyImpl.java @@ -16,15 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ReferentialConstraint; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmNavigationProperty; + +import org.apache.olingo.client.api.edm.xml.v4.NavigationProperty; +import org.apache.olingo.client.api.edm.xml.v4.ReferentialConstraint; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmNavigationProperty; public class EdmNavigationPropertyImpl extends AbstractEdmNavigationProperty { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmOperationImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmOperationImpl.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmOperationImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmOperationImpl.java index 0fac59c93..67f9e94a0 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmOperationImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmOperationImpl.java @@ -16,17 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.CommonParameter; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Action; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmParameter; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmOperation; + +import org.apache.olingo.client.api.edm.xml.CommonParameter; +import org.apache.olingo.client.api.edm.xml.v4.Action; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmParameter; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.AbstractEdmOperation; public abstract class EdmOperationImpl extends AbstractEdmOperation { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmOperationImportImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmOperationImportImpl.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmOperationImportImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmOperationImportImpl.java index d73b8fbf7..9f7aadf08 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmOperationImportImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmOperationImportImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.Target; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmOperationImport; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.Target; +import org.apache.olingo.commons.core.edm.AbstractEdmOperationImport; public abstract class EdmOperationImportImpl extends AbstractEdmOperationImport { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmParameterImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmParameterImpl.java similarity index 84% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmParameterImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmParameterImpl.java index 9b3beb48a..33dfad397 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmParameterImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmParameterImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.CommonParameter; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmMapping; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmParameter; +import org.apache.olingo.client.api.edm.xml.CommonParameter; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmMapping; +import org.apache.olingo.commons.core.edm.AbstractEdmParameter; public class EdmParameterImpl extends AbstractEdmParameter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmPropertyImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmPropertyImpl.java similarity index 81% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmPropertyImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmPropertyImpl.java index 20ffb2c74..399b34466 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmPropertyImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmPropertyImpl.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.CommonProperty; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmMapping; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmProperty; +import org.apache.olingo.client.api.edm.xml.CommonProperty; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmMapping; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmProperty; public class EdmPropertyImpl extends AbstractEdmProperty implements EdmProperty { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmReturnTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmReturnTypeImpl.java similarity index 86% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmReturnTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmReturnTypeImpl.java index c17b99689..72d66268e 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmReturnTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmReturnTypeImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ReturnType; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmReturnType; +import org.apache.olingo.client.api.edm.xml.v4.ReturnType; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.core.edm.AbstractEdmReturnType; public class EdmReturnTypeImpl extends AbstractEdmReturnType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmSingletonImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmSingletonImpl.java similarity index 75% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmSingletonImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmSingletonImpl.java index 6d1415439..b91340ecf 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmSingletonImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmSingletonImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Singleton; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.client.api.edm.xml.v4.Singleton; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class EdmSingletonImpl extends EdmBindingTargetImpl implements EdmSingleton { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmStructuredTypeHelperImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmStructuredTypeHelperImpl.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmStructuredTypeHelperImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmStructuredTypeHelperImpl.java index 28ba1f05a..140fe891e 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmStructuredTypeHelperImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmStructuredTypeHelperImpl.java @@ -16,18 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; import java.util.LinkedHashMap; import java.util.Map; -import org.apache.olingo.odata4.client.api.edm.xml.CommonNavigationProperty; -import org.apache.olingo.odata4.client.api.edm.xml.CommonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.ComplexType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.core.edm.EdmStructuredTypeHelper; + +import org.apache.olingo.client.api.edm.xml.CommonNavigationProperty; +import org.apache.olingo.client.api.edm.xml.CommonProperty; +import org.apache.olingo.client.api.edm.xml.ComplexType; +import org.apache.olingo.client.api.edm.xml.v4.NavigationProperty; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.core.edm.EdmStructuredTypeHelper; public class EdmStructuredTypeHelperImpl implements EdmStructuredTypeHelper { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmTypeDefinitionImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmTypeDefinitionImpl.java similarity index 77% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmTypeDefinitionImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmTypeDefinitionImpl.java index 43a5455ff..afe65128a 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/EdmTypeDefinitionImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/EdmTypeDefinitionImpl.java @@ -16,16 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm; +package org.apache.olingo.client.core.edm; -import org.apache.olingo.odata4.client.api.edm.xml.v4.TypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmTypeDefinition; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.client.api.edm.xml.v4.TypeDefinition; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmTypeDefinition; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; public class EdmTypeDefinitionImpl extends AbstractEdmTypeDefinition implements EdmTypeDefinition { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmActionImportProxy.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmActionImportProxy.java similarity index 73% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmActionImportProxy.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmActionImportProxy.java index ddf1b7c88..576623edf 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmActionImportProxy.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmActionImportProxy.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.client.core.edm.EdmOperationImportImpl; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.client.core.edm.EdmOperationImportImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; public class EdmActionImportProxy extends EdmOperationImportImpl implements EdmActionImport { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmActionProxy.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmActionProxy.java similarity index 77% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmActionProxy.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmActionProxy.java index 9bb0ac703..be5780166 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmActionProxy.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmActionProxy.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public class EdmActionProxy extends EdmOperationProxy implements EdmAction { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmEntitySetProxy.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmEntitySetProxy.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmEntitySetProxy.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmEntitySetProxy.java index 518eb6ed1..d3e0312f2 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmEntitySetProxy.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmEntitySetProxy.java @@ -16,24 +16,25 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.XMLMetadata; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Association; -import org.apache.olingo.odata4.client.api.edm.xml.v3.AssociationSet; -import org.apache.olingo.odata4.client.core.edm.xml.v3.EntityContainerImpl; -import org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmBindingTarget; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmBindingTarget; + +import org.apache.olingo.client.api.edm.xml.EntityContainer; +import org.apache.olingo.client.api.edm.xml.Schema; +import org.apache.olingo.client.api.edm.xml.XMLMetadata; +import org.apache.olingo.client.api.edm.xml.v3.Association; +import org.apache.olingo.client.api.edm.xml.v3.AssociationSet; +import org.apache.olingo.client.core.edm.xml.v3.EntityContainerImpl; +import org.apache.olingo.client.core.edm.xml.v3.SchemaImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmBindingTarget; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmBindingTarget; public class EdmEntitySetProxy extends AbstractEdmBindingTarget implements EdmEntitySet { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmFunctionImportProxy.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmFunctionImportProxy.java similarity index 74% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmFunctionImportProxy.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmFunctionImportProxy.java index 345dd6d3d..c7d1de2de 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmFunctionImportProxy.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmFunctionImportProxy.java @@ -16,16 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.api.utils.EdmTypeInfo; -import org.apache.olingo.odata4.client.core.edm.EdmOperationImportImpl; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; + +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.utils.EdmTypeInfo; +import org.apache.olingo.client.core.edm.EdmOperationImportImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; public class EdmFunctionImportProxy extends EdmOperationImportImpl implements EdmFunctionImport { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmFunctionProxy.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmFunctionProxy.java similarity index 78% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmFunctionProxy.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmFunctionProxy.java index db130a575..d883f1def 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmFunctionProxy.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmFunctionProxy.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public class EdmFunctionProxy extends EdmOperationProxy implements EdmFunction { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmOperationProxy.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmOperationProxy.java similarity index 73% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmOperationProxy.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmOperationProxy.java index c81d6a99b..2876bb210 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmOperationProxy.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmOperationProxy.java @@ -16,20 +16,21 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.CommonParameter; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Parameter; -import org.apache.olingo.odata4.client.core.edm.EdmParameterImpl; -import org.apache.olingo.odata4.client.core.edm.EdmReturnTypeImpl; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmParameter; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmOperation; + +import org.apache.olingo.client.api.edm.xml.CommonParameter; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.edm.xml.v3.Parameter; +import org.apache.olingo.client.core.edm.EdmParameterImpl; +import org.apache.olingo.client.core.edm.EdmReturnTypeImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmParameter; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.AbstractEdmOperation; public class EdmOperationProxy extends AbstractEdmOperation { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmServiceMetadataImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmServiceMetadataImpl.java similarity index 75% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmServiceMetadataImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmServiceMetadataImpl.java index e377d789e..d036d9024 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/EdmServiceMetadataImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/EdmServiceMetadataImpl.java @@ -16,23 +16,24 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.UnsupportedInV3Exception; -import org.apache.olingo.odata4.client.api.edm.xml.CommonFunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.core.edm.AbstractEdmServiceMetadataImpl; -import org.apache.olingo.odata4.client.core.edm.xml.v3.XMLMetadataImpl; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmSingletonInfo; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; -import org.apache.olingo.odata4.commons.core.edm.EdmActionImportInfoImpl; -import org.apache.olingo.odata4.commons.core.edm.EdmFunctionImportInfoImpl; + +import org.apache.olingo.client.api.UnsupportedInV3Exception; +import org.apache.olingo.client.api.edm.xml.CommonFunctionImport; +import org.apache.olingo.client.api.edm.xml.EntityContainer; +import org.apache.olingo.client.api.edm.xml.Schema; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.core.edm.AbstractEdmServiceMetadataImpl; +import org.apache.olingo.client.core.edm.xml.v3.XMLMetadataImpl; +import org.apache.olingo.commons.api.edm.EdmActionImportInfo; +import org.apache.olingo.commons.api.edm.EdmFunctionImportInfo; +import org.apache.olingo.commons.api.edm.EdmSingletonInfo; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.commons.core.edm.EdmActionImportInfoImpl; +import org.apache.olingo.commons.core.edm.EdmFunctionImportInfoImpl; public class EdmServiceMetadataImpl extends AbstractEdmServiceMetadataImpl { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/ReturnTypeProxy.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/ReturnTypeProxy.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/ReturnTypeProxy.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/ReturnTypeProxy.java index b212e86b3..79baae30e 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/ReturnTypeProxy.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/ReturnTypeProxy.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ReturnType; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.edm.xml.v4.ReturnType; public class ReturnTypeProxy implements ReturnType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/V3FunctionImportUtils.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/V3FunctionImportUtils.java similarity index 86% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/V3FunctionImportUtils.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/V3FunctionImportUtils.java index c8d352ac0..9453d6376 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v3/V3FunctionImportUtils.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v3/V3FunctionImportUtils.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v3; +package org.apache.olingo.client.core.edm.v3; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.api.http.HttpMethod; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.http.HttpMethod; public final class V3FunctionImportUtils { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v4/EdmServiceMetadataImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v4/EdmServiceMetadataImpl.java similarity index 75% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v4/EdmServiceMetadataImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v4/EdmServiceMetadataImpl.java index e077e3abb..55cecc743 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/v4/EdmServiceMetadataImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/v4/EdmServiceMetadataImpl.java @@ -16,24 +16,25 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.v4; +package org.apache.olingo.client.core.edm.v4; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.CommonFunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ActionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Singleton; -import org.apache.olingo.odata4.client.core.edm.AbstractEdmServiceMetadataImpl; -import org.apache.olingo.odata4.client.core.edm.xml.v4.XMLMetadataImpl; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmSingletonInfo; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; -import org.apache.olingo.odata4.commons.core.edm.EdmActionImportInfoImpl; -import org.apache.olingo.odata4.commons.core.edm.EdmFunctionImportInfoImpl; -import org.apache.olingo.odata4.commons.core.edm.EdmSingletonInfoImpl; + +import org.apache.olingo.client.api.edm.xml.CommonFunctionImport; +import org.apache.olingo.client.api.edm.xml.v4.ActionImport; +import org.apache.olingo.client.api.edm.xml.v4.EntityContainer; +import org.apache.olingo.client.api.edm.xml.v4.Schema; +import org.apache.olingo.client.api.edm.xml.v4.Singleton; +import org.apache.olingo.client.core.edm.AbstractEdmServiceMetadataImpl; +import org.apache.olingo.client.core.edm.xml.v4.XMLMetadataImpl; +import org.apache.olingo.commons.api.edm.EdmActionImportInfo; +import org.apache.olingo.commons.api.edm.EdmFunctionImportInfo; +import org.apache.olingo.commons.api.edm.EdmSingletonInfo; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.commons.core.edm.EdmActionImportInfoImpl; +import org.apache.olingo.commons.core.edm.EdmFunctionImportInfoImpl; +import org.apache.olingo.commons.core.edm.EdmSingletonInfoImpl; public class EdmServiceMetadataImpl extends AbstractEdmServiceMetadataImpl { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractAnnotations.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractAnnotations.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractAnnotations.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractAnnotations.java index 33c8ac8a7..13ddbca62 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractAnnotations.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractAnnotations.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.annotation.JsonProperty; public abstract class AbstractAnnotations extends AbstractEdmItem - implements org.apache.olingo.odata4.client.api.edm.xml.CommonAnnotations { + implements org.apache.olingo.client.api.edm.xml.CommonAnnotations { private static final long serialVersionUID = 4926640428016042620L; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractComplexType.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractComplexType.java similarity index 81% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractComplexType.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractComplexType.java index 158fb05e3..30d214256 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractComplexType.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractComplexType.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.ComplexType; -import org.apache.olingo.odata4.client.api.edm.xml.CommonNavigationProperty; -import org.apache.olingo.odata4.client.api.edm.xml.CommonProperty; -import org.apache.olingo.odata4.client.core.op.impl.ComplexTypeDeserializer; + +import org.apache.olingo.client.api.edm.xml.CommonNavigationProperty; +import org.apache.olingo.client.api.edm.xml.CommonProperty; +import org.apache.olingo.client.api.edm.xml.ComplexType; +import org.apache.olingo.client.core.op.impl.ComplexTypeDeserializer; @JsonDeserialize(using = ComplexTypeDeserializer.class) public abstract class AbstractComplexType extends AbstractEdmItem implements ComplexType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractDataServices.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractDataServices.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractDataServices.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractDataServices.java index e905b5fe2..df505d06f 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractDataServices.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractDataServices.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.DataServices; + +import org.apache.olingo.client.api.edm.xml.DataServices; @JsonDeserialize(using = DataServicesDeserializer.class) public abstract class AbstractDataServices extends AbstractEdmItem implements DataServices { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEdmItem.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEdmItem.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEdmItem.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEdmItem.java index eaa21cc44..656ba5650 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEdmItem.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEdmItem.java @@ -16,16 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import java.util.ArrayList; import java.util.Collection; import java.util.List; + import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; -import org.apache.olingo.odata4.client.api.edm.xml.Named; +import org.apache.olingo.client.api.edm.xml.Named; public abstract class AbstractEdmItem { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEdmx.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEdmx.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEdmx.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEdmx.java index 5a067e17b..15b6e8c99 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEdmx.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEdmx.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.DataServices; -import org.apache.olingo.odata4.client.api.edm.xml.Edmx; + +import org.apache.olingo.client.api.edm.xml.DataServices; +import org.apache.olingo.client.api.edm.xml.Edmx; @JsonDeserialize(using = EdmxDeserializer.class) public abstract class AbstractEdmx extends AbstractEdmItem implements Edmx { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntityContainer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntityContainer.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntityContainer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntityContainer.java index 285095d2c..ade3a6b57 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntityContainer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntityContainer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.EntitySet; -import org.apache.olingo.odata4.client.api.edm.xml.CommonFunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.EntityContainer; -import org.apache.olingo.odata4.client.core.op.impl.EntityContainerDeserializer; + +import org.apache.olingo.client.api.edm.xml.CommonFunctionImport; +import org.apache.olingo.client.api.edm.xml.EntityContainer; +import org.apache.olingo.client.api.edm.xml.EntitySet; +import org.apache.olingo.client.core.op.impl.EntityContainerDeserializer; @JsonDeserialize(using = EntityContainerDeserializer.class) public abstract class AbstractEntityContainer extends AbstractEdmItem implements EntityContainer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntitySet.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntitySet.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntitySet.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntitySet.java index eba7c81c1..722610afd 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntitySet.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntitySet.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.EntitySet; -import org.apache.olingo.odata4.client.core.op.impl.EntitySetDeserializer; + +import org.apache.olingo.client.api.edm.xml.EntitySet; +import org.apache.olingo.client.core.op.impl.EntitySetDeserializer; @JsonDeserialize(using = EntitySetDeserializer.class) public abstract class AbstractEntitySet extends AbstractEdmItem implements EntitySet { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntityType.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntityType.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntityType.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntityType.java index e5490de1d..d30e124af 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEntityType.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEntityType.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.EntityKey; -import org.apache.olingo.odata4.client.api.edm.xml.EntityType; -import org.apache.olingo.odata4.client.core.op.impl.EntityTypeDeserializer; + +import org.apache.olingo.client.api.edm.xml.EntityKey; +import org.apache.olingo.client.api.edm.xml.EntityType; +import org.apache.olingo.client.core.op.impl.EntityTypeDeserializer; @JsonDeserialize(using = EntityTypeDeserializer.class) public abstract class AbstractEntityType extends AbstractComplexType implements EntityType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEnumType.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEnumType.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEnumType.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEnumType.java index 49a1c663d..2afa7943e 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractEnumType.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractEnumType.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.EnumType; -import org.apache.olingo.odata4.client.api.edm.xml.Member; -import org.apache.olingo.odata4.client.core.op.impl.EnumTypeDeserializer; + +import org.apache.olingo.client.api.edm.xml.EnumType; +import org.apache.olingo.client.api.edm.xml.Member; +import org.apache.olingo.client.core.op.impl.EnumTypeDeserializer; @JsonDeserialize(using = EnumTypeDeserializer.class) public abstract class AbstractEnumType extends AbstractEdmItem implements EnumType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractMember.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractMember.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractMember.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractMember.java index 95c4c818c..b16ee7d40 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractMember.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractMember.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.Member; + +import org.apache.olingo.client.api.edm.xml.Member; public abstract class AbstractMember extends AbstractEdmItem implements Member { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractNavigationProperty.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractNavigationProperty.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractNavigationProperty.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractNavigationProperty.java index ebeb62f61..65c9a8f4c 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractNavigationProperty.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractNavigationProperty.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.CommonNavigationProperty; + +import org.apache.olingo.client.api.edm.xml.CommonNavigationProperty; public class AbstractNavigationProperty extends AbstractEdmItem implements CommonNavigationProperty { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractParameter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractParameter.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractParameter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractParameter.java index 5b737d81b..6733fdc18 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractParameter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractParameter.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.CommonParameter; + +import org.apache.olingo.client.api.edm.xml.CommonParameter; @JsonDeserialize(using = ParameterDeserializer.class) public abstract class AbstractParameter extends AbstractEdmItem implements CommonParameter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractProperty.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractProperty.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractProperty.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractProperty.java index 78cdc4b58..198e50f1b 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractProperty.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractProperty.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.CommonProperty; -import org.apache.olingo.odata4.commons.api.edm.constants.ConcurrencyMode; -import org.apache.olingo.odata4.commons.api.edm.constants.StoreGeneratedPattern; + +import org.apache.olingo.client.api.edm.xml.CommonProperty; +import org.apache.olingo.commons.api.edm.constants.ConcurrencyMode; +import org.apache.olingo.commons.api.edm.constants.StoreGeneratedPattern; @JsonDeserialize(using = PropertyDeserializer.class) public abstract class AbstractProperty extends AbstractEdmItem implements CommonProperty { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractSchema.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractSchema.java similarity index 82% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractSchema.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractSchema.java index 568c85f0d..b099c3185 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractSchema.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractSchema.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.ComplexType; -import org.apache.olingo.odata4.client.api.edm.xml.EntityType; -import org.apache.olingo.odata4.client.api.edm.xml.EnumType; -import org.apache.olingo.odata4.client.api.edm.xml.Schema; -import org.apache.olingo.odata4.client.core.op.impl.SchemaDeserializer; + +import org.apache.olingo.client.api.edm.xml.ComplexType; +import org.apache.olingo.client.api.edm.xml.EntityType; +import org.apache.olingo.client.api.edm.xml.EnumType; +import org.apache.olingo.client.api.edm.xml.Schema; +import org.apache.olingo.client.core.op.impl.SchemaDeserializer; @JsonDeserialize(using = SchemaDeserializer.class) public abstract class AbstractSchema extends AbstractEdmItem implements Schema { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractXMLMetadata.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractXMLMetadata.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractXMLMetadata.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractXMLMetadata.java index e05294816..e04d5da10 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/AbstractXMLMetadata.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AbstractXMLMetadata.java @@ -16,15 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import java.util.HashMap; import java.util.List; import java.util.Map; + import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.edm.xml.XMLMetadata; -import org.apache.olingo.odata4.client.api.edm.xml.Edmx; -import org.apache.olingo.odata4.client.api.edm.xml.Schema; +import org.apache.olingo.client.api.edm.xml.Edmx; +import org.apache.olingo.client.api.edm.xml.Schema; +import org.apache.olingo.client.api.edm.xml.XMLMetadata; /** * Entry point for access information about EDM metadata. diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/DataServicesDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/DataServicesDeserializer.java similarity index 70% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/DataServicesDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/DataServicesDeserializer.java index f1c045f6b..a7ded8a9c 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/DataServicesDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/DataServicesDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; public class DataServicesDeserializer extends AbstractEdmDeserializer { @@ -33,8 +35,8 @@ public class DataServicesDeserializer extends AbstractEdmDeserializer { @@ -35,8 +37,8 @@ public class EdmxDeserializer extends AbstractEdmDeserializer { throws IOException, JsonProcessingException { final AbstractEdmx edmx = ODataServiceVersion.V30 == client.getServiceVersion() - ? new org.apache.olingo.odata4.client.core.edm.xml.v3.EdmxImpl() - : new org.apache.olingo.odata4.client.core.edm.xml.v4.EdmxImpl(); + ? new org.apache.olingo.client.core.edm.xml.v3.EdmxImpl() + : new org.apache.olingo.client.core.edm.xml.v4.EdmxImpl(); for (; jp.getCurrentToken() != JsonToken.END_OBJECT; jp.nextToken()) { final JsonToken token = jp.getCurrentToken(); @@ -45,18 +47,18 @@ public class EdmxDeserializer extends AbstractEdmDeserializer { edmx.setVersion(jp.nextTextValue()); } else if ("DataServices".equals(jp.getCurrentName())) { jp.nextToken(); - if (edmx instanceof org.apache.olingo.odata4.client.core.edm.xml.v3.EdmxImpl) { - ((org.apache.olingo.odata4.client.core.edm.xml.v3.EdmxImpl) edmx). + if (edmx instanceof org.apache.olingo.client.core.edm.xml.v3.EdmxImpl) { + ((org.apache.olingo.client.core.edm.xml.v3.EdmxImpl) edmx). setDataServices(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v3.DataServicesImpl.class)); + org.apache.olingo.client.core.edm.xml.v3.DataServicesImpl.class)); } else { - ((org.apache.olingo.odata4.client.core.edm.xml.v4.EdmxImpl) edmx). + ((org.apache.olingo.client.core.edm.xml.v4.EdmxImpl) edmx). setDataServices(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v4.DataServicesImpl.class)); + org.apache.olingo.client.core.edm.xml.v4.DataServicesImpl.class)); } } else if ("Reference".equals(jp.getCurrentName())) { jp.nextToken(); - ((org.apache.olingo.odata4.client.core.edm.xml.v4.EdmxImpl) edmx).getReferences(). + ((org.apache.olingo.client.core.edm.xml.v4.EdmxImpl) edmx).getReferences(). add(jp.readValueAs( ReferenceImpl.class)); } } diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/EntityKeyImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/EntityKeyImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/EntityKeyImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/EntityKeyImpl.java index 91f406872..9880a3ac1 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/EntityKeyImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/EntityKeyImpl.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.EntityKey; -import org.apache.olingo.odata4.client.api.edm.xml.PropertyRef; -import org.apache.olingo.odata4.client.core.op.impl.EntityKeyDeserializer; + +import org.apache.olingo.client.api.edm.xml.EntityKey; +import org.apache.olingo.client.api.edm.xml.PropertyRef; +import org.apache.olingo.client.core.op.impl.EntityKeyDeserializer; @JsonDeserialize(using = EntityKeyDeserializer.class) public class EntityKeyImpl extends AbstractEdmItem implements EntityKey { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/OnDeleteImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/OnDeleteImpl.java similarity index 87% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/OnDeleteImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/OnDeleteImpl.java index abe7e2541..cc72645bd 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/OnDeleteImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/OnDeleteImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; + +import org.apache.olingo.client.api.edm.xml.OnDelete; +import org.apache.olingo.client.api.edm.xml.OnDeleteAction; -import org.apache.olingo.odata4.client.api.edm.xml.OnDeleteAction; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.OnDelete; public class OnDeleteImpl extends AbstractEdmItem implements OnDelete { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/ParameterDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/ParameterDeserializer.java similarity index 80% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/ParameterDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/ParameterDeserializer.java index e8bd47a8d..db5b6c119 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/ParameterDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/ParameterDeserializer.java @@ -16,17 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml; +package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ParameterMode; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.api.edm.xml.v3.ParameterMode; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; public class ParameterDeserializer extends AbstractEdmDeserializer { @@ -35,8 +37,8 @@ public class ParameterDeserializer extends AbstractEdmDeserializer { @@ -38,8 +40,8 @@ public class PropertyDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AnnotationsImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AnnotationsImpl.java similarity index 81% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AnnotationsImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AnnotationsImpl.java index cee352e30..e9d92588b 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AnnotationsImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AnnotationsImpl.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Annotations; -import org.apache.olingo.odata4.client.api.edm.xml.v3.TypeAnnotation; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ValueAnnotation; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractAnnotations; + +import org.apache.olingo.client.api.edm.xml.v3.Annotations; +import org.apache.olingo.client.api.edm.xml.v3.TypeAnnotation; +import org.apache.olingo.client.api.edm.xml.v3.ValueAnnotation; +import org.apache.olingo.client.core.edm.xml.AbstractAnnotations; @JsonDeserialize(using = AnnotationsDeserializer.class) public class AnnotationsImpl extends AbstractAnnotations implements Annotations { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationDeserializer.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationDeserializer.java index 0de5a197c..6d999c290 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationDeserializer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class AssociationDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationEndImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationEndImpl.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationEndImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationEndImpl.java index 6171501ef..e5942da92 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationEndImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationEndImpl.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.OnDelete; -import org.apache.olingo.odata4.client.api.edm.xml.v3.AssociationEnd; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.OnDelete; +import org.apache.olingo.client.api.edm.xml.v3.AssociationEnd; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class AssociationEndImpl extends AbstractEdmItem implements AssociationEnd { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationImpl.java index b807b9c57..af7b5b562 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationImpl.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Association; -import org.apache.olingo.odata4.client.api.edm.xml.v3.AssociationEnd; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ReferentialConstraint; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.Association; +import org.apache.olingo.client.api.edm.xml.v3.AssociationEnd; +import org.apache.olingo.client.api.edm.xml.v3.ReferentialConstraint; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; @JsonDeserialize(using = AssociationDeserializer.class) public class AssociationImpl extends AbstractEdmItem implements Association { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetDeserializer.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetDeserializer.java index 16cae5afa..4b04aa0dd 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetDeserializer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class AssociationSetDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetEndImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetEndImpl.java similarity index 87% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetEndImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetEndImpl.java index 66c35ce38..f39beb0ba 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetEndImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetEndImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v3.AssociationSetEnd; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.AssociationSetEnd; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class AssociationSetEndImpl extends AbstractEdmItem implements AssociationSetEnd { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetImpl.java similarity index 86% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetImpl.java index 48c3fcb3c..d49aa4415 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/AssociationSetImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/AssociationSetImpl.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v3.AssociationSet; -import org.apache.olingo.odata4.client.api.edm.xml.v3.AssociationSetEnd; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.AssociationSet; +import org.apache.olingo.client.api.edm.xml.v3.AssociationSetEnd; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; @JsonDeserialize(using = AssociationSetDeserializer.class) public class AssociationSetImpl extends AbstractEdmItem implements AssociationSet { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ComplexTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ComplexTypeImpl.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ComplexTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ComplexTypeImpl.java index 276cac16b..6f4c8370b 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ComplexTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ComplexTypeImpl.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.ComplexType; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractComplexType; + +import org.apache.olingo.client.api.edm.xml.ComplexType; +import org.apache.olingo.client.core.edm.xml.AbstractComplexType; public class ComplexTypeImpl extends AbstractComplexType implements ComplexType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/DataServicesImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/DataServicesImpl.java similarity index 85% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/DataServicesImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/DataServicesImpl.java index 7db60ff34..542c20df9 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/DataServicesImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/DataServicesImpl.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.Schema; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractDataServices; + +import org.apache.olingo.client.api.edm.xml.Schema; +import org.apache.olingo.client.core.edm.xml.AbstractDataServices; public class DataServicesImpl extends AbstractDataServices { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EdmxImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EdmxImpl.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EdmxImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EdmxImpl.java index a64d5eb13..78d34712a 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EdmxImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EdmxImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmx; +import org.apache.olingo.client.core.edm.xml.AbstractEdmx; public class EdmxImpl extends AbstractEdmx { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntityContainerImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntityContainerImpl.java similarity index 85% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntityContainerImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntityContainerImpl.java index 22e0488a4..1866a5798 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntityContainerImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntityContainerImpl.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.EntitySet; -import org.apache.olingo.odata4.client.api.edm.xml.v3.AssociationSet; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEntityContainer; + +import org.apache.olingo.client.api.edm.xml.EntitySet; +import org.apache.olingo.client.api.edm.xml.v3.AssociationSet; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.core.edm.xml.AbstractEntityContainer; public class EntityContainerImpl extends AbstractEntityContainer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntitySetImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntitySetImpl.java similarity index 87% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntitySetImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntitySetImpl.java index bc28cc6ab..1757c35ce 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntitySetImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntitySetImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEntitySet; +import org.apache.olingo.client.core.edm.xml.AbstractEntitySet; public class EntitySetImpl extends AbstractEntitySet { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntityTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntityTypeImpl.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntityTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntityTypeImpl.java index 7f10fa654..d20e9810b 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EntityTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EntityTypeImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEntityType; + +import org.apache.olingo.client.core.edm.xml.AbstractEntityType; public class EntityTypeImpl extends AbstractEntityType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EnumTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EnumTypeImpl.java similarity index 85% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EnumTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EnumTypeImpl.java index dffd22604..942a2b889 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/EnumTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/EnumTypeImpl.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.Member; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEnumType; + +import org.apache.olingo.client.api.edm.xml.Member; +import org.apache.olingo.client.core.edm.xml.AbstractEnumType; public class EnumTypeImpl extends AbstractEnumType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/FunctionImportDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/FunctionImportDeserializer.java similarity index 95% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/FunctionImportDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/FunctionImportDeserializer.java index bdb5a1c56..4cca7c8f4 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/FunctionImportDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/FunctionImportDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class FunctionImportDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/FunctionImportImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/FunctionImportImpl.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/FunctionImportImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/FunctionImportImpl.java index b648fdefb..7a00c3a37 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/FunctionImportImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/FunctionImportImpl.java @@ -16,13 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Parameter; + +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.edm.xml.v3.Parameter; @JsonDeserialize(using = FunctionImportDeserializer.class) public class FunctionImportImpl implements FunctionImport { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/MemberImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/MemberImpl.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/MemberImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/MemberImpl.java index 91577f733..7ef4d86e4 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/MemberImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/MemberImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractMember; +import org.apache.olingo.client.core.edm.xml.AbstractMember; public class MemberImpl extends AbstractMember { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/NavigationPropertyImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/NavigationPropertyImpl.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/NavigationPropertyImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/NavigationPropertyImpl.java index 4ed476909..2c7aa9026 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/NavigationPropertyImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/NavigationPropertyImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v3.NavigationProperty; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractNavigationProperty; + +import org.apache.olingo.client.api.edm.xml.v3.NavigationProperty; +import org.apache.olingo.client.core.edm.xml.AbstractNavigationProperty; public class NavigationPropertyImpl extends AbstractNavigationProperty implements NavigationProperty { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ParameterImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ParameterImpl.java similarity index 81% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ParameterImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ParameterImpl.java index 740611881..f555406d6 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ParameterImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ParameterImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ParameterMode; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Parameter; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractParameter; +import org.apache.olingo.client.api.edm.xml.v3.Parameter; +import org.apache.olingo.client.api.edm.xml.v3.ParameterMode; +import org.apache.olingo.client.core.edm.xml.AbstractParameter; public class ParameterImpl extends AbstractParameter implements Parameter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/PropertyImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/PropertyImpl.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/PropertyImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/PropertyImpl.java index 352f8f019..c2fc43c5a 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/PropertyImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/PropertyImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Property; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractProperty; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmContentKind; +import org.apache.olingo.client.api.edm.xml.v3.Property; +import org.apache.olingo.client.core.edm.xml.AbstractProperty; +import org.apache.olingo.commons.api.edm.constants.EdmContentKind; public class PropertyImpl extends AbstractProperty implements Property { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/PropertyValueImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/PropertyValueImpl.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/PropertyValueImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/PropertyValueImpl.java index c7e0d4283..17c536997 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/PropertyValueImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/PropertyValueImpl.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.annotation.JsonProperty; + import java.math.BigDecimal; import java.math.BigInteger; import java.util.Date; -import org.apache.olingo.odata4.client.api.edm.xml.v3.PropertyValue; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.PropertyValue; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class PropertyValueImpl extends AbstractEdmItem implements PropertyValue { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintImpl.java similarity index 86% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintImpl.java index d2cce5376..b60f581bd 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintImpl.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ReferentialConstraint; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ReferentialConstraintRole; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.ReferentialConstraint; +import org.apache.olingo.client.api.edm.xml.v3.ReferentialConstraintRole; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class ReferentialConstraintImpl extends AbstractEdmItem implements ReferentialConstraint { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintRoleDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintRoleDeserializer.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintRoleDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintRoleDeserializer.java index b56522539..6a46e1ef9 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintRoleDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintRoleDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.PropertyRefImpl; + +import org.apache.olingo.client.core.edm.xml.PropertyRefImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class ReferentialConstraintRoleDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintRoleImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintRoleImpl.java similarity index 84% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintRoleImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintRoleImpl.java index 9ded4c5dc..4f2ddd5e8 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ReferentialConstraintRoleImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ReferentialConstraintRoleImpl.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.PropertyRef; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ReferentialConstraintRole; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.PropertyRef; +import org.apache.olingo.client.api.edm.xml.v3.ReferentialConstraintRole; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; @JsonDeserialize(using = ReferentialConstraintRoleDeserializer.class) public class ReferentialConstraintRoleImpl extends AbstractEdmItem implements ReferentialConstraintRole { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/SchemaImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/SchemaImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/SchemaImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/SchemaImpl.java index 8caccdc29..9f6bba485 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/SchemaImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/SchemaImpl.java @@ -16,20 +16,21 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.ComplexType; -import org.apache.olingo.odata4.client.api.edm.xml.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.EntityType; -import org.apache.olingo.odata4.client.api.edm.xml.EnumType; -import org.apache.olingo.odata4.client.api.edm.xml.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Annotations; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Association; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Using; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ValueTerm; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractSchema; + +import org.apache.olingo.client.api.edm.xml.ComplexType; +import org.apache.olingo.client.api.edm.xml.EntityContainer; +import org.apache.olingo.client.api.edm.xml.EntityType; +import org.apache.olingo.client.api.edm.xml.EnumType; +import org.apache.olingo.client.api.edm.xml.Schema; +import org.apache.olingo.client.api.edm.xml.v3.Annotations; +import org.apache.olingo.client.api.edm.xml.v3.Association; +import org.apache.olingo.client.api.edm.xml.v3.Using; +import org.apache.olingo.client.api.edm.xml.v3.ValueTerm; +import org.apache.olingo.client.core.edm.xml.AbstractSchema; public class SchemaImpl extends AbstractSchema implements Schema { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/TypeAnnotationDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/TypeAnnotationDeserializer.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/TypeAnnotationDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/TypeAnnotationDeserializer.java index c6a10bc29..331f1b133 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/TypeAnnotationDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/TypeAnnotationDeserializer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class TypeAnnotationDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/TypeAnnotationImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/TypeAnnotationImpl.java similarity index 86% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/TypeAnnotationImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/TypeAnnotationImpl.java index e709d84e7..fe713d4bd 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/TypeAnnotationImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/TypeAnnotationImpl.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v3.PropertyValue; -import org.apache.olingo.odata4.client.api.edm.xml.v3.TypeAnnotation; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.PropertyValue; +import org.apache.olingo.client.api.edm.xml.v3.TypeAnnotation; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; @JsonDeserialize(using = TypeAnnotationDeserializer.class) public class TypeAnnotationImpl extends AbstractEdmItem implements TypeAnnotation { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/UsingImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/UsingImpl.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/UsingImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/UsingImpl.java index 0d938d7b1..e701682fd 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/UsingImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/UsingImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v3.Using; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.Using; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class UsingImpl extends AbstractEdmItem implements Using { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ValueAnnotationImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ValueAnnotationImpl.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ValueAnnotationImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ValueAnnotationImpl.java index fde4380c0..b55270f61 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ValueAnnotationImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ValueAnnotationImpl.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.annotation.JsonProperty; + import java.math.BigDecimal; import java.math.BigInteger; import java.util.Date; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ValueAnnotation; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.ValueAnnotation; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class ValueAnnotationImpl extends AbstractEdmItem implements ValueAnnotation { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ValueTermImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ValueTermImpl.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ValueTermImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ValueTermImpl.java index 114465b8d..9b2e663f3 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/ValueTermImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/ValueTermImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v3.ValueTerm; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v3.ValueTerm; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class ValueTermImpl extends AbstractEdmItem implements ValueTerm { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/XMLMetadataImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/XMLMetadataImpl.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/XMLMetadataImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/XMLMetadataImpl.java index f2d6095df..82601dba4 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v3/XMLMetadataImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v3/XMLMetadataImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v3; +package org.apache.olingo.client.core.edm.xml.v3; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractXMLMetadata; +import org.apache.olingo.client.core.edm.xml.AbstractXMLMetadata; public class XMLMetadataImpl extends AbstractXMLMetadata { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AbstractAnnotatedEdmItem.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AbstractAnnotatedEdmItem.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AbstractAnnotatedEdmItem.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AbstractAnnotatedEdmItem.java index accae2e1e..18b01bebe 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AbstractAnnotatedEdmItem.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AbstractAnnotatedEdmItem.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; + +import org.apache.olingo.client.api.edm.xml.v4.AnnotatedEdmItem; +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; -import org.apache.olingo.odata4.client.api.edm.xml.v4.AnnotatedEdmItem; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; public abstract class AbstractAnnotatedEdmItem extends AbstractEdmItem implements AnnotatedEdmItem { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionDeserializer.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionDeserializer.java index ea93d752c..3bde506c7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class ActionDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionImpl.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionImpl.java index a1c3d16a4..9ad13c83d 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionImpl.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Action; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Parameter; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ReturnType; + +import org.apache.olingo.client.api.edm.xml.v4.Action; +import org.apache.olingo.client.api.edm.xml.v4.Parameter; +import org.apache.olingo.client.api.edm.xml.v4.ReturnType; @JsonDeserialize(using = ActionDeserializer.class) public class ActionImpl extends AbstractAnnotatedEdmItem implements Action { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionImportImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionImportImpl.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionImportImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionImportImpl.java index fca7ed76d..d54399856 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ActionImportImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ActionImportImpl.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ActionImport; + +import org.apache.olingo.client.api.edm.xml.v4.ActionImport; public class ActionImportImpl extends AbstractAnnotatedEdmItem implements ActionImport { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationDeserializer.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationDeserializer.java index 6a4332aab..c5c3bb647 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.v4.annotation.DynExprConstructImpl; + +import org.apache.olingo.client.core.edm.xml.v4.annotation.DynExprConstructImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class AnnotationDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationImpl.java index 1e1ae0cb4..d495b8ceb 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationImpl.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ConstExprConstruct; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.DynExprConstruct; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.annotation.ConstExprConstruct; +import org.apache.olingo.client.api.edm.xml.v4.annotation.DynExprConstruct; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; @JsonDeserialize(using = AnnotationDeserializer.class) public class AnnotationImpl extends AbstractEdmItem implements Annotation { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationsDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationsDeserializer.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationsDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationsDeserializer.java index 80e07adfb..c46adb5b8 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationsDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationsDeserializer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class AnnotationsDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationsImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationsImpl.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationsImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationsImpl.java index cfd961d06..a5796241c 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/AnnotationsImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/AnnotationsImpl.java @@ -16,13 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotations; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractAnnotations; + +import org.apache.olingo.client.api.edm.xml.v4.Annotations; +import org.apache.olingo.client.core.edm.xml.AbstractAnnotations; @JsonDeserialize(using = AnnotationsDeserializer.class) public class AnnotationsImpl extends AbstractAnnotations implements Annotations { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ComplexTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ComplexTypeImpl.java similarity index 86% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ComplexTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ComplexTypeImpl.java index bc3fe9249..b91259af3 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ComplexTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ComplexTypeImpl.java @@ -16,15 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ComplexType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Property; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractComplexType; + +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.ComplexType; +import org.apache.olingo.client.api.edm.xml.v4.NavigationProperty; +import org.apache.olingo.client.api.edm.xml.v4.Property; +import org.apache.olingo.client.core.edm.xml.AbstractComplexType; public class ComplexTypeImpl extends AbstractComplexType implements ComplexType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/DataServicesImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/DataServicesImpl.java similarity index 85% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/DataServicesImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/DataServicesImpl.java index a9b05891d..bf4ed66b6 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/DataServicesImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/DataServicesImpl.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Schema; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractDataServices; + +import org.apache.olingo.client.api.edm.xml.v4.Schema; +import org.apache.olingo.client.core.edm.xml.AbstractDataServices; public class DataServicesImpl extends AbstractDataServices { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EdmxImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EdmxImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EdmxImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EdmxImpl.java index bd216f98e..d1bbd0749 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EdmxImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EdmxImpl.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Edmx; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Reference; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmx; + +import org.apache.olingo.client.api.edm.xml.v4.Edmx; +import org.apache.olingo.client.api.edm.xml.v4.Reference; +import org.apache.olingo.client.core.edm.xml.AbstractEdmx; public class EdmxImpl extends AbstractEdmx implements Edmx { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntityContainerImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntityContainerImpl.java similarity index 84% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntityContainerImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntityContainerImpl.java index 8e1142570..c67e17d6f 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntityContainerImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntityContainerImpl.java @@ -16,18 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; + +import org.apache.olingo.client.api.edm.xml.v4.ActionImport; +import org.apache.olingo.client.api.edm.xml.v4.AnnotatedEdmItem; +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.EntityContainer; +import org.apache.olingo.client.api.edm.xml.v4.EntitySet; +import org.apache.olingo.client.api.edm.xml.v4.FunctionImport; +import org.apache.olingo.client.api.edm.xml.v4.Singleton; +import org.apache.olingo.client.core.edm.xml.AbstractEntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.v4.AnnotatedEdmItem; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ActionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntitySet; -import org.apache.olingo.odata4.client.api.edm.xml.v4.FunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Singleton; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEntityContainer; public class EntityContainerImpl extends AbstractEntityContainer implements AnnotatedEdmItem, EntityContainer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntitySetImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntitySetImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntitySetImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntitySetImpl.java index 723faeede..9ef33c7c3 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntitySetImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntitySetImpl.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntitySet; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationPropertyBinding; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEntitySet; + +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.EntitySet; +import org.apache.olingo.client.api.edm.xml.v4.NavigationPropertyBinding; +import org.apache.olingo.client.core.edm.xml.AbstractEntitySet; public class EntitySetImpl extends AbstractEntitySet implements EntitySet { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntityTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntityTypeImpl.java similarity index 82% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntityTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntityTypeImpl.java index 8ca73aaba..4de91016e 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EntityTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EntityTypeImpl.java @@ -16,15 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntityType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Property; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEntityType; + +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.EntityType; +import org.apache.olingo.client.api.edm.xml.v4.NavigationProperty; +import org.apache.olingo.client.api.edm.xml.v4.Property; +import org.apache.olingo.client.core.edm.xml.AbstractEntityType; public class EntityTypeImpl extends AbstractEntityType implements EntityType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EnumTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EnumTypeImpl.java similarity index 81% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EnumTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EnumTypeImpl.java index b225902e1..9c9b84d9b 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/EnumTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/EnumTypeImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; -import org.apache.olingo.odata4.client.api.edm.xml.v4.AnnotatedEdmItem; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEnumType; +import org.apache.olingo.client.api.edm.xml.v4.AnnotatedEdmItem; +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.core.edm.xml.AbstractEnumType; public class EnumTypeImpl extends AbstractEnumType implements AnnotatedEdmItem { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionDeserializer.java similarity index 95% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionDeserializer.java index f8c6b8a41..f316d2f36 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class FunctionDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionImpl.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionImpl.java index 17ae459e1..7041bff8b 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionImpl.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Function; + +import org.apache.olingo.client.api.edm.xml.v4.Function; @JsonDeserialize(using = FunctionDeserializer.class) public class FunctionImpl extends ActionImpl implements Function { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionImportImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionImportImpl.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionImportImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionImportImpl.java index da075458c..5391d93b7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/FunctionImportImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/FunctionImportImpl.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.FunctionImport; + +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.FunctionImport; public class FunctionImportImpl implements FunctionImport { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/IncludeAnnotationsImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/IncludeAnnotationsImpl.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/IncludeAnnotationsImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/IncludeAnnotationsImpl.java index d05198684..a38345df4 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/IncludeAnnotationsImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/IncludeAnnotationsImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.IncludeAnnotations; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v4.IncludeAnnotations; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class IncludeAnnotationsImpl extends AbstractEdmItem implements IncludeAnnotations { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/IncludeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/IncludeImpl.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/IncludeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/IncludeImpl.java index 6c7a3855f..ea9bc01da 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/IncludeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/IncludeImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Include; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v4.Include; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class IncludeImpl extends AbstractEdmItem implements Include { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/MemberImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/MemberImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/MemberImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/MemberImpl.java index dfcb6cff1..152a59f0c 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/MemberImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/MemberImpl.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; + +import org.apache.olingo.client.api.edm.xml.v4.AnnotatedEdmItem; +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.core.edm.xml.AbstractMember; -import org.apache.olingo.odata4.client.api.edm.xml.v4.AnnotatedEdmItem; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractMember; public class MemberImpl extends AbstractMember implements AnnotatedEdmItem { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyBindingImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyBindingImpl.java similarity index 87% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyBindingImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyBindingImpl.java index b32378a49..980dbf91e 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyBindingImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyBindingImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationPropertyBinding; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v4.NavigationPropertyBinding; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public class NavigationPropertyBindingImpl extends AbstractEdmItem implements NavigationPropertyBinding { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyDeserializer.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyDeserializer.java index 89c942b75..f1dc46ff7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyDeserializer.java @@ -16,16 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; + +import org.apache.olingo.client.core.edm.xml.OnDeleteImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.OnDeleteImpl; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; public class NavigationPropertyDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyImpl.java similarity index 86% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyImpl.java index 844d6de81..6d186e044 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/NavigationPropertyImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/NavigationPropertyImpl.java @@ -16,16 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationProperty; -import org.apache.olingo.odata4.client.api.edm.xml.OnDelete; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ReferentialConstraint; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractNavigationProperty; + +import org.apache.olingo.client.api.edm.xml.OnDelete; +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.NavigationProperty; +import org.apache.olingo.client.api.edm.xml.v4.ReferentialConstraint; +import org.apache.olingo.client.core.edm.xml.AbstractNavigationProperty; @JsonDeserialize(using = NavigationPropertyDeserializer.class) public class NavigationPropertyImpl extends AbstractNavigationProperty implements NavigationProperty { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ParameterImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ParameterImpl.java similarity index 85% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ParameterImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ParameterImpl.java index bb6416a87..990cef027 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ParameterImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ParameterImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Parameter; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractParameter; +import org.apache.olingo.client.api.edm.xml.v4.Parameter; +import org.apache.olingo.client.core.edm.xml.AbstractParameter; public class ParameterImpl extends AbstractParameter implements Parameter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/PropertyImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/PropertyImpl.java similarity index 82% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/PropertyImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/PropertyImpl.java index f71f68fe5..9b1f67de3 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/PropertyImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/PropertyImpl.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.annotation.JsonIgnore; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Property; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractProperty; + +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.Property; +import org.apache.olingo.client.core.edm.xml.AbstractProperty; public class PropertyImpl extends AbstractProperty implements Property { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferenceDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferenceDeserializer.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferenceDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferenceDeserializer.java index 60c225aed..839f3c939 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferenceDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferenceDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; import java.net.URI; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class ReferenceDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferenceImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferenceImpl.java similarity index 82% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferenceImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferenceImpl.java index 3437ea22c..c7b88aac9 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferenceImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferenceImpl.java @@ -16,17 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.net.URI; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Include; -import org.apache.olingo.odata4.client.api.edm.xml.v4.IncludeAnnotations; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Reference; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.Include; +import org.apache.olingo.client.api.edm.xml.v4.IncludeAnnotations; +import org.apache.olingo.client.api.edm.xml.v4.Reference; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; @JsonDeserialize(using = ReferenceDeserializer.class) public class ReferenceImpl extends AbstractEdmItem implements Reference { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferentialConstraintImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferentialConstraintImpl.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferentialConstraintImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferentialConstraintImpl.java index 1b1a8e175..d18e87e73 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReferentialConstraintImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReferentialConstraintImpl.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.annotation.JsonProperty; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ReferentialConstraint; + +import org.apache.olingo.client.api.edm.xml.v4.ReferentialConstraint; public class ReferentialConstraintImpl extends AbstractAnnotatedEdmItem implements ReferentialConstraint { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReturnTypeDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReturnTypeDeserializer.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReturnTypeDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReturnTypeDeserializer.java index d3e426f58..f51a850ec 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReturnTypeDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReturnTypeDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class ReturnTypeDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReturnTypeImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReturnTypeImpl.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReturnTypeImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReturnTypeImpl.java index 215703846..e572f9a6c 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/ReturnTypeImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/ReturnTypeImpl.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ReturnType; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v4.ReturnType; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; @JsonDeserialize(using = ReturnTypeDeserializer.class) public class ReturnTypeImpl extends AbstractEdmItem implements ReturnType { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SchemaImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SchemaImpl.java similarity index 83% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SchemaImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SchemaImpl.java index fe67a857f..bce726111 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SchemaImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SchemaImpl.java @@ -16,23 +16,24 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import java.util.ArrayList; import java.util.Collections; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.EnumType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Action; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotations; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ComplexType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntityType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Function; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Term; -import org.apache.olingo.odata4.client.api.edm.xml.v4.TypeDefinition; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractSchema; + +import org.apache.olingo.client.api.edm.xml.EnumType; +import org.apache.olingo.client.api.edm.xml.v4.Action; +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.Annotations; +import org.apache.olingo.client.api.edm.xml.v4.ComplexType; +import org.apache.olingo.client.api.edm.xml.v4.EntityContainer; +import org.apache.olingo.client.api.edm.xml.v4.EntityType; +import org.apache.olingo.client.api.edm.xml.v4.Function; +import org.apache.olingo.client.api.edm.xml.v4.Schema; +import org.apache.olingo.client.api.edm.xml.v4.Term; +import org.apache.olingo.client.api.edm.xml.v4.TypeDefinition; +import org.apache.olingo.client.core.edm.xml.AbstractSchema; public class SchemaImpl extends AbstractSchema implements Schema { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SingletonDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SingletonDeserializer.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SingletonDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SingletonDeserializer.java index 77b788926..d97dcd4c7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SingletonDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SingletonDeserializer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class SingletonDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SingletonImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SingletonImpl.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SingletonImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SingletonImpl.java index 235b16d8e..9766abdfb 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/SingletonImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/SingletonImpl.java @@ -16,13 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.NavigationPropertyBinding; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Singleton; + +import org.apache.olingo.client.api.edm.xml.v4.NavigationPropertyBinding; +import org.apache.olingo.client.api.edm.xml.v4.Singleton; @JsonDeserialize(using = SingletonDeserializer.class) public class SingletonImpl extends AbstractAnnotatedEdmItem implements Singleton { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TermDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TermDeserializer.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TermDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TermDeserializer.java index c8fed6562..9d4e80395 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TermDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TermDeserializer.java @@ -16,17 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.edm.xml.v4.CSDLElement; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.client.api.edm.xml.v4.CSDLElement; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class TermDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TermImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TermImpl.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TermImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TermImpl.java index 5e7097db4..d210ddc99 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TermImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TermImpl.java @@ -16,13 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.CSDLElement; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Term; + +import org.apache.olingo.client.api.edm.xml.v4.CSDLElement; +import org.apache.olingo.client.api.edm.xml.v4.Term; @JsonDeserialize(using = TermDeserializer.class) public class TermImpl extends AbstractAnnotatedEdmItem implements Term { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TypeDefinitionDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TypeDefinitionDeserializer.java similarity index 95% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TypeDefinitionDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TypeDefinitionDeserializer.java index 07d258983..f951c7727 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TypeDefinitionDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TypeDefinitionDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class TypeDefinitionDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TypeDefinitionImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TypeDefinitionImpl.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TypeDefinitionImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TypeDefinitionImpl.java index a6b27c4b5..b1ecc667b 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/TypeDefinitionImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/TypeDefinitionImpl.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.TypeDefinition; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; + +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.TypeDefinition; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; @JsonDeserialize(using = TypeDefinitionDeserializer.class) public class TypeDefinitionImpl extends AbstractEdmItem implements TypeDefinition { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/XMLMetadataImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/XMLMetadataImpl.java similarity index 79% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/XMLMetadataImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/XMLMetadataImpl.java index 5a6a7cc15..41fea802c 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/XMLMetadataImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/XMLMetadataImpl.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4; +package org.apache.olingo.client.core.edm.xml.v4; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Edmx; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Reference; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.v4.XMLMetadata; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractXMLMetadata; + +import org.apache.olingo.client.api.edm.xml.v4.Edmx; +import org.apache.olingo.client.api.edm.xml.v4.Reference; +import org.apache.olingo.client.api.edm.xml.v4.Schema; +import org.apache.olingo.client.api.edm.xml.v4.XMLMetadata; +import org.apache.olingo.client.core.edm.xml.AbstractXMLMetadata; public class XMLMetadataImpl extends AbstractXMLMetadata implements XMLMetadata { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AbstractElOrAttrConstruct.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AbstractElOrAttrConstruct.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AbstractElOrAttrConstruct.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AbstractElOrAttrConstruct.java index fe871b3c7..c60f2ffe0 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AbstractElOrAttrConstruct.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AbstractElOrAttrConstruct.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; /** * Groups dynamic expressions that may be provided using element notation or attribute notation. diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AnnotatedDynExprConstruct.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AnnotatedDynExprConstruct.java similarity index 85% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AnnotatedDynExprConstruct.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AnnotatedDynExprConstruct.java index 1532cf01c..c3eca1171 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AnnotatedDynExprConstruct.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AnnotatedDynExprConstruct.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.AnnotatedEdmItem; +import org.apache.olingo.client.api.edm.xml.v4.AnnotatedEdmItem; +import org.apache.olingo.client.api.edm.xml.v4.Annotation; abstract class AnnotatedDynExprConstruct extends DynExprConstructImpl implements AnnotatedEdmItem { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AnnotationPath.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AnnotationPath.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AnnotationPath.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AnnotationPath.java index b6a4c7dcd..50274b511 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/AnnotationPath.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/AnnotationPath.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; public class AnnotationPath extends AbstractElOrAttrConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Apply.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Apply.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Apply.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Apply.java index 362fbc2e1..9c02f974e 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Apply.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Apply.java @@ -16,12 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ExprConstruct; + +import org.apache.olingo.client.api.edm.xml.v4.annotation.ExprConstruct; @JsonDeserialize(using = ApplyDeserializer.class) public class Apply extends AnnotatedDynExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ApplyDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ApplyDeserializer.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ApplyDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ApplyDeserializer.java index 56378dc97..e847c9dac 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ApplyDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ApplyDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; + +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class ApplyDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Cast.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Cast.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Cast.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Cast.java index b3e3127a9..812602ea1 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Cast.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Cast.java @@ -16,11 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.math.BigInteger; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.DynExprConstruct; + +import org.apache.olingo.client.api.edm.xml.v4.annotation.DynExprConstruct; @JsonDeserialize(using = CastDeserializer.class) public class Cast extends AnnotatedDynExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/CastDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/CastDeserializer.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/CastDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/CastDeserializer.java index 4430bc0cd..b143d70a1 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/CastDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/CastDeserializer.java @@ -16,16 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; import java.math.BigInteger; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; + +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class CastDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Collection.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Collection.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Collection.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Collection.java index 3583a5ce3..c225043f7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Collection.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Collection.java @@ -16,12 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ExprConstruct; + +import org.apache.olingo.client.api.edm.xml.v4.annotation.ExprConstruct; @JsonDeserialize(using = CollectionDeserializer.class) public class Collection extends DynExprConstructImpl { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/CollectionDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/CollectionDeserializer.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/CollectionDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/CollectionDeserializer.java index 20b0f56e3..3916f8d31 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/CollectionDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/CollectionDeserializer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class CollectionDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ConstExprConstructImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ConstExprConstructImpl.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ConstExprConstructImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ConstExprConstructImpl.java index d701d068a..7af136c39 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ConstExprConstructImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ConstExprConstructImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ConstExprConstruct; +import org.apache.olingo.client.api.edm.xml.v4.annotation.ConstExprConstruct; public class ConstExprConstructImpl extends ExprConstructImpl implements ConstExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprConstructDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprConstructDeserializer.java similarity index 97% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprConstructDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprConstructDeserializer.java index e881c3939..831a8a3dc 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprConstructDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprConstructDeserializer.java @@ -16,17 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonLocation; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ClassUtils; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class DynExprConstructDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprConstructImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprConstructImpl.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprConstructImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprConstructImpl.java index 862b322cc..8d7394382 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprConstructImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprConstructImpl.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.DynExprConstruct; + +import org.apache.olingo.client.api.edm.xml.v4.annotation.DynExprConstruct; @JsonDeserialize(using = DynExprConstructDeserializer.class) public abstract class DynExprConstructImpl extends ExprConstructImpl implements DynExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprDoubleParamOp.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprDoubleParamOp.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprDoubleParamOp.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprDoubleParamOp.java index 6fd83d396..85ec0440d 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprDoubleParamOp.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprDoubleParamOp.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.DynExprConstruct; +import org.apache.olingo.client.api.edm.xml.v4.annotation.DynExprConstruct; public class DynExprDoubleParamOp extends DynExprConstructImpl { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprSingleParamOp.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprSingleParamOp.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprSingleParamOp.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprSingleParamOp.java index 7fc34e21b..06797e945 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/DynExprSingleParamOp.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/DynExprSingleParamOp.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.DynExprConstruct; +import org.apache.olingo.client.api.edm.xml.v4.annotation.DynExprConstruct; public class DynExprSingleParamOp extends DynExprConstructImpl { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ExprConstructImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ExprConstructImpl.java similarity index 81% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ExprConstructImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ExprConstructImpl.java index 960c7302d..c0bd62667 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/ExprConstructImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/ExprConstructImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ExprConstruct; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEdmItem; +import org.apache.olingo.client.api.edm.xml.v4.annotation.ExprConstruct; +import org.apache.olingo.client.core.edm.xml.AbstractEdmItem; public abstract class ExprConstructImpl extends AbstractEdmItem implements ExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/If.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/If.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/If.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/If.java index e6ea91de1..8477bd4a7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/If.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/If.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ExprConstruct; +import org.apache.olingo.client.api.edm.xml.v4.annotation.ExprConstruct; public class If extends AnnotatedDynExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/IsOf.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/IsOf.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/IsOf.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/IsOf.java index d327964d5..6854fd2ea 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/IsOf.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/IsOf.java @@ -16,11 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + import java.math.BigInteger; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.DynExprConstruct; + +import org.apache.olingo.client.api.edm.xml.v4.annotation.DynExprConstruct; @JsonDeserialize(using = IsOfDeserializer.class) public class IsOf extends AnnotatedDynExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/IsOfDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/IsOfDeserializer.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/IsOfDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/IsOfDeserializer.java index 283997e2b..51bafd6a4 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/IsOfDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/IsOfDeserializer.java @@ -16,16 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; import java.math.BigInteger; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; + +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class IsOfDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElement.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElement.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElement.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElement.java index 15321d263..ccfdc3799 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElement.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElement.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.DynExprConstruct; + +import org.apache.olingo.client.api.edm.xml.v4.annotation.DynExprConstruct; @JsonDeserialize(using = LabeledElementDeserializer.class) public class LabeledElement extends AnnotatedDynExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElementDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElementDeserializer.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElementDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElementDeserializer.java index 440b08bfb..da9971399 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElementDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElementDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; + +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class LabeledElementDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElementReference.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElementReference.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElementReference.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElementReference.java index e24a04e25..d33c95532 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/LabeledElementReference.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/LabeledElementReference.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; public class LabeledElementReference extends AbstractElOrAttrConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/NavigationPropertyPath.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/NavigationPropertyPath.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/NavigationPropertyPath.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/NavigationPropertyPath.java index c3685f4c7..f6b21d106 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/NavigationPropertyPath.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/NavigationPropertyPath.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; public class NavigationPropertyPath extends AbstractElOrAttrConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Null.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Null.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Null.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Null.java index 419413bed..0ff8a1e44 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Null.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Null.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/NullDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/NullDeserializer.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/NullDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/NullDeserializer.java index dc78b6ae4..192be276d 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/NullDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/NullDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; + +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class NullDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Path.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Path.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Path.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Path.java index a5e4f9f49..b9c4136a1 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Path.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Path.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; public class Path extends AbstractElOrAttrConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyPath.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyPath.java similarity index 93% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyPath.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyPath.java index df924fe4e..ca47253e8 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyPath.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyPath.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; public class PropertyPath extends AbstractElOrAttrConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyValue.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyValue.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyValue.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyValue.java index 6afb0d47b..5493c3317 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyValue.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyValue.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ExprConstruct; + +import org.apache.olingo.client.api.edm.xml.v4.annotation.ExprConstruct; @JsonDeserialize(using = PropertyValueDeserializer.class) public class PropertyValue extends AnnotatedDynExprConstruct { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyValueDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyValueDeserializer.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyValueDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyValueDeserializer.java index 0871e559f..7a524124a 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/PropertyValueDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/PropertyValueDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; + +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class PropertyValueDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Record.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Record.java similarity index 95% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Record.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Record.java index ee7d33261..862a67795 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/Record.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/Record.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.ArrayList; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/RecordDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/RecordDeserializer.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/RecordDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/RecordDeserializer.java index f4a6cf11c..efe49ccf5 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/RecordDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/RecordDeserializer.java @@ -16,15 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; + +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class RecordDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/UrlRef.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/UrlRef.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/UrlRef.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/UrlRef.java index f710fa478..ebaea99ca 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/UrlRef.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/UrlRef.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.apache.olingo.odata4.client.api.edm.xml.v4.annotation.ExprConstruct; + +import org.apache.olingo.client.api.edm.xml.v4.annotation.ExprConstruct; @JsonDeserialize(using = UrlRefDeserializer.class) public class UrlRef extends DynExprConstructImpl { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/UrlRefDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/UrlRefDeserializer.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/UrlRefDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/UrlRefDeserializer.java index e3d9f61b6..f4fab83c1 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/edm/xml/v4/annotation/UrlRefDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/v4/annotation/UrlRefDeserializer.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.edm.xml.v4.annotation; +package org.apache.olingo.client.core.edm.xml.v4.annotation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; -import org.apache.olingo.odata4.client.core.op.impl.AbstractEdmDeserializer; + +import org.apache.olingo.client.core.op.impl.AbstractEdmDeserializer; public class UrlRefDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/AbstractBasicAuthHttpClientFactory.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/AbstractBasicAuthHttpClientFactory.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/AbstractBasicAuthHttpClientFactory.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/http/AbstractBasicAuthHttpClientFactory.java index 1c3d8fdb8..806bfb599 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/AbstractBasicAuthHttpClientFactory.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/AbstractBasicAuthHttpClientFactory.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.http; +package org.apache.olingo.client.core.http; import java.net.URI; + import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.HttpClient; import org.apache.http.impl.client.DefaultHttpClient; -import org.apache.olingo.odata4.client.api.http.HttpMethod; +import org.apache.olingo.client.api.http.HttpMethod; /** * Base implementation for working with Basic Authentication: needs to be subclassed in order to provide actual username diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/AbstractNTLMAuthHttpClientFactory.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/AbstractNTLMAuthHttpClientFactory.java similarity index 95% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/AbstractNTLMAuthHttpClientFactory.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/http/AbstractNTLMAuthHttpClientFactory.java index 579032b6c..e7c0ca0ca 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/AbstractNTLMAuthHttpClientFactory.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/AbstractNTLMAuthHttpClientFactory.java @@ -16,16 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.http; +package org.apache.olingo.client.core.http; import java.net.URI; + import org.apache.http.auth.AuthScope; import org.apache.http.auth.NTCredentials; import org.apache.http.client.CredentialsProvider; import org.apache.http.client.HttpClient; import org.apache.http.impl.client.BasicCredentialsProvider; import org.apache.http.impl.client.DefaultHttpClient; -import org.apache.olingo.odata4.client.api.http.HttpMethod; +import org.apache.olingo.client.api.http.HttpMethod; /** * Base implementation for working with NTLM Authentication via embedded HttpClient features: needs to be subclassed in diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/DefaultHttpClientFactory.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/DefaultHttpClientFactory.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/DefaultHttpClientFactory.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/http/DefaultHttpClientFactory.java index f008ff5ce..30336bb80 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/DefaultHttpClientFactory.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/DefaultHttpClientFactory.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.http; +package org.apache.olingo.client.core.http; import java.io.Serializable; import java.net.URI; + import org.apache.http.client.HttpClient; import org.apache.http.impl.client.DefaultHttpClient; -import org.apache.olingo.odata4.client.api.http.HttpClientFactory; -import org.apache.olingo.odata4.client.api.http.HttpMethod; +import org.apache.olingo.client.api.http.HttpClientFactory; +import org.apache.olingo.client.api.http.HttpMethod; /** * Default implementation returning HttpClients with default parameters. diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/DefaultHttpUriRequestFactory.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/DefaultHttpUriRequestFactory.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/DefaultHttpUriRequestFactory.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/http/DefaultHttpUriRequestFactory.java index 10b2e859c..aaa17c087 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/DefaultHttpUriRequestFactory.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/DefaultHttpUriRequestFactory.java @@ -16,16 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.http; +package org.apache.olingo.client.core.http; import java.net.URI; + import org.apache.http.client.methods.HttpDelete; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpPut; import org.apache.http.client.methods.HttpUriRequest; -import org.apache.olingo.odata4.client.api.http.HttpMethod; -import org.apache.olingo.odata4.client.api.http.HttpUriRequestFactory; +import org.apache.olingo.client.api.http.HttpMethod; +import org.apache.olingo.client.api.http.HttpUriRequestFactory; /** * Default implementation returning default HttpUriRequest implementations. diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/HttpMerge.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/HttpMerge.java similarity index 97% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/HttpMerge.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/http/HttpMerge.java index ffe20a963..3dead8746 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/HttpMerge.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/HttpMerge.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.http; +package org.apache.olingo.client.core.http; import java.net.URI; import org.apache.http.annotation.NotThreadSafe; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/HttpPatch.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/HttpPatch.java similarity index 97% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/HttpPatch.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/http/HttpPatch.java index 244bdc1b5..9e85cc7b1 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/http/HttpPatch.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/http/HttpPatch.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.http; +package org.apache.olingo.client.core.http; import java.net.URI; import org.apache.http.annotation.NotThreadSafe; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractEdmDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractEdmDeserializer.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractEdmDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractEdmDeserializer.java index 2a3aa80b3..71dcb7c80 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractEdmDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractEdmDeserializer.java @@ -16,17 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.op.impl; +package org.apache.olingo.client.core.op.impl; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; import com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser; + import java.io.IOException; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.core.edm.xml.v4.ReturnTypeImpl; -import org.apache.olingo.odata4.client.core.edm.xml.v4.annotation.ConstExprConstructImpl; + +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.core.edm.xml.v4.ReturnTypeImpl; +import org.apache.olingo.client.core.edm.xml.v4.annotation.ConstExprConstructImpl; public abstract class AbstractEdmDeserializer extends JsonDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractJacksonTool.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractJacksonTool.java similarity index 96% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractJacksonTool.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractJacksonTool.java index 853684932..2c5e0cb54 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractJacksonTool.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractJacksonTool.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.op.impl; +package org.apache.olingo.client.core.op.impl; import com.fasterxml.aalto.stax.InputFactoryImpl; import com.fasterxml.aalto.stax.OutputFactoryImpl; @@ -31,8 +31,10 @@ import com.fasterxml.jackson.databind.deser.DeserializationProblemHandler; import com.fasterxml.jackson.dataformat.xml.JacksonXmlModule; import com.fasterxml.jackson.dataformat.xml.XmlFactory; import com.fasterxml.jackson.dataformat.xml.XmlMapper; + import java.io.IOException; -import org.apache.olingo.odata4.client.api.ODataClient; + +import org.apache.olingo.client.api.ODataClient; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataBinder.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataBinder.java similarity index 97% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataBinder.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataBinder.java index 8483df3fe..d6ade1189 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataBinder.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataBinder.java @@ -16,20 +16,21 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.op.impl; +package org.apache.olingo.client.core.op.impl; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.ParserConfigurationException; + import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.ODataConstants; -import org.apache.olingo.odata4.client.api.data.ServiceDocument; -import org.apache.olingo.odata4.client.api.data.ServiceDocumentItem; -import org.apache.olingo.odata4.client.api.domain.ODataServiceDocument; -import org.apache.olingo.odata4.client.api.op.ODataBinder; -import org.apache.olingo.odata4.client.api.utils.XMLUtils; -import org.apache.olingo.odata4.client.core.uri.URIUtils; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.ODataConstants; +import org.apache.olingo.client.api.data.ServiceDocument; +import org.apache.olingo.client.api.data.ServiceDocumentItem; +import org.apache.olingo.client.api.domain.ODataServiceDocument; +import org.apache.olingo.client.api.op.ODataBinder; +import org.apache.olingo.client.api.utils.XMLUtils; +import org.apache.olingo.client.core.uri.URIUtils; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.w3c.dom.Document; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataDeserializer.java similarity index 96% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataDeserializer.java index ed4ebd0c6..2c7ff2254 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataDeserializer.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.op.impl; +package org.apache.olingo.client.core.op.impl; import java.io.InputStream; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.op.ODataDeserializer; -import org.apache.olingo.odata4.client.core.xml.XMLParser; + +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.op.ODataDeserializer; +import org.apache.olingo.client.core.xml.XMLParser; import org.w3c.dom.Element; public abstract class AbstractODataDeserializer extends AbstractJacksonTool implements ODataDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataReader.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataReader.java similarity index 97% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataReader.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataReader.java index 3704db785..6cf19a335 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataReader.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataReader.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.op.impl; +package org.apache.olingo.client.core.op.impl; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.op.ODataReader; +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.op.ODataReader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataSerializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataSerializer.java similarity index 96% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataSerializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataSerializer.java index 523d8b45b..d60ff19b8 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/AbstractODataSerializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/AbstractODataSerializer.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.op.impl; +package org.apache.olingo.client.core.op.impl; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.op.ODataSerializer; -import org.apache.olingo.odata4.client.core.xml.XMLParser; + +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.op.ODataSerializer; +import org.apache.olingo.client.core.xml.XMLParser; import org.w3c.dom.Node; public abstract class AbstractODataSerializer extends AbstractJacksonTool implements ODataSerializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/ComplexTypeDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/ComplexTypeDeserializer.java similarity index 64% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/ComplexTypeDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/ComplexTypeDeserializer.java index 1ceca914a..e07d90722 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/ComplexTypeDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/ComplexTypeDeserializer.java @@ -16,17 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.op.impl; +package org.apache.olingo.client.core.op.impl; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractComplexType; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.core.edm.xml.AbstractComplexType; +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; public class ComplexTypeDeserializer extends AbstractEdmDeserializer { @@ -35,8 +37,8 @@ public class ComplexTypeDeserializer extends AbstractEdmDeserializer { @@ -39,8 +41,8 @@ public class EntityContainerDeserializer extends AbstractEdmDeserializer { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/EntitySetDeserializer.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/EntitySetDeserializer.java similarity index 75% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/EntitySetDeserializer.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/EntitySetDeserializer.java index a5fa92435..7dba1f6d6 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/op/impl/EntitySetDeserializer.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/op/impl/EntitySetDeserializer.java @@ -16,18 +16,20 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.op.impl; +package org.apache.olingo.client.core.op.impl; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; + import java.io.IOException; + import org.apache.commons.lang3.BooleanUtils; -import org.apache.olingo.odata4.client.core.edm.xml.AbstractEntitySet; -import org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationImpl; -import org.apache.olingo.odata4.client.core.edm.xml.v4.NavigationPropertyBindingImpl; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.core.edm.xml.AbstractEntitySet; +import org.apache.olingo.client.core.edm.xml.v4.AnnotationImpl; +import org.apache.olingo.client.core.edm.xml.v4.NavigationPropertyBindingImpl; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; public class EntitySetDeserializer extends AbstractEdmDeserializer { @@ -36,8 +38,8 @@ public class EntitySetDeserializer extends AbstractEdmDeserializer { @@ -36,8 +38,8 @@ public class EntityTypeDeserializer extends AbstractEdmDeserializer { @@ -35,8 +37,8 @@ public class EnumTypeDeserializer extends AbstractEdmDeserializer { @@ -41,8 +43,8 @@ public class SchemaDeserializer extends AbstractEdmDeserializer throws IOException, JsonProcessingException { final AbstractSchema schema = ODataServiceVersion.V30 == client.getServiceVersion() - ? new org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl() - : new org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl(); + ? new org.apache.olingo.client.core.edm.xml.v3.SchemaImpl() + : new org.apache.olingo.client.core.edm.xml.v4.SchemaImpl(); for (; jp.getCurrentToken() != JsonToken.END_OBJECT; jp.nextToken()) { final JsonToken token = jp.getCurrentToken(); @@ -53,90 +55,90 @@ public class SchemaDeserializer extends AbstractEdmDeserializer schema.setAlias(jp.nextTextValue()); } else if ("Using".equals(jp.getCurrentName())) { jp.nextToken(); - ((org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) schema). + ((org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) schema). getUsings().add(jp.readValueAs( UsingImpl.class)); } else if ("Association".equals(jp.getCurrentName())) { jp.nextToken(); - ((org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) schema). + ((org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) schema). getAssociations().add(jp.readValueAs( AssociationImpl.class)); } else if ("ComplexType".equals(jp.getCurrentName())) { jp.nextToken(); - if (schema instanceof org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) { - ((org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) schema). + if (schema instanceof org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) { + ((org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) schema). getComplexTypes().add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v3.ComplexTypeImpl.class)); + org.apache.olingo.client.core.edm.xml.v3.ComplexTypeImpl.class)); } else { - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema). getComplexTypes().add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v4.ComplexTypeImpl.class)); + org.apache.olingo.client.core.edm.xml.v4.ComplexTypeImpl.class)); } } else if ("EntityType".equals(jp.getCurrentName())) { jp.nextToken(); - if (schema instanceof org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) { - ((org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) schema). + if (schema instanceof org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) { + ((org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) schema). getEntityTypes().add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v3.EntityTypeImpl.class)); + org.apache.olingo.client.core.edm.xml.v3.EntityTypeImpl.class)); } else { - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema). getEntityTypes().add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v4.EntityTypeImpl.class)); + org.apache.olingo.client.core.edm.xml.v4.EntityTypeImpl.class)); } } else if ("EnumType".equals(jp.getCurrentName())) { jp.nextToken(); - if (schema instanceof org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) { - ((org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) schema). + if (schema instanceof org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) { + ((org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) schema). getEnumTypes().add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v3.EnumTypeImpl.class)); + org.apache.olingo.client.core.edm.xml.v3.EnumTypeImpl.class)); } else { - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema). getEnumTypes().add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v4.EnumTypeImpl.class)); + org.apache.olingo.client.core.edm.xml.v4.EnumTypeImpl.class)); } } else if ("ValueTerm".equals(jp.getCurrentName())) { jp.nextToken(); - ((org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) schema). + ((org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) schema). getValueTerms().add(jp.readValueAs( ValueTermImpl.class)); } else if ("EntityContainer".equals(jp.getCurrentName())) { jp.nextToken(); - if (schema instanceof org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) { - ((org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) schema). + if (schema instanceof org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) { + ((org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) schema). getEntityContainers().add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v3.EntityContainerImpl.class)); + org.apache.olingo.client.core.edm.xml.v3.EntityContainerImpl.class)); } else { - org.apache.olingo.odata4.client.core.edm.xml.v4.EntityContainerImpl entityContainer + org.apache.olingo.client.core.edm.xml.v4.EntityContainerImpl entityContainer = jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v4.EntityContainerImpl.class); + org.apache.olingo.client.core.edm.xml.v4.EntityContainerImpl.class); entityContainer.setDefaultEntityContainer(true); - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema). setEntityContainer(entityContainer); } } else if ("Annotations".equals(jp.getCurrentName())) { jp.nextToken(); - if (schema instanceof org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) { - ((org.apache.olingo.odata4.client.core.edm.xml.v3.SchemaImpl) schema).getAnnotationsList(). + if (schema instanceof org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) { + ((org.apache.olingo.client.core.edm.xml.v3.SchemaImpl) schema).getAnnotationsList(). add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v3.AnnotationsImpl.class)); + org.apache.olingo.client.core.edm.xml.v3.AnnotationsImpl.class)); } else { - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema).getAnnotationsList(). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema).getAnnotationsList(). add(jp.readValueAs( - org.apache.olingo.odata4.client.core.edm.xml.v4.AnnotationsImpl.class)); + org.apache.olingo.client.core.edm.xml.v4.AnnotationsImpl.class)); } } else if ("Action".equals(jp.getCurrentName())) { jp.nextToken(); - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema).getActions(). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema).getActions(). add(jp.readValueAs( ActionImpl.class)); } else if ("Annotation".equals(jp.getCurrentName())) { jp.nextToken(); - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema).getAnnotations(). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema).getAnnotations(). add(jp.readValueAs( AnnotationImpl.class)); } else if ("Function".equals(jp.getCurrentName())) { jp.nextToken(); - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema).getFunctions(). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema).getFunctions(). add(jp.readValueAs( FunctionImpl.class)); } else if ("TypeDefinition".equals(jp.getCurrentName())) { jp.nextToken(); - ((org.apache.olingo.odata4.client.core.edm.xml.v4.SchemaImpl) schema). + ((org.apache.olingo.client.core.edm.xml.v4.SchemaImpl) schema). getTypeDefinitions().add(jp.readValueAs( TypeDefinitionImpl.class)); } } diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/AbstractURIBuilder.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/AbstractURIBuilder.java similarity index 96% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/AbstractURIBuilder.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/AbstractURIBuilder.java index a92ee5c0e..d6355795a 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/AbstractURIBuilder.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/AbstractURIBuilder.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri; +package org.apache.olingo.client.core.uri; import java.net.URI; import java.net.URISyntaxException; @@ -24,11 +24,12 @@ import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; + import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.uri.QueryOption; -import org.apache.olingo.odata4.client.api.uri.SegmentType; -import org.apache.olingo.odata4.client.api.uri.URIBuilder; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.QueryOption; +import org.apache.olingo.client.api.uri.SegmentType; +import org.apache.olingo.client.api.uri.URIBuilder; +import org.apache.olingo.client.api.uri.filter.URIFilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/URIUtils.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/URIUtils.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/URIUtils.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/URIUtils.java index 70812ea1a..49940eb83 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/URIUtils.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/URIUtils.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri; +package org.apache.olingo.client.core.uri; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -26,16 +26,17 @@ import java.net.URI; import java.net.URLEncoder; import java.text.DecimalFormat; import java.util.UUID; + import org.apache.commons.codec.binary.Hex; import org.apache.commons.io.IOUtils; import org.apache.http.entity.InputStreamEntity; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.ODataConstants; -import org.apache.olingo.odata4.client.api.domain.EdmSimpleType; -import org.apache.olingo.odata4.client.api.domain.ODataDuration; -import org.apache.olingo.odata4.client.api.domain.ODataTimestamp; -import org.apache.olingo.odata4.client.api.edm.xml.CommonFunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.EntityContainer; +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.ODataConstants; +import org.apache.olingo.client.api.domain.EdmSimpleType; +import org.apache.olingo.client.api.domain.ODataDuration; +import org.apache.olingo.client.api.domain.ODataTimestamp; +import org.apache.olingo.client.api.edm.xml.CommonFunctionImport; +import org.apache.olingo.client.api.edm.xml.EntityContainer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/V3URIBuilderImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/V3URIBuilderImpl.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/V3URIBuilderImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/V3URIBuilderImpl.java index c721000dc..8bd31add3 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/V3URIBuilderImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/V3URIBuilderImpl.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri; +package org.apache.olingo.client.core.uri; import java.util.Map; + import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.V3Configuration; -import org.apache.olingo.odata4.client.api.uri.QueryOption; -import org.apache.olingo.odata4.client.api.uri.SegmentType; -import org.apache.olingo.odata4.client.api.uri.V3URIBuilder; +import org.apache.olingo.client.api.V3Configuration; +import org.apache.olingo.client.api.uri.QueryOption; +import org.apache.olingo.client.api.uri.SegmentType; +import org.apache.olingo.client.api.uri.V3URIBuilder; public class V3URIBuilderImpl extends AbstractURIBuilder implements V3URIBuilder { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/V4URIBuilderImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/V4URIBuilderImpl.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/V4URIBuilderImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/V4URIBuilderImpl.java index dcdaf62ff..d24df81f0 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/V4URIBuilderImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/V4URIBuilderImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri; +package org.apache.olingo.client.core.uri; import org.apache.commons.lang3.StringUtils; -import org.apache.olingo.odata4.client.api.uri.QueryOption; -import org.apache.olingo.odata4.client.api.uri.SegmentType; -import org.apache.olingo.odata4.client.api.uri.V4URIBuilder; +import org.apache.olingo.client.api.uri.QueryOption; +import org.apache.olingo.client.api.uri.SegmentType; +import org.apache.olingo.client.api.uri.V4URIBuilder; public class V4URIBuilderImpl extends AbstractURIBuilder implements V4URIBuilder { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractComparingFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractComparingFilter.java similarity index 87% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractComparingFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractComparingFilter.java index c76de474a..702128e09 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractComparingFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractComparingFilter.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.URIFilter; abstract class AbstractComparingFilter implements URIFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractFilterArgFactory.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractFilterArgFactory.java similarity index 96% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractFilterArgFactory.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractFilterArgFactory.java index b7c68aadf..96d8fb095 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractFilterArgFactory.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractFilterArgFactory.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArgFactory; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArgFactory; /** * OData filter arguments factory. diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractFilterFactory.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractFilterFactory.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractFilterFactory.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractFilterFactory.java index 288f54769..b939e9198 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AbstractFilterFactory.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AbstractFilterFactory.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; -import org.apache.olingo.odata4.client.api.uri.filter.FilterFactory; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterFactory; +import org.apache.olingo.client.api.uri.filter.URIFilter; abstract class AbstractFilterFactory implements FilterFactory { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AndFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AndFilter.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AndFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AndFilter.java index c9068a39f..173ea2141 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/AndFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/AndFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.filter.URIFilter; public class AndFilter implements URIFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/EqFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/EqFilter.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/EqFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/EqFilter.java index 01bfd0395..7ba0f93c9 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/EqFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/EqFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; public class EqFilter extends AbstractComparingFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterConst.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterConst.java similarity index 85% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterConst.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterConst.java index 22987b60c..189cbdc52 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterConst.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterConst.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArgFactory; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArgFactory; /** * Filter property path; obtain instances via FilterArgFactory. diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterFunction.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterFunction.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterFunction.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterFunction.java index 1f3283753..47cd719c4 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterFunction.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterFunction.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; import org.apache.commons.lang3.StringUtils; public class FilterFunction implements FilterArg { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterLambda.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterLambda.java similarity index 88% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterLambda.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterLambda.java index dbb1e2a63..18f783a34 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterLambda.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterLambda.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.URIFilter; public class FilterLambda implements FilterArg { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterLiteral.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterLiteral.java similarity index 86% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterLiteral.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterLiteral.java index 578c3e363..661e6130a 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterLiteral.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterLiteral.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; -import org.apache.olingo.odata4.client.core.uri.URIUtils; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.core.uri.URIUtils; /** * Filter value literals; obtain instances via FilterArgFactory. diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterOp.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterOp.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterOp.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterOp.java index a59fd7b25..5cdced7f2 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterOp.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterOp.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; public class FilterOp implements FilterArg { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterProperty.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterProperty.java similarity index 90% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterProperty.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterProperty.java index e467a44ef..53b2ca7c5 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/FilterProperty.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/FilterProperty.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; /** * Filter property path; obtain instances via FilterArgFactory. diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/GeFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/GeFilter.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/GeFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/GeFilter.java index 77024d985..439920f13 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/GeFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/GeFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; public class GeFilter extends AbstractComparingFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/GtFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/GtFilter.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/GtFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/GtFilter.java index 9f1d1884e..34eb2c2b9 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/GtFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/GtFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; public class GtFilter extends AbstractComparingFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/HasFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/HasFilter.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/HasFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/HasFilter.java index 22f4d9443..b6029db89 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/HasFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/HasFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; public class HasFilter extends AbstractComparingFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/LeFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/LeFilter.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/LeFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/LeFilter.java index 122ef1bd3..36452c30f 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/LeFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/LeFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; public class LeFilter extends AbstractComparingFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/LtFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/LtFilter.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/LtFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/LtFilter.java index 5cbde0d61..8dd963f15 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/LtFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/LtFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; public class LtFilter extends AbstractComparingFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/MatchFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/MatchFilter.java similarity index 84% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/MatchFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/MatchFilter.java index ae352ad8b..0706fc1b0 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/MatchFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/MatchFilter.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.URIFilter; public class MatchFilter implements URIFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/NeFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/NeFilter.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/NeFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/NeFilter.java index cba18ec54..c3a5849b1 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/NeFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/NeFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.FilterArg; public class NeFilter extends AbstractComparingFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/NotFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/NotFilter.java similarity index 89% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/NotFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/NotFilter.java index 8aed7bb2e..911cd66cf 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/NotFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/NotFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.filter.URIFilter; public class NotFilter implements URIFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/OrFilter.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/OrFilter.java similarity index 91% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/OrFilter.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/OrFilter.java index 648fa2756..31b0d4fee 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/OrFilter.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/OrFilter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.filter.URIFilter; public class OrFilter implements URIFilter { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V3FilterArgFactoryImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V3FilterArgFactoryImpl.java similarity index 84% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V3FilterArgFactoryImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V3FilterArgFactoryImpl.java index ace149d81..e208f11e6 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V3FilterArgFactoryImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V3FilterArgFactoryImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; -import org.apache.olingo.odata4.client.api.uri.filter.V3FilterArgFactory; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.V3FilterArgFactory; public class V3FilterArgFactoryImpl extends AbstractFilterArgFactory implements V3FilterArgFactory { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V3FilterFactoryImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V3FilterFactoryImpl.java similarity index 84% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V3FilterFactoryImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V3FilterFactoryImpl.java index e966c9cd1..1feb9d715 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V3FilterFactoryImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V3FilterFactoryImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.V3FilterArgFactory; -import org.apache.olingo.odata4.client.api.uri.filter.V3FilterFactory; +import org.apache.olingo.client.api.uri.filter.V3FilterArgFactory; +import org.apache.olingo.client.api.uri.filter.V3FilterFactory; public class V3FilterFactoryImpl extends AbstractFilterFactory implements V3FilterFactory { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V4FilterArgFactoryImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V4FilterArgFactoryImpl.java similarity index 92% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V4FilterArgFactoryImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V4FilterArgFactoryImpl.java index 47670a1ae..b21f3074b 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V4FilterArgFactoryImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V4FilterArgFactoryImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; -import org.apache.olingo.odata4.client.api.uri.filter.V4FilterArgFactory; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.filter.V4FilterArgFactory; public class V4FilterArgFactoryImpl extends AbstractFilterArgFactory implements V4FilterArgFactory { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V4FilterFactoryImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V4FilterFactoryImpl.java similarity index 78% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V4FilterFactoryImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V4FilterFactoryImpl.java index 93e535258..342938dd7 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/uri/filter/V4FilterFactoryImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/uri/filter/V4FilterFactoryImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.uri.filter; +package org.apache.olingo.client.core.uri.filter; -import org.apache.olingo.odata4.client.api.uri.filter.FilterArg; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; -import org.apache.olingo.odata4.client.api.uri.filter.V4FilterArgFactory; -import org.apache.olingo.odata4.client.api.uri.filter.V4FilterFactory; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; +import org.apache.olingo.client.api.uri.filter.FilterArg; +import org.apache.olingo.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.filter.V4FilterArgFactory; +import org.apache.olingo.client.api.uri.filter.V4FilterFactory; +import org.apache.olingo.commons.api.edm.EdmEnumType; public class V4FilterFactoryImpl extends AbstractFilterFactory implements V4FilterFactory { diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/AbstractDOMParser.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/xml/AbstractDOMParser.java similarity index 96% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/AbstractDOMParser.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/xml/AbstractDOMParser.java index 723789578..70bbbd6fe 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/AbstractDOMParser.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/xml/AbstractDOMParser.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.xml; +package org.apache.olingo.client.core.xml; import java.io.InputStream; import java.io.Writer; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/AndroidDOMParserImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/xml/AndroidDOMParserImpl.java similarity index 94% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/AndroidDOMParserImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/xml/AndroidDOMParserImpl.java index 0d49c8ec4..3cbf5e129 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/AndroidDOMParserImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/xml/AndroidDOMParserImpl.java @@ -16,14 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.xml; +package org.apache.olingo.client.core.xml; + +import org.apache.olingo.client.api.utils.XMLUtils; -import org.apache.olingo.odata4.client.api.utils.XMLUtils; import java.io.InputStream; import java.io.Writer; + import javax.xml.transform.TransformerFactory; import javax.xml.transform.dom.DOMSource; import javax.xml.transform.stream.StreamResult; + import org.w3c.dom.Element; import org.w3c.dom.Node; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/DefaultDOMParserImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/xml/DefaultDOMParserImpl.java similarity index 98% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/DefaultDOMParserImpl.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/xml/DefaultDOMParserImpl.java index deaefc18d..9f60834b0 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/DefaultDOMParserImpl.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/xml/DefaultDOMParserImpl.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.xml; +package org.apache.olingo.client.core.xml; import java.io.InputStream; import java.io.Writer; diff --git a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/XMLParser.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/xml/XMLParser.java similarity index 96% rename from lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/XMLParser.java rename to lib/client-core/src/main/java/org/apache/olingo/client/core/xml/XMLParser.java index d0f0b76d4..5c8543803 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/odata4/client/core/xml/XMLParser.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/xml/XMLParser.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.xml; +package org.apache.olingo.client.core.xml; import java.util.Iterator; import java.util.ServiceLoader; diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/AbstractTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/AbstractTest.java similarity index 81% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/AbstractTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/AbstractTest.java index e5d76e5a5..592163ce4 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/AbstractTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/AbstractTest.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; import java.util.Locale; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.client.api.ODataV3Client; -import org.apache.olingo.odata4.client.api.ODataV4Client; -import org.apache.olingo.odata4.client.api.format.ODataFormat; -import org.apache.olingo.odata4.client.api.format.ODataPubFormat; + +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.api.ODataV3Client; +import org.apache.olingo.client.api.ODataV4Client; +import org.apache.olingo.client.api.format.ODataFormat; +import org.apache.olingo.client.api.format.ODataPubFormat; +import org.apache.olingo.client.core.ODataClientFactory; import org.junit.BeforeClass; public abstract class AbstractTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/ODataClientTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/ODataClientTest.java similarity index 85% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/ODataClientTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/ODataClientTest.java index 0dc7004b5..844152ad0 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/ODataClientTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/ODataClientTest.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core; +package org.apache.olingo.client.core; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertEquals; -import org.apache.olingo.odata4.client.api.ODataClient; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.client.api.ODataClient; +import org.apache.olingo.client.core.ODataClientFactory; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; import org.junit.Test; public class ODataClientTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/deserializer/JsonReaderPerformance.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/deserializer/JsonReaderPerformance.java similarity index 87% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/deserializer/JsonReaderPerformance.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/deserializer/JsonReaderPerformance.java index 12d1bcaca..1937e04c6 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/deserializer/JsonReaderPerformance.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/deserializer/JsonReaderPerformance.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.deserializer; +package org.apache.olingo.client.core.deserializer; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -24,12 +24,13 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.io.InputStream; -import org.apache.commons.io.IOUtils; -import org.apache.olingo.odata4.client.api.deserializer.ComplexValue; -import org.apache.olingo.odata4.client.api.deserializer.Property; -import org.apache.olingo.odata4.client.api.deserializer.StructuralProperty; -import org.apache.olingo.odata4.client.api.deserializer.Value; +import org.apache.commons.io.IOUtils; +import org.apache.olingo.client.api.deserializer.ComplexValue; +import org.apache.olingo.client.api.deserializer.Property; +import org.apache.olingo.client.api.deserializer.StructuralProperty; +import org.apache.olingo.client.api.deserializer.Value; +import org.apache.olingo.client.core.deserializer.JsonReader; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/deserializer/JsonReaderTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/deserializer/JsonReaderTest.java similarity index 96% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/deserializer/JsonReaderTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/deserializer/JsonReaderTest.java index 353ee1a26..0379ac873 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/deserializer/JsonReaderTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/deserializer/JsonReaderTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.deserializer; +package org.apache.olingo.client.core.deserializer; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -29,13 +29,14 @@ import java.util.Collection; import java.util.Iterator; import java.util.List; -import org.apache.olingo.odata4.client.api.deserializer.ComplexValue; -import org.apache.olingo.odata4.client.api.deserializer.Entity; -import org.apache.olingo.odata4.client.api.deserializer.EntitySet; -import org.apache.olingo.odata4.client.api.deserializer.Property; -import org.apache.olingo.odata4.client.api.deserializer.Reader; -import org.apache.olingo.odata4.client.api.deserializer.StructuralProperty; -import org.apache.olingo.odata4.client.api.deserializer.Value; +import org.apache.olingo.client.api.deserializer.ComplexValue; +import org.apache.olingo.client.api.deserializer.Entity; +import org.apache.olingo.client.api.deserializer.EntitySet; +import org.apache.olingo.client.api.deserializer.Property; +import org.apache.olingo.client.api.deserializer.Reader; +import org.apache.olingo.client.api.deserializer.StructuralProperty; +import org.apache.olingo.client.api.deserializer.Value; +import org.apache.olingo.client.core.deserializer.JsonReader; import org.junit.Test; public class JsonReaderTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/FilterFactoryTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/v3/FilterFactoryTest.java similarity index 93% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/FilterFactoryTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/v3/FilterFactoryTest.java index cab82b138..e56ffdad6 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/FilterFactoryTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/v3/FilterFactoryTest.java @@ -16,15 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.v3; +package org.apache.olingo.client.core.v3; + +import org.apache.olingo.client.api.ODataV3Client; +import org.apache.olingo.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.filter.V3FilterArgFactory; +import org.apache.olingo.client.api.uri.filter.V3FilterFactory; +import org.apache.olingo.client.core.AbstractTest; -import org.apache.olingo.odata4.client.api.ODataV3Client; import static org.junit.Assert.assertEquals; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; -import org.apache.olingo.odata4.client.api.uri.filter.V3FilterArgFactory; -import org.apache.olingo.odata4.client.api.uri.filter.V3FilterFactory; -import org.apache.olingo.odata4.client.core.AbstractTest; import org.junit.Test; public class FilterFactoryTest extends AbstractTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/MetadataTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/v3/MetadataTest.java similarity index 84% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/MetadataTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/v3/MetadataTest.java index 96fb8ff7e..6723d2b06 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/MetadataTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/v3/MetadataTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.v3; +package org.apache.olingo.client.core.v3; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -28,28 +28,29 @@ import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; -import org.apache.olingo.odata4.client.api.ODataV3Client; -import org.apache.olingo.odata4.client.api.edm.xml.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.EntityType; -import org.apache.olingo.odata4.client.api.edm.xml.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.XMLMetadata; -import org.apache.olingo.odata4.client.api.edm.xml.v3.FunctionImport; -import org.apache.olingo.odata4.client.api.http.HttpMethod; -import org.apache.olingo.odata4.client.core.AbstractTest; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmBindingTarget; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; + +import org.apache.olingo.client.api.ODataV3Client; +import org.apache.olingo.client.api.edm.xml.EntityContainer; +import org.apache.olingo.client.api.edm.xml.EntityType; +import org.apache.olingo.client.api.edm.xml.Schema; +import org.apache.olingo.client.api.edm.xml.XMLMetadata; +import org.apache.olingo.client.api.edm.xml.v3.FunctionImport; +import org.apache.olingo.client.api.http.HttpMethod; +import org.apache.olingo.client.core.AbstractTest; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmActionImportInfo; +import org.apache.olingo.commons.api.edm.EdmBindingTarget; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmFunctionImportInfo; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class MetadataTest extends AbstractTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/ServiceDocumentTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/v3/ServiceDocumentTest.java similarity index 84% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/ServiceDocumentTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/v3/ServiceDocumentTest.java index ebcc00a1f..3aba0a8f2 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/ServiceDocumentTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/v3/ServiceDocumentTest.java @@ -16,12 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.v3; +package org.apache.olingo.client.core.v3; + +import org.apache.olingo.client.api.ODataV3Client; +import org.apache.olingo.client.api.domain.ODataServiceDocument; +import org.apache.olingo.client.api.format.ODataFormat; +import org.apache.olingo.client.core.AbstractTest; -import org.apache.olingo.odata4.client.api.ODataV3Client; -import org.apache.olingo.odata4.client.api.domain.ODataServiceDocument; -import org.apache.olingo.odata4.client.api.format.ODataFormat; -import org.apache.olingo.odata4.client.core.AbstractTest; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/URIBuilderTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/v3/URIBuilderTest.java similarity index 95% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/URIBuilderTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/v3/URIBuilderTest.java index 0e3c6428e..b67bea93b 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v3/URIBuilderTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/v3/URIBuilderTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.v3; +package org.apache.olingo.client.core.v3; import static org.junit.Assert.assertEquals; @@ -25,9 +25,10 @@ import java.net.URISyntaxException; import java.util.Collections; import java.util.HashMap; import java.util.Map; -import org.apache.olingo.odata4.client.api.ODataV3Client; -import org.apache.olingo.odata4.client.api.uri.V3URIBuilder; -import org.apache.olingo.odata4.client.core.AbstractTest; + +import org.apache.olingo.client.api.ODataV3Client; +import org.apache.olingo.client.api.uri.V3URIBuilder; +import org.apache.olingo.client.core.AbstractTest; import org.junit.Test; public class URIBuilderTest extends AbstractTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/FilterFactoryTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/v4/FilterFactoryTest.java similarity index 79% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/FilterFactoryTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/v4/FilterFactoryTest.java index 72e6a7d3c..1a48be445 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/FilterFactoryTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/v4/FilterFactoryTest.java @@ -16,19 +16,20 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.v4; +package org.apache.olingo.client.core.v4; + +import org.apache.olingo.client.api.ODataV4Client; +import org.apache.olingo.client.api.uri.filter.URIFilter; +import org.apache.olingo.client.api.uri.filter.V4FilterArgFactory; +import org.apache.olingo.client.api.uri.filter.V4FilterFactory; +import org.apache.olingo.client.core.AbstractTest; +import org.apache.olingo.client.core.edm.EdmEnumTypeImpl; +import org.apache.olingo.client.core.edm.xml.v4.EnumTypeImpl; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.client.api.ODataV4Client; import static org.junit.Assert.assertEquals; -import org.apache.olingo.odata4.client.api.uri.filter.URIFilter; -import org.apache.olingo.odata4.client.api.uri.filter.V4FilterArgFactory; -import org.apache.olingo.odata4.client.api.uri.filter.V4FilterFactory; -import org.apache.olingo.odata4.client.core.AbstractTest; -import org.apache.olingo.odata4.client.core.edm.EdmEnumTypeImpl; -import org.apache.olingo.odata4.client.core.edm.xml.v4.EnumTypeImpl; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; import org.junit.Test; public class FilterFactoryTest extends AbstractTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/MetadataTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/v4/MetadataTest.java similarity index 84% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/MetadataTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/v4/MetadataTest.java index 2f9f4e7a5..f183ff306 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/MetadataTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/v4/MetadataTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.v4; +package org.apache.olingo.client.core.v4; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -24,36 +24,36 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -import org.apache.olingo.odata4.client.api.ODataV4Client; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotation; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Annotations; -import org.apache.olingo.odata4.client.api.edm.xml.v4.ComplexType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntityContainer; -import org.apache.olingo.odata4.client.api.edm.xml.v4.EntityType; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Function; -import org.apache.olingo.odata4.client.api.edm.xml.v4.FunctionImport; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Schema; -import org.apache.olingo.odata4.client.api.edm.xml.v4.Singleton; -import org.apache.olingo.odata4.client.api.edm.xml.v4.XMLMetadata; -import org.apache.olingo.odata4.client.core.AbstractTest; -import org.apache.olingo.odata4.client.core.edm.xml.v4.annotation.Apply; -import org.apache.olingo.odata4.client.core.edm.xml.v4.annotation.Collection; -import org.apache.olingo.odata4.client.core.edm.xml.v4.annotation.ConstExprConstructImpl; -import org.apache.olingo.odata4.client.core.edm.xml.v4.annotation.Path; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.api.edm.constants.StoreGeneratedPattern; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.client.api.ODataV4Client; +import org.apache.olingo.client.api.edm.xml.v4.Annotation; +import org.apache.olingo.client.api.edm.xml.v4.Annotations; +import org.apache.olingo.client.api.edm.xml.v4.ComplexType; +import org.apache.olingo.client.api.edm.xml.v4.EntityContainer; +import org.apache.olingo.client.api.edm.xml.v4.EntityType; +import org.apache.olingo.client.api.edm.xml.v4.Function; +import org.apache.olingo.client.api.edm.xml.v4.FunctionImport; +import org.apache.olingo.client.api.edm.xml.v4.Schema; +import org.apache.olingo.client.api.edm.xml.v4.Singleton; +import org.apache.olingo.client.api.edm.xml.v4.XMLMetadata; +import org.apache.olingo.client.core.AbstractTest; +import org.apache.olingo.client.core.edm.xml.v4.annotation.Apply; +import org.apache.olingo.client.core.edm.xml.v4.annotation.Collection; +import org.apache.olingo.client.core.edm.xml.v4.annotation.ConstExprConstructImpl; +import org.apache.olingo.client.core.edm.xml.v4.annotation.Path; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmFunctionImportInfo; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.api.edm.constants.StoreGeneratedPattern; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class MetadataTest extends AbstractTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/ServiceDocumentTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/v4/ServiceDocumentTest.java similarity index 88% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/ServiceDocumentTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/v4/ServiceDocumentTest.java index fbc251cf8..b26bb315d 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/ServiceDocumentTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/v4/ServiceDocumentTest.java @@ -16,17 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.v4; +package org.apache.olingo.client.core.v4; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.net.URI; -import org.apache.olingo.odata4.client.api.ODataV4Client; -import org.apache.olingo.odata4.client.api.domain.ODataServiceDocument; -import org.apache.olingo.odata4.client.api.format.ODataFormat; -import org.apache.olingo.odata4.client.core.AbstractTest; + +import org.apache.olingo.client.api.ODataV4Client; +import org.apache.olingo.client.api.domain.ODataServiceDocument; +import org.apache.olingo.client.api.format.ODataFormat; +import org.apache.olingo.client.core.AbstractTest; import org.junit.Test; public class ServiceDocumentTest extends AbstractTest { diff --git a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/URIBuilderTest.java b/lib/client-core/src/test/java/org/apache/olingo/client/core/v4/URIBuilderTest.java similarity index 95% rename from lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/URIBuilderTest.java rename to lib/client-core/src/test/java/org/apache/olingo/client/core/v4/URIBuilderTest.java index b632e6de6..29069b77f 100644 --- a/lib/client-core/src/test/java/org/apache/olingo/odata4/client/core/v4/URIBuilderTest.java +++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/v4/URIBuilderTest.java @@ -16,14 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.client.core.v4; +package org.apache.olingo.client.core.v4; import java.net.URI; import java.net.URISyntaxException; -import org.apache.olingo.odata4.client.api.ODataV4Client; -import org.apache.olingo.odata4.client.api.uri.V4URIBuilder; -import org.apache.olingo.odata4.client.core.AbstractTest; + +import org.apache.olingo.client.api.ODataV4Client; +import org.apache.olingo.client.api.uri.V4URIBuilder; +import org.apache.olingo.client.core.AbstractTest; + import static org.junit.Assert.assertEquals; + import org.junit.Test; public class URIBuilderTest extends AbstractTest { diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v3/metadata.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v3/metadata.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v3/metadata.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v3/metadata.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v3/northwind-metadata.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v3/northwind-metadata.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v3/northwind-metadata.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v3/northwind-metadata.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v3/serviceDocument.json b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v3/serviceDocument.json similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v3/serviceDocument.json rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v3/serviceDocument.json diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v3/serviceDocument.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v3/serviceDocument.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v3/serviceDocument.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v3/serviceDocument.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/demo-metadata.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/demo-metadata.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/demo-metadata.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/demo-metadata.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/fromdoc1-metadata.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/fromdoc1-metadata.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/fromdoc1-metadata.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/fromdoc1-metadata.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/fromdoc2-metadata.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/fromdoc2-metadata.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/fromdoc2-metadata.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/fromdoc2-metadata.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/fromdoc3-metadata.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/fromdoc3-metadata.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/fromdoc3-metadata.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/fromdoc3-metadata.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/metadata.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/metadata.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/metadata.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/metadata.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/northwind-metadata.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/northwind-metadata.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/northwind-metadata.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/northwind-metadata.xml diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/serviceDocument.json b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/serviceDocument.json similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/serviceDocument.json rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/serviceDocument.json diff --git a/lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/serviceDocument.xml b/lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/serviceDocument.xml similarity index 100% rename from lib/client-core/src/test/resources/org/apache/olingo/odata4/client/core/v4/serviceDocument.xml rename to lib/client-core/src/test/resources/org/apache/olingo/client/core/v4/serviceDocument.xml diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataApplicationException.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataApplicationException.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataApplicationException.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataApplicationException.java index 045d1d8a3..eacac2128 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataApplicationException.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataApplicationException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api; +package org.apache.olingo.commons.api; public class ODataApplicationException extends Exception { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataException.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataException.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataException.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataException.java index 865cb758d..334b83f2c 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataException.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api; +package org.apache.olingo.commons.api; public class ODataException extends Exception { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataNotImplementedException.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataNotImplementedException.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataNotImplementedException.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataNotImplementedException.java index e6804a20c..8cb809634 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/ODataNotImplementedException.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/ODataNotImplementedException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api; +package org.apache.olingo.commons.api; public class ODataNotImplementedException extends ODataException { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/Edm.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/Edm.java similarity index 98% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/Edm.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/Edm.java index 26861e345..d9ee17bdc 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/Edm.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/Edm.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.util.List; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAction.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAction.java similarity index 94% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAction.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAction.java index 69632ec55..b267cc000 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAction.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAction.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * A CSDL action. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmActionImport.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmActionImport.java similarity index 94% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmActionImport.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmActionImport.java index ff6f5195d..428fbdffd 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmActionImport.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmActionImport.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An EdmActionImport. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmActionImportInfo.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmActionImportInfo.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmActionImportInfo.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmActionImportInfo.java index 18f0d7438..1af5ce622 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmActionImportInfo.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmActionImportInfo.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.net.URI; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAnnotatable.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAnnotatable.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAnnotatable.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAnnotatable.java index ac3187f97..1ba20cd67 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAnnotatable.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAnnotatable.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * EdmAnnotatable can be applied to CSDL elements as described in the Conceptual Schema Definition Language. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAnnotations.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAnnotations.java similarity index 94% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAnnotations.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAnnotations.java index 524e4b78d..2aea695eb 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmAnnotations.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmAnnotations.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; //TODO: EDM Annotation Interfaces public interface EdmAnnotations { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmBindingTarget.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmBindingTarget.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmBindingTarget.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmBindingTarget.java index e46cf1365..87c9d34a9 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmBindingTarget.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmBindingTarget.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * Entity Sets or Singletons can be bound to each other using a navigation property binding so an diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmComplexType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmComplexType.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmComplexType.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmComplexType.java index 728722832..56e6e0b45 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmComplexType.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmComplexType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * A CSDL ComplexType element. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmElement.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmElement.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmElement.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmElement.java index 9fcb13f22..3076d223f 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmElement.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmElement.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An {@link EdmElement} can either be an {@link EdmNavigationProperty}, an {@link EdmProperty} or an diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntityContainer.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntityContainer.java similarity index 97% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntityContainer.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntityContainer.java index df816bc76..d30d70085 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntityContainer.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntityContainer.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * A CSDL EntityContainer element. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntitySet.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntitySet.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntitySet.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntitySet.java index 50dbe0590..3e7b66f5e 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntitySet.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntitySet.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * A CSDL EntitySet element. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntitySetInfo.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntitySetInfo.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntitySetInfo.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntitySetInfo.java index b4b998355..fe1970867 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntitySetInfo.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntitySetInfo.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.net.URI; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntityType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntityType.java similarity index 97% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntityType.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntityType.java index b582551b5..362215d61 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEntityType.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEntityType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.util.List; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEnumType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEnumType.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEnumType.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEnumType.java index d1ad9d970..cca20d91b 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmEnumType.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmEnumType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.util.List; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmException.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmException.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmException.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmException.java index 8360f08dd..bf3f1198e 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmException.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; public class EdmException extends RuntimeException { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunction.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunction.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunction.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunction.java index 084eb62e1..c7d01b017 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunction.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunction.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An EdmFunction as described in the OData specification diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunctionImport.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunctionImport.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunctionImport.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunctionImport.java index 344f76d00..31b1c2c37 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunctionImport.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunctionImport.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.util.List; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunctionImportInfo.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunctionImportInfo.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunctionImportInfo.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunctionImportInfo.java index 28fc6fa95..104a7569f 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmFunctionImportInfo.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmFunctionImportInfo.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.net.URI; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmKeyPropertyRef.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmKeyPropertyRef.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmKeyPropertyRef.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmKeyPropertyRef.java index 3b20ab56e..18cbd9bc8 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmKeyPropertyRef.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmKeyPropertyRef.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; public interface EdmKeyPropertyRef { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMappable.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMappable.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMappable.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMappable.java index c16d3577a..d53b84702 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMappable.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMappable.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * EdmMappable can be applied to CSDL elements to associate additional information. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMapping.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMapping.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMapping.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMapping.java index 2f96fc347..7c5954036 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMapping.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMapping.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * EdmMapping holds custom mapping information which can be applied to a CSDL element. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMember.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMember.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMember.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMember.java index 9633311dd..888fe778c 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmMember.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmMember.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An {@link EdmEnumType} member element. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmNamed.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmNamed.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmNamed.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmNamed.java index e9f2c28f2..503d881de 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmNamed.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmNamed.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * EdmNamed is the base interface for nearly all CSDL constructs. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmNavigationProperty.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmNavigationProperty.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmNavigationProperty.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmNavigationProperty.java index e1fc4be1a..52c645f1e 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmNavigationProperty.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmNavigationProperty.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * A CSDL NavigationProperty element diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperation.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperation.java similarity index 97% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperation.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperation.java index 4e47db60c..c6534117a 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperation.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperation.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.util.List; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperationImport.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperationImport.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperationImport.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperationImport.java index 15e8d5de7..84f28591f 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperationImport.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperationImport.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An EdmOperationImport can be an EdmActionImport or an EdmFunctionImport. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperationImportInfo.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperationImportInfo.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperationImportInfo.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperationImportInfo.java index 1c2c62a06..0b96113b4 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmOperationImportInfo.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmOperationImportInfo.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * Objects of this class contain information about one action or function import inside the EntityDataModel. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmParameter.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmParameter.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmParameter.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmParameter.java index 9ba655ac0..a0cfe6789 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmParameter.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmParameter.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * A CSDL parameter element diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmPrimitiveType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmPrimitiveType.java similarity index 99% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmPrimitiveType.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmPrimitiveType.java index 5771157bd..7ce5c9afd 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmPrimitiveType.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmPrimitiveType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * EdmPrimitiveType is a primitive type as defined in the Entity Data Model (EDM). diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmPrimitiveTypeException.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmPrimitiveTypeException.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmPrimitiveTypeException.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmPrimitiveTypeException.java index 5691fd2a0..d9edae566 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmPrimitiveTypeException.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmPrimitiveTypeException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; public class EdmPrimitiveTypeException extends Exception { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmProperty.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmProperty.java similarity index 97% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmProperty.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmProperty.java index 6453163f7..fdaf67e5c 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmProperty.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmProperty.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * A CSDL Property element. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmReturnType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmReturnType.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmReturnType.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmReturnType.java index 556093d21..9bb849f22 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmReturnType.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmReturnType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An {@link EdmReturnType} of an {@link EdmOperation}. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmServiceMetadata.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmServiceMetadata.java similarity index 97% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmServiceMetadata.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmServiceMetadata.java index be6f2c404..b186fdd3b 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmServiceMetadata.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmServiceMetadata.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.io.InputStream; import java.util.List; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmSingleton.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmSingleton.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmSingleton.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmSingleton.java index 1fa60ab27..135f189c8 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmSingleton.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmSingleton.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An {@link EdmSingleton} represents a single entity inside the entity model. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmSingletonInfo.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmSingletonInfo.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmSingletonInfo.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmSingletonInfo.java index c709d724c..faf383526 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmSingletonInfo.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmSingletonInfo.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.net.URI; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmStructuredType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmStructuredType.java similarity index 97% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmStructuredType.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmStructuredType.java index b51595745..3c823dcb8 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmStructuredType.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmStructuredType.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; import java.util.List; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTerm.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTerm.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTerm.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTerm.java index 3a84bd020..25a2459e2 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTerm.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTerm.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An {@link EdmTerm} defines a term in a vocabulary. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmType.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmType.java similarity index 90% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmType.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmType.java index bee2fa539..985e10164 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmType.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmType.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; /** * EdmType holds the namespace of a given type and its type as {@link EdmTypeKind}. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTypeDefinition.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTypeDefinition.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTypeDefinition.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTypeDefinition.java index ce3103c80..c16ed8510 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTypeDefinition.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTypeDefinition.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * An {@link EdmTypeDefinition} defines a specialization of one of the possible primitive types. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTyped.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTyped.java similarity index 95% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTyped.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTyped.java index 010d231cb..366e359b2 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/EdmTyped.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/EdmTyped.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * EdmTyped indicates if an EDM element is of a special type and holds the multiplicity of that type. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/FullQualifiedName.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/FullQualifiedName.java similarity index 97% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/FullQualifiedName.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/FullQualifiedName.java index f7f635806..f993c2368 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/FullQualifiedName.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/FullQualifiedName.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; /** * A full qualified name of any element in the EDM consists of a name and a namespace. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/Target.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/Target.java similarity index 97% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/Target.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/Target.java index 5acadc40a..3bee0bdbf 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/Target.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/Target.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; public class Target { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/ConcurrencyMode.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/ConcurrencyMode.java similarity index 93% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/ConcurrencyMode.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/ConcurrencyMode.java index 335ae8dfb..73f5c384a 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/ConcurrencyMode.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/ConcurrencyMode.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm.constants; +package org.apache.olingo.commons.api.edm.constants; public enum ConcurrencyMode { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmContentKind.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmContentKind.java similarity index 94% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmContentKind.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmContentKind.java index 9ec3c7a94..9331f8906 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmContentKind.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmContentKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm.constants; +package org.apache.olingo.commons.api.edm.constants; /** * Specifies the content type of the value of the property being mapped via a customizable feed mapping. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmOnDelete.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmOnDelete.java similarity index 93% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmOnDelete.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmOnDelete.java index 0ee60c69c..8f9eba22c 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmOnDelete.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmOnDelete.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm.constants; +package org.apache.olingo.commons.api.edm.constants; public enum EdmOnDelete { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmTargetPath.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmTargetPath.java similarity index 96% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmTargetPath.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmTargetPath.java index 4028f8487..37ca4ca58 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmTargetPath.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmTargetPath.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm.constants; +package org.apache.olingo.commons.api.edm.constants; /** * EdmTargetPath specifies the possible default targets for an EDM property which is mapped to an atom element. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmTypeKind.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmTypeKind.java similarity index 94% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmTypeKind.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmTypeKind.java index 61348519f..13237caf0 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/EdmTypeKind.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/EdmTypeKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm.constants; +package org.apache.olingo.commons.api.edm.constants; /** * EdmTypeKind specifies the type of an EDM element. diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/ODataServiceVersion.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/ODataServiceVersion.java similarity index 98% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/ODataServiceVersion.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/ODataServiceVersion.java index 4f35ebdcb..4bd0ea906 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/ODataServiceVersion.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/ODataServiceVersion.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm.constants; +package org.apache.olingo.commons.api.edm.constants; import java.util.Collections; import java.util.HashMap; diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/StoreGeneratedPattern.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/StoreGeneratedPattern.java similarity index 93% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/StoreGeneratedPattern.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/StoreGeneratedPattern.java index 3dad36bbb..40df765e9 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/constants/StoreGeneratedPattern.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/constants/StoreGeneratedPattern.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm.constants; +package org.apache.olingo.commons.api.edm.constants; public enum StoreGeneratedPattern { diff --git a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/package-info.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/package-info.java similarity index 94% rename from lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/package-info.java rename to lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/package-info.java index 3f3229422..2a975bcfb 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/odata4/commons/api/edm/package-info.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/package-info.java @@ -16,4 +16,4 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.api.edm; +package org.apache.olingo.commons.api.edm; diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmBindingTarget.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmBindingTarget.java similarity index 78% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmBindingTarget.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmBindingTarget.java index 6e9df5647..bb7dd98b2 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmBindingTarget.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmBindingTarget.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmBindingTarget; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmBindingTarget; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public abstract class AbstractEdmBindingTarget extends EdmNamedImpl implements EdmBindingTarget { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmComplexType.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmComplexType.java similarity index 78% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmComplexType.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmComplexType.java index db52f2ede..346eb2e72 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmComplexType.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmComplexType.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmStructuredType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmStructuredType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public abstract class AbstractEdmComplexType extends AbstractEdmStructuredType implements EdmComplexType { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEntityContainer.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEntityContainer.java similarity index 87% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEntityContainer.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEntityContainer.java index d1839721b..5d108cb42 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEntityContainer.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEntityContainer.java @@ -16,17 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.util.HashMap; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; + +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public abstract class AbstractEdmEntityContainer extends EdmNamedImpl implements EdmEntityContainer { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEntityType.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEntityType.java similarity index 87% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEntityType.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEntityType.java index 75f982f4c..eb9d170b4 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEntityType.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEntityType.java @@ -16,19 +16,20 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmKeyPropertyRef; -import org.apache.olingo.odata4.commons.api.edm.EdmStructuredType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; + +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmKeyPropertyRef; +import org.apache.olingo.commons.api.edm.EdmStructuredType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public abstract class AbstractEdmEntityType extends AbstractEdmStructuredType implements EdmEntityType { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEnumType.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEnumType.java similarity index 92% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEnumType.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEnumType.java index dd89349f4..8fcf143f2 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmEnumType.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmEnumType.java @@ -16,21 +16,22 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmMember; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmInt64; + +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmMember; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.EdmInt64; public abstract class AbstractEdmEnumType extends EdmTypeImpl implements EdmEnumType { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmImpl.java similarity index 92% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmImpl.java index 34eba4b57..9890dac0b 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmImpl.java @@ -16,22 +16,22 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.util.HashMap; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmServiceMetadata; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmServiceMetadata; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public abstract class AbstractEdmImpl implements Edm { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmKeyPropertyRef.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmKeyPropertyRef.java similarity index 88% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmKeyPropertyRef.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmKeyPropertyRef.java index 157dd73d2..7e4597ed6 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmKeyPropertyRef.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmKeyPropertyRef.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmKeyPropertyRef; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmStructuredType; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmKeyPropertyRef; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmStructuredType; public abstract class AbstractEdmKeyPropertyRef implements EdmKeyPropertyRef { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmNavigationProperty.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmNavigationProperty.java similarity index 82% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmNavigationProperty.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmNavigationProperty.java index 3140ef781..dca80bd2e 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmNavigationProperty.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmNavigationProperty.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmStructuredType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmStructuredType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public abstract class AbstractEdmNavigationProperty extends EdmElementImpl implements EdmNavigationProperty { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmOperation.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmOperation.java similarity index 83% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmOperation.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmOperation.java index 933714f9d..b8485409c 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmOperation.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmOperation.java @@ -16,21 +16,22 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmBindingTarget; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmOperation; -import org.apache.olingo.odata4.commons.api.edm.EdmParameter; -import org.apache.olingo.odata4.commons.api.edm.EdmReturnType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; + +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmBindingTarget; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmOperation; +import org.apache.olingo.commons.api.edm.EdmParameter; +import org.apache.olingo.commons.api.edm.EdmReturnType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public abstract class AbstractEdmOperation extends EdmTypeImpl implements EdmOperation { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmOperationImport.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmOperationImport.java similarity index 82% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmOperationImport.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmOperationImport.java index 07bfb7c3a..96aa49f26 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmOperationImport.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmOperationImport.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmOperationImport; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmOperationImport; +import org.apache.olingo.commons.api.edm.Target; public abstract class AbstractEdmOperationImport extends EdmNamedImpl implements EdmOperationImport { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmParameter.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmParameter.java similarity index 81% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmParameter.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmParameter.java index e4adb41ed..b1d551bcc 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmParameter.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmParameter.java @@ -16,16 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmMapping; -import org.apache.olingo.odata4.commons.api.edm.EdmParameter; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmMapping; +import org.apache.olingo.commons.api.edm.EdmParameter; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; public abstract class AbstractEdmParameter extends EdmElementImpl implements EdmParameter { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmProperty.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmProperty.java similarity index 80% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmProperty.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmProperty.java index ba28f6c59..11e036562 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmProperty.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmProperty.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; public abstract class AbstractEdmProperty extends EdmElementImpl implements EdmProperty { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmReturnType.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmReturnType.java similarity index 82% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmReturnType.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmReturnType.java index 7f2fb393e..a6a6a8409 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmReturnType.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmReturnType.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmReturnType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmReturnType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; public abstract class AbstractEdmReturnType implements EdmReturnType { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmStructuredType.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmStructuredType.java similarity index 85% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmStructuredType.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmStructuredType.java index 2a3df7cc9..d48fda440 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmStructuredType.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmStructuredType.java @@ -16,20 +16,21 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.util.ArrayList; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmElement; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmStructuredType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; + +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmElement; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmStructuredType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public abstract class AbstractEdmStructuredType extends EdmTypeImpl implements EdmStructuredType { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmTypeDefinition.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmTypeDefinition.java similarity index 87% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmTypeDefinition.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmTypeDefinition.java index 6a4c03ad0..9ce14de8e 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/AbstractEdmTypeDefinition.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmTypeDefinition.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public abstract class AbstractEdmTypeDefinition extends EdmNamedImpl implements EdmTypeDefinition { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/ActionMapKey.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/ActionMapKey.java similarity index 92% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/ActionMapKey.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/ActionMapKey.java index cbecb09da..7e1874a55 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/ActionMapKey.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/ActionMapKey.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class ActionMapKey { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmActionImportInfoImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmActionImportInfoImpl.java similarity index 88% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmActionImportInfoImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmActionImportInfoImpl.java index 4e60a7f51..798cb4db9 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmActionImportInfoImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmActionImportInfoImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.net.URI; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmActionImportInfo; +import org.apache.olingo.commons.api.edm.EdmException; public class EdmActionImportInfoImpl extends EdmOperationImportInfoImpl implements EdmActionImportInfo { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmElementImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmElementImpl.java similarity index 85% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmElementImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmElementImpl.java index d93185361..1653a8f0e 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmElementImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmElementImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmElement; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmElement; public abstract class EdmElementImpl extends EdmNamedImpl implements EdmElement { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmEntitySetInfoImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmEntitySetInfoImpl.java similarity index 88% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmEntitySetInfoImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmEntitySetInfoImpl.java index 768960a85..9bbf568b6 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmEntitySetInfoImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmEntitySetInfoImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.net.URI; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySetInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmEntitySetInfo; +import org.apache.olingo.commons.api.edm.EdmException; public class EdmEntitySetInfoImpl implements EdmEntitySetInfo { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmFunctionImportInfoImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmFunctionImportInfoImpl.java similarity index 88% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmFunctionImportInfoImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmFunctionImportInfoImpl.java index 7facfe101..a2f52d64e 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmFunctionImportInfoImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmFunctionImportInfoImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.net.URI; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImportInfo; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunctionImportInfo; public class EdmFunctionImportInfoImpl extends EdmOperationImportInfoImpl implements EdmFunctionImportInfo { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmMemberImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmMemberImpl.java similarity index 87% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmMemberImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmMemberImpl.java index 7e6c998d1..79be011d0 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmMemberImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmMemberImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmMember; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmMember; public class EdmMemberImpl extends EdmNamedImpl implements EdmMember { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmNamedImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmNamedImpl.java similarity index 87% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmNamedImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmNamedImpl.java index 5f0ac2c78..8f82d567b 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmNamedImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmNamedImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmNamed; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmNamed; public abstract class EdmNamedImpl implements EdmNamed { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmOperationImportInfoImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmOperationImportInfoImpl.java similarity index 90% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmOperationImportInfoImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmOperationImportInfoImpl.java index 334669b54..5c73b6104 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmOperationImportInfoImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmOperationImportInfoImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.EdmOperationImportInfo; +import org.apache.olingo.commons.api.edm.EdmOperationImportInfo; public abstract class EdmOperationImportInfoImpl implements EdmOperationImportInfo { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmSingletonInfoImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmSingletonInfoImpl.java similarity index 88% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmSingletonInfoImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmSingletonInfoImpl.java index 6cb8a265c..6fa64893c 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmSingletonInfoImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmSingletonInfoImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.net.URI; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmSingletonInfo; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmSingletonInfo; public class EdmSingletonInfoImpl implements EdmSingletonInfo { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmStructuredTypeHelper.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmStructuredTypeHelper.java similarity index 84% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmStructuredTypeHelper.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmStructuredTypeHelper.java index 8b732aaaf..e1226dd6d 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmStructuredTypeHelper.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmStructuredTypeHelper.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; + +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; public interface EdmStructuredTypeHelper { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmTypeImpl.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmTypeImpl.java similarity index 81% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmTypeImpl.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmTypeImpl.java index c2f635a7c..7fc2808e8 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/EdmTypeImpl.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmTypeImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; public class EdmTypeImpl extends EdmNamedImpl implements EdmType { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/FunctionMapKey.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/FunctionMapKey.java similarity index 95% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/FunctionMapKey.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/FunctionMapKey.java index 3cb96a262..a9193a3ae 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/FunctionMapKey.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/FunctionMapKey.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import java.util.ArrayList; import java.util.Collections; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class FunctionMapKey { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/AbstractPrimitiveType.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/AbstractPrimitiveType.java similarity index 93% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/AbstractPrimitiveType.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/AbstractPrimitiveType.java index bb4c5c95e..09ceb3144 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/AbstractPrimitiveType.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/AbstractPrimitiveType.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; /** * Abstract implementation of the EDM primitive-type interface. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBinary.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBinary.java similarity index 96% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBinary.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBinary.java index f86b9fd5a..76110454a 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBinary.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBinary.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import org.apache.commons.codec.binary.Base64; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Binary. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBoolean.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBoolean.java similarity index 95% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBoolean.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBoolean.java index e32400083..a3de59f7b 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBoolean.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBoolean.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Boolean. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmByte.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmByte.java similarity index 94% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmByte.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmByte.java index 711e9fa9f..6c105eb81 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmByte.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmByte.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Byte. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDate.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDate.java similarity index 96% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDate.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDate.java index e13fb7b44..5f141c08f 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDate.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDate.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.util.Calendar; import java.util.TimeZone; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Date. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTimeOffset.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTimeOffset.java similarity index 98% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTimeOffset.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTimeOffset.java index d7c5ba88d..7a511d6f1 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTimeOffset.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTimeOffset.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.util.Calendar; import java.util.Date; @@ -24,7 +24,7 @@ import java.util.TimeZone; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type DateTimeOffset. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDecimal.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDecimal.java similarity index 97% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDecimal.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDecimal.java index 895d7e57c..0f04eb2fb 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDecimal.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDecimal.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigDecimal; import java.math.BigInteger; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Decimal. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDouble.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDouble.java similarity index 96% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDouble.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDouble.java index f5f46b377..f38790ab1 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDouble.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDouble.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigDecimal; import java.util.regex.Pattern; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Double. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDuration.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDuration.java similarity index 97% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDuration.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDuration.java index 538c74df9..fab05a77e 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDuration.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDuration.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigDecimal; import java.math.BigInteger; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; public final class EdmDuration extends SingletonPrimitiveType { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmGuid.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmGuid.java similarity index 95% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmGuid.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmGuid.java index cdcc0b8fb..3072795d1 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmGuid.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmGuid.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.util.UUID; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Guid. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt16.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt16.java similarity index 94% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt16.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt16.java index ee104cf51..e389da6e7 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt16.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt16.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Int16. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt32.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt32.java similarity index 94% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt32.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt32.java index 80b531316..768aa3394 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt32.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt32.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Int32. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt64.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt64.java similarity index 96% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt64.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt64.java index 9661b2f9c..308202d7b 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt64.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt64.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Int64. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmNull.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmNull.java similarity index 93% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmNull.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmNull.java index b5b43ccfa..57b1218b3 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmNull.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmNull.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; //TODO: Is this class still necessary? /** diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmPrimitiveTypeKind.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmPrimitiveTypeKind.java similarity index 94% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmPrimitiveTypeKind.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmPrimitiveTypeKind.java index 2b0b08f7e..b0deeef7a 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmPrimitiveTypeKind.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmPrimitiveTypeKind.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; //TODO: Should we delete this typekind and use a facade? public enum EdmPrimitiveTypeKind { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSByte.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSByte.java similarity index 94% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSByte.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSByte.java index 70ac12d8d..e855b53e3 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSByte.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSByte.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type SByte. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSingle.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSingle.java similarity index 96% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSingle.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSingle.java index b2c0363c0..3ec2fd49d 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSingle.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSingle.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.math.BigDecimal; import java.util.regex.Pattern; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type Single. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmString.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmString.java similarity index 96% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmString.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmString.java index 8edbc1c75..4defe91b5 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmString.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmString.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.util.regex.Pattern; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the EDM primitive type String. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmTimeOfDay.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmTimeOfDay.java similarity index 96% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmTimeOfDay.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmTimeOfDay.java index 9605fa0ca..7d8cf9e66 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmTimeOfDay.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmTimeOfDay.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import java.util.Calendar; import java.util.TimeZone; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; public final class EdmTimeOfDay extends SingletonPrimitiveType { diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/SingletonPrimitiveType.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/SingletonPrimitiveType.java similarity index 91% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/SingletonPrimitiveType.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/SingletonPrimitiveType.java index af36e4c15..48e49728c 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/SingletonPrimitiveType.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/SingletonPrimitiveType.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; /** * Abstract singleton implementation of the EDM primitive-type interface. diff --git a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/Uint7.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/Uint7.java similarity index 93% rename from lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/Uint7.java rename to lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/Uint7.java index 3f189653e..850ee0cdc 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/Uint7.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/Uint7.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; /** * Implementation of the internal primitive type "unsigned 7-bit integer". diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/ActionMapKeyTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/ActionMapKeyTest.java similarity index 94% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/ActionMapKeyTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/ActionMapKeyTest.java index 339b9be56..b4956f23e 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/ActionMapKeyTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/ActionMapKeyTest.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotSame; import static org.junit.Assert.fail; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.ActionMapKey; import org.junit.Test; public class ActionMapKeyTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/EdmImplCachingTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/EdmImplCachingTest.java similarity index 94% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/EdmImplCachingTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/EdmImplCachingTest.java index 2888c16ca..00c825918 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/EdmImplCachingTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/EdmImplCachingTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -30,16 +30,17 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmServiceMetadata; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmServiceMetadata; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/EdmImplCallCreateTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/EdmImplCallCreateTest.java similarity index 93% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/EdmImplCallCreateTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/EdmImplCallCreateTest.java index f4f30f3f7..c908419f7 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/EdmImplCallCreateTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/EdmImplCallCreateTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -30,16 +30,17 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmServiceMetadata; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmServiceMetadata; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/FunctionMapKeyTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/FunctionMapKeyTest.java similarity index 98% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/FunctionMapKeyTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/FunctionMapKeyTest.java index 640be3958..7fe61ccfc 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/FunctionMapKeyTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/FunctionMapKeyTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm; +package org.apache.olingo.commons.core.edm; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotSame; @@ -24,7 +24,8 @@ import static org.junit.Assert.assertNotSame; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.FunctionMapKey; import org.junit.Test; public class FunctionMapKeyTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/CommonPrimitiveTypeTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/CommonPrimitiveTypeTest.java similarity index 96% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/CommonPrimitiveTypeTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/CommonPrimitiveTypeTest.java index 95e11c1d4..18b0dc6cf 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/CommonPrimitiveTypeTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/CommonPrimitiveTypeTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -27,8 +27,11 @@ import java.math.BigDecimal; import java.util.Calendar; import java.util.UUID; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.EdmNull; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class CommonPrimitiveTypeTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBinaryTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBinaryTest.java similarity index 95% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBinaryTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBinaryTest.java index 09914a59b..39fd38c31 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBinaryTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBinaryTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -24,7 +24,8 @@ import static org.junit.Assert.assertTrue; import java.util.Arrays; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmBinaryTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBooleanTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBooleanTest.java similarity index 92% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBooleanTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBooleanTest.java index bc93aee15..1abca669c 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmBooleanTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmBooleanTest.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmBooleanTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmByteTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmByteTest.java similarity index 93% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmByteTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmByteTest.java index a3b9a78df..ddf819ff4 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmByteTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmByteTest.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class EdmByteTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTest.java similarity index 94% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTest.java index 45bd47961..3d966bce4 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; @@ -24,7 +24,8 @@ import java.util.Calendar; import java.util.Date; import java.util.TimeZone; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmDateTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTimeOffsetTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTimeOffsetTest.java similarity index 96% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTimeOffsetTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTimeOffsetTest.java index a6b85516c..f92fbecda 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDateTimeOffsetTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDateTimeOffsetTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; @@ -25,7 +25,8 @@ import java.util.Calendar; import java.util.Date; import java.util.TimeZone; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmDateTimeOffsetTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDecimalTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDecimalTest.java similarity index 96% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDecimalTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDecimalTest.java index 7bff07135..9f987a7e9 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDecimalTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDecimalTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; @@ -24,7 +24,9 @@ import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class EdmDecimalTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDoubleTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDoubleTest.java similarity index 96% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDoubleTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDoubleTest.java index 9085a686a..abb3a6bf2 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDoubleTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDoubleTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; @@ -24,7 +24,9 @@ import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class EdmDoubleTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDurationTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDurationTest.java similarity index 96% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDurationTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDurationTest.java index 7384cea88..7b97f7eba 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmDurationTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDurationTest.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import java.math.BigDecimal; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmDurationTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmGuidTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmGuidTest.java similarity index 92% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmGuidTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmGuidTest.java index bc39120f2..c6d73ca42 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmGuidTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmGuidTest.java @@ -16,13 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import java.util.UUID; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmGuidTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt16Test.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt16Test.java similarity index 93% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt16Test.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt16Test.java index 7c5150542..458e1d49b 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt16Test.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt16Test.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class EdmInt16Test extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt32Test.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt32Test.java similarity index 93% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt32Test.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt32Test.java index 414e98423..f0ada7e35 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt32Test.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt32Test.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class EdmInt32Test extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt64Test.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt64Test.java similarity index 94% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt64Test.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt64Test.java index 35fe137f1..d7047701d 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmInt64Test.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmInt64Test.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class EdmInt64Test extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmNullTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmNullTest.java similarity index 90% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmNullTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmNullTest.java index 975639374..3a9daafba 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmNullTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmNullTest.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertNull; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmNullTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSByteTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSByteTest.java similarity index 92% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSByteTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSByteTest.java index 68296e7ed..0ebb34226 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSByteTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSByteTest.java @@ -16,14 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class EdmSByteTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSingleTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSingleTest.java similarity index 96% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSingleTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSingleTest.java index 366a7a61d..67847c772 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmSingleTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmSingleTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; @@ -24,7 +24,9 @@ import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import java.math.BigInteger; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class EdmSingleTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmStringTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmStringTest.java similarity index 94% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmStringTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmStringTest.java index ecd89fddc..993c94325 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmStringTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmStringTest.java @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmStringTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmTimeOfDayTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmTimeOfDayTest.java similarity index 95% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmTimeOfDayTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmTimeOfDayTest.java index ae342f45c..8979df9d3 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/EdmTimeOfDayTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/EdmTimeOfDayTest.java @@ -16,14 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertEquals; import java.util.Calendar; import java.util.TimeZone; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; import org.junit.Test; public class EdmTimeOfDayTest extends PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/PrimitiveTypeBaseTest.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/PrimitiveTypeBaseTest.java similarity index 96% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/PrimitiveTypeBaseTest.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/PrimitiveTypeBaseTest.java index a1949ea6b..fd752fcb1 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/PrimitiveTypeBaseTest.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/PrimitiveTypeBaseTest.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; public abstract class PrimitiveTypeBaseTest { diff --git a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/UInt7Test.java b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/UInt7Test.java similarity index 85% rename from lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/UInt7Test.java rename to lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/UInt7Test.java index b9c25fd9a..05807ee0e 100644 --- a/lib/commons-core/src/test/java/org/apache/olingo/odata4/commons/core/edm/primitivetype/UInt7Test.java +++ b/lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/primitivetype/UInt7Test.java @@ -16,11 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.commons.core.edm.primitivetype; +package org.apache.olingo.commons.core.edm.primitivetype; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.Uint7; import org.junit.Test; public class UInt7Test extends PrimitiveTypeBaseTest { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Action.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Action.java similarity index 96% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Action.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Action.java index ee4a3c489..e040a70f5 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Action.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Action.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ActionImport.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ActionImport.java similarity index 87% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ActionImport.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ActionImport.java index 931109472..c7e44b920 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ActionImport.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ActionImport.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Target; public class ActionImport extends OperationImport { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/AliasInfo.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/AliasInfo.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/AliasInfo.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/AliasInfo.java index 3ab5b6179..ec7a753a7 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/AliasInfo.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/AliasInfo.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; public class AliasInfo { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Annotation.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Annotation.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Annotation.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Annotation.java index 3f3280b15..6498190fe 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Annotation.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Annotation.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class Annotation { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/BindingTarget.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/BindingTarget.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/BindingTarget.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/BindingTarget.java index dccec2915..876164c74 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/BindingTarget.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/BindingTarget.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public abstract class BindingTarget { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ComplexType.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ComplexType.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ComplexType.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ComplexType.java index 4857b3713..c164ab40e 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ComplexType.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ComplexType.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class ComplexType extends StructuredType { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EdmProvider.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EdmProvider.java similarity index 96% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EdmProvider.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EdmProvider.java index 738180360..ae58c528e 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EdmProvider.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EdmProvider.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public abstract class EdmProvider { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityContainer.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityContainer.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityContainer.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityContainer.java index 70a702f83..43e41e303 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityContainer.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityContainer.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class EntityContainer { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityContainerInfo.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityContainerInfo.java similarity index 91% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityContainerInfo.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityContainerInfo.java index aa08637b2..f46401e0f 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityContainerInfo.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityContainerInfo.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class EntityContainerInfo { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntitySet.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntitySet.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntitySet.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntitySet.java index 8fbfb912f..f02633b16 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntitySet.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntitySet.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class EntitySet extends BindingTarget { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntitySetPath.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntitySetPath.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntitySetPath.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntitySetPath.java index 4df76f8bb..d9380a965 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntitySetPath.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntitySetPath.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; //TODO: Do we really need this class? public class EntitySetPath { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityType.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityType.java similarity index 94% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityType.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityType.java index dec7584b8..84888e510 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EntityType.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EntityType.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class EntityType extends StructuredType { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EnumMember.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EnumMember.java similarity index 91% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EnumMember.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EnumMember.java index 83870c9ad..5bd9445e9 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EnumMember.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EnumMember.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.EdmMember; +import org.apache.olingo.commons.api.edm.EdmMember; public class EnumMember implements EdmMember { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EnumType.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EnumType.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EnumType.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EnumType.java index 6f83f3537..0d48cc0a3 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/EnumType.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/EnumType.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class EnumType { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Expression.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Expression.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Expression.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Expression.java index eaa1e346e..c225467a2 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Expression.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Expression.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; //TODO: Expression implementation public class Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Function.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Function.java similarity index 96% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Function.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Function.java index 6ada83f20..0166562bf 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Function.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Function.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/FunctionImport.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/FunctionImport.java similarity index 90% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/FunctionImport.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/FunctionImport.java index 6b82bbede..f9e4217f3 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/FunctionImport.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/FunctionImport.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Target; public class FunctionImport extends OperationImport { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Mapping.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Mapping.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Mapping.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Mapping.java index a968fbd6f..7d23e9b26 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Mapping.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Mapping.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.EdmMapping; +import org.apache.olingo.commons.api.edm.EdmMapping; public class Mapping implements EdmMapping { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/NavigationProperty.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/NavigationProperty.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/NavigationProperty.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/NavigationProperty.java index 773485f01..4e3a8243e 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/NavigationProperty.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/NavigationProperty.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmOnDelete; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmOnDelete; public class NavigationProperty { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/NavigationPropertyBinding.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/NavigationPropertyBinding.java similarity index 91% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/NavigationPropertyBinding.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/NavigationPropertyBinding.java index 0e82a3ca3..9195ea431 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/NavigationPropertyBinding.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/NavigationPropertyBinding.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.Target; public class NavigationPropertyBinding { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Operation.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Operation.java similarity index 97% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Operation.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Operation.java index d2a7dfe97..6235b2f38 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Operation.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Operation.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/OperationImport.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/OperationImport.java similarity index 91% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/OperationImport.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/OperationImport.java index bd845bd71..dfa7e0402 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/OperationImport.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/OperationImport.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.Target; public abstract class OperationImport { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Parameter.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Parameter.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Parameter.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Parameter.java index 50dcee87f..c972cb89a 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Parameter.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Parameter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class Parameter { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Property.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Property.java similarity index 96% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Property.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Property.java index 064779a4e..68ec702bb 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Property.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Property.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class Property { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/PropertyRef.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/PropertyRef.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/PropertyRef.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/PropertyRef.java index f5ab3b0d7..cf64050cb 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/PropertyRef.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/PropertyRef.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; public class PropertyRef { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ReferentialConstraint.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ReferentialConstraint.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ReferentialConstraint.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ReferentialConstraint.java index ee0b3a377..bf454eb70 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ReferentialConstraint.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ReferentialConstraint.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; public class ReferentialConstraint { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ReturnType.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ReturnType.java similarity index 94% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ReturnType.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ReturnType.java index 45d269047..1206a9dba 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/ReturnType.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/ReturnType.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class ReturnType { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Schema.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Schema.java similarity index 98% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Schema.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Schema.java index 480a28ee4..ce249da64 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Schema.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Schema.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Singleton.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Singleton.java similarity index 91% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Singleton.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Singleton.java index b8607db59..a6560c2fc 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Singleton.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Singleton.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class Singleton extends BindingTarget { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/StructuredType.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/StructuredType.java similarity index 94% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/StructuredType.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/StructuredType.java index f91e55e86..fec63fae5 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/StructuredType.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/StructuredType.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public abstract class StructuredType { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Term.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Term.java similarity index 96% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Term.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Term.java index b0ddbe649..9990cb9aa 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/Term.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/Term.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class Term { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/TypeDefinition.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/TypeDefinition.java similarity index 94% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/TypeDefinition.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/TypeDefinition.java index 55d0ebff9..f90a378f7 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/edm/provider/TypeDefinition.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/edm/provider/TypeDefinition.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.edm.provider; +package org.apache.olingo.server.api.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.FullQualifiedName; public class TypeDefinition { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfo.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfo.java similarity index 97% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfo.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfo.java index 9bca76a77..7fbc2d12d 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfo.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfo.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoAll.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoAll.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoAll.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoAll.java index 5a1e0c789..5845ad450 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoAll.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoAll.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoBatch.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoBatch.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoBatch.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoBatch.java index 4e3142efb..d4debad4b 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoBatch.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoBatch.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Used for URI info kind {@link UriInfoKind#batch} to describe URIs like diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoCrossjoin.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoCrossjoin.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoCrossjoin.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoCrossjoin.java index d74cf1291..15a42bbd3 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoCrossjoin.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoCrossjoin.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoEntityId.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoEntityId.java similarity index 79% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoEntityId.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoEntityId.java index b28f37362..2bac67c7f 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoEntityId.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoEntityId.java @@ -16,16 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.server.api.uri.queryoption.CustomQueryOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.ExpandOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.FormatOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.IdOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectOption; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.server.api.uri.queryoption.CustomQueryOption; +import org.apache.olingo.server.api.uri.queryoption.ExpandOption; +import org.apache.olingo.server.api.uri.queryoption.FormatOption; +import org.apache.olingo.server.api.uri.queryoption.IdOption; +import org.apache.olingo.server.api.uri.queryoption.SelectOption; /** * Used for URI info kind {@link UriInfoKind#entityId} to describe URIs like diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoKind.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoKind.java similarity index 97% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoKind.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoKind.java index 7065edf24..ec86fd9e0 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoKind.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Defining the various info kinds diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoMetadata.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoMetadata.java similarity index 90% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoMetadata.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoMetadata.java index d23d93e1a..49cf9056e 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoMetadata.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoMetadata.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.server.api.uri.queryoption.FormatOption; +import org.apache.olingo.server.api.uri.queryoption.FormatOption; /** * Used for URI info kind {@link UriInfoKind#metadata} to describe URIs like diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoResource.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoResource.java similarity index 77% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoResource.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoResource.java index c7f90c256..a7f759e74 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoResource.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoResource.java @@ -16,22 +16,22 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; import java.util.List; -import org.apache.olingo.odata4.server.api.uri.queryoption.CustomQueryOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.ExpandOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.FilterOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.FormatOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.IdOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.CountOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.OrderByOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SearchOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SkipOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SkipTokenOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.TopOption; +import org.apache.olingo.server.api.uri.queryoption.CountOption; +import org.apache.olingo.server.api.uri.queryoption.CustomQueryOption; +import org.apache.olingo.server.api.uri.queryoption.ExpandOption; +import org.apache.olingo.server.api.uri.queryoption.FilterOption; +import org.apache.olingo.server.api.uri.queryoption.FormatOption; +import org.apache.olingo.server.api.uri.queryoption.IdOption; +import org.apache.olingo.server.api.uri.queryoption.OrderByOption; +import org.apache.olingo.server.api.uri.queryoption.SearchOption; +import org.apache.olingo.server.api.uri.queryoption.SelectOption; +import org.apache.olingo.server.api.uri.queryoption.SkipOption; +import org.apache.olingo.server.api.uri.queryoption.SkipTokenOption; +import org.apache.olingo.server.api.uri.queryoption.TopOption; /** * Used for URI info kind {@link UriInfoKind#resource} to describe URIs like diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoService.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoService.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoService.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoService.java index a6c9eb9c4..ab2ccb629 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriInfoService.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriInfoService.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Used for URI info kind {@link UriInfoKind#service} to describe URIs like diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriParameter.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriParameter.java similarity index 91% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriParameter.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriParameter.java index 19584c9d5..669c4dd8b 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriParameter.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriParameter.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; /** * Represents an function parameter or key predicate when used in the URI. diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResource.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResource.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResource.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResource.java index a83c5da98..9d22435d0 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResource.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResource.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Super interface for all objects representing resource parts. diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceAction.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceAction.java similarity index 88% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceAction.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceAction.java index 83c83e583..ee2ddcb43 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceAction.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceAction.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; /** * Used to describe an action used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceComplexProperty.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceComplexProperty.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceComplexProperty.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceComplexProperty.java index e0b0425ff..72affe871 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceComplexProperty.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceComplexProperty.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmComplexType; /** * Used to describe an complex property used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceCount.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceCount.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceCount.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceCount.java index 96dc65a42..ef68b4bbc 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceCount.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceCount.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Used to describe an $count used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceEntitySet.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceEntitySet.java similarity index 87% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceEntitySet.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceEntitySet.java index 8521e0673..d3ef52e4a 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceEntitySet.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceEntitySet.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmType; /** * Used to describe an entity set used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceFunction.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceFunction.java similarity index 88% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceFunction.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceFunction.java index 12df0042e..a4da5eef5 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceFunction.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceFunction.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmType; /** * Used to describe an function import or bound function used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceIt.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceIt.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceIt.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceIt.java index 55a1decd6..8854f8c36 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceIt.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceIt.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.EdmType; /** * Class indicating the $it reference. $it may be used within expression to diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceKind.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceKind.java similarity index 98% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceKind.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceKind.java index ff25808b5..6cecce71f 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceKind.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Defining the various resource part types diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaAll.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaAll.java similarity index 90% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaAll.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaAll.java index 5630b372d..6fa218df9 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaAll.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaAll.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; /** * Used to describe an all lambda expression used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaAny.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaAny.java similarity index 90% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaAny.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaAny.java index 007cc7b7d..57b127b5e 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaAny.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaAny.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; /** * Used to describe an any lambda expression used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaVariable.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaVariable.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaVariable.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaVariable.java index dd71877cd..b84601029 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceLambdaVariable.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceLambdaVariable.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Used to describe an lambda variable used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceNavigation.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceNavigation.java similarity index 89% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceNavigation.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceNavigation.java index 0d349f5ff..16f8786c0 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceNavigation.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceNavigation.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmType; /** * Used to describe an navigation property used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourcePartTyped.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourcePartTyped.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourcePartTyped.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourcePartTyped.java index c43e8c6a9..465281747 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourcePartTyped.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourcePartTyped.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.EdmType; /** * Used to describe an typed resource part (super interface) diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourcePrimitiveProperty.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourcePrimitiveProperty.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourcePrimitiveProperty.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourcePrimitiveProperty.java index ce353356b..7f4265c6a 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourcePrimitiveProperty.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourcePrimitiveProperty.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Used to describe an primitive property used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceProperty.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceProperty.java similarity index 90% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceProperty.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceProperty.java index c73f979be..72af9cf4d 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceProperty.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceProperty.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; /** * Used to describe an resource part which is an property (super interface) diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceRef.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceRef.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceRef.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceRef.java index 2d7a5ea6a..d5af94714 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceRef.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceRef.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceRoot.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceRoot.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceRoot.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceRoot.java index 3962824d7..ebd3e4744 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceRoot.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceRoot.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Class indicating the $root reference. $root may be used within expressions to diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceSingleton.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceSingleton.java similarity index 87% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceSingleton.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceSingleton.java index 0cbdb49dc..b523962bf 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceSingleton.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceSingleton.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmSingleton; /** * Used to describe an entity set used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceValue.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceValue.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceValue.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceValue.java index 4a6ede6c7..aa92dfdbe 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/UriResourceValue.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriResourceValue.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri; +package org.apache.olingo.server.api.uri; /** * Used to describe an $value used within an resource path diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/AliasQueryOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/AliasQueryOption.java similarity index 86% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/AliasQueryOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/AliasQueryOption.java index 4788b1864..24fb1f293 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/AliasQueryOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/AliasQueryOption.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; public interface AliasQueryOption extends QueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/CountOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/CountOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/CountOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/CountOption.java index 522307020..7ffef9ef4 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/CountOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/CountOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface CountOption extends SystemQueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/CustomQueryOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/CustomQueryOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/CustomQueryOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/CustomQueryOption.java index 16e4e1587..0d2d7fca5 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/CustomQueryOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/CustomQueryOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface CustomQueryOption extends QueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExceptionVisitExpand.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExceptionVisitExpand.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExceptionVisitExpand.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExceptionVisitExpand.java index d41c5d68a..084b387a2 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExceptionVisitExpand.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExceptionVisitExpand.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public class ExceptionVisitExpand extends Exception { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExpandItem.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExpandItem.java similarity index 87% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExpandItem.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExpandItem.java index cb1b7203b..d15c4b8d8 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExpandItem.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExpandItem.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriInfoResource; public interface ExpandItem { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExpandOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExpandOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExpandOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExpandOption.java index f1544c87c..db5b6ea7a 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/ExpandOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/ExpandOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FilterOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/FilterOption.java similarity index 86% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FilterOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/FilterOption.java index 6b5186d80..0da541a70 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FilterOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/FilterOption.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; public interface FilterOption extends SystemQueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FormatOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/FormatOption.java similarity index 94% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FormatOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/FormatOption.java index 84ba04fbd..e2f6d0afb 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FormatOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/FormatOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface FormatOption extends SystemQueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/IdOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/IdOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/IdOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/IdOption.java index a7b3ac03a..7ef8d7142 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/IdOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/IdOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface IdOption extends SystemQueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/LevelsExpandOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/LevelsExpandOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/LevelsExpandOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/LevelsExpandOption.java index b52d93bd1..1026b0c00 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/LevelsExpandOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/LevelsExpandOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface LevelsExpandOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/OrderByItem.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/OrderByItem.java similarity index 88% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/OrderByItem.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/OrderByItem.java index b4e6bdfe6..856cc43ef 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/OrderByItem.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/OrderByItem.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; public interface OrderByItem { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/OrderByOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/OrderByOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/OrderByOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/OrderByOption.java index 667c2f491..175274713 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/OrderByOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/OrderByOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/QueryOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/QueryOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/QueryOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/QueryOption.java index d8771a52d..72cef7bc8 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/QueryOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/QueryOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface QueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SearchOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SearchOption.java similarity index 86% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SearchOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SearchOption.java index c1be7bef1..17716b7db 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SearchOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SearchOption.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.search.SearchExpression; +import org.apache.olingo.server.api.uri.queryoption.search.SearchExpression; public interface SearchOption extends SystemQueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SelectItem.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SelectItem.java similarity index 80% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SelectItem.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SelectItem.java index 196fa39f6..16c551ff8 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SelectItem.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SelectItem.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriInfoResource; public interface SelectItem { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SelectOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SelectOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SelectOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SelectOption.java index b8b5d1281..bb878f561 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SelectOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SelectOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SkipOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SkipOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SkipOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SkipOption.java index 14745add0..1156bc4da 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SkipOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SkipOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface SkipOption extends SystemQueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SkipTokenOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SkipTokenOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SkipTokenOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SkipTokenOption.java index 057f5c5ed..c0d6cc6be 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SkipTokenOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SkipTokenOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface SkipTokenOption extends SystemQueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SupportedQueryOptions.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SupportedQueryOptions.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SupportedQueryOptions.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SupportedQueryOptions.java index 63ddf117b..b29c5e585 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SupportedQueryOptions.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SupportedQueryOptions.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public enum SupportedQueryOptions { FILTER("$filter"), diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SystemQueryOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SystemQueryOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SystemQueryOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SystemQueryOption.java index 8ce1a90fc..a34f16c56 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SystemQueryOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/SystemQueryOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface SystemQueryOption extends QueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/TopOption.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/TopOption.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/TopOption.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/TopOption.java index df3e257f4..26ca27b7e 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/TopOption.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/TopOption.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption; +package org.apache.olingo.server.api.uri.queryoption; public interface TopOption extends SystemQueryOption { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/AliasExpression.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/AliasExpression.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/AliasExpression.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/AliasExpression.java index 665f7b138..9a0a59f41 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/AliasExpression.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/AliasExpression.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public interface AliasExpression extends Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/BinaryExpression.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/BinaryExpression.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/BinaryExpression.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/BinaryExpression.java index ae1f1acbd..94ebfb589 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/BinaryExpression.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/BinaryExpression.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public interface BinaryExpression extends Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/BinaryOperatorKind.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/BinaryOperatorKind.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/BinaryOperatorKind.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/BinaryOperatorKind.java index 8ec781c4c..e8eb1a144 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/BinaryOperatorKind.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/BinaryOperatorKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public enum BinaryOperatorKind { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Enumeration.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Enumeration.java similarity index 87% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Enumeration.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Enumeration.java index eebf14d31..baea2b7e8 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Enumeration.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Enumeration.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmEnumType; public interface Enumeration extends Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Expression.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Expression.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Expression.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Expression.java index 7f5ee2e9e..61504da3b 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Expression.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Expression.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public interface Expression extends VisitableExression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/ExpressionVisitException.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/ExpressionVisitException.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/ExpressionVisitException.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/ExpressionVisitException.java index 34926a704..8e33a9a44 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/ExpressionVisitException.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/ExpressionVisitException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public class ExpressionVisitException extends Exception { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/ExpressionVisitor.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/ExpressionVisitor.java similarity index 86% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/ExpressionVisitor.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/ExpressionVisitor.java index d4bfc9fab..39080efa6 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/ExpressionVisitor.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/ExpressionVisitor.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriInfoResource; public interface ExpressionVisitor { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/LambdaRef.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/LambdaRef.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/LambdaRef.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/LambdaRef.java index cfeeaabca..dce11b0bd 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/LambdaRef.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/LambdaRef.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public interface LambdaRef extends Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Literal.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Literal.java similarity index 87% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Literal.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Literal.java index e83e37524..aea08a43b 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Literal.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Literal.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.EdmType; public interface Literal extends Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Member.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Member.java similarity index 83% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Member.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Member.java index f0f04238e..5eafc20a7 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/Member.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/Member.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriInfoResource; public interface Member extends Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/MethodCall.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/MethodCall.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/MethodCall.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/MethodCall.java index 8b072ba62..88130a133 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/MethodCall.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/MethodCall.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; import java.util.List; diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/MethodCallKind.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/MethodCallKind.java similarity index 96% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/MethodCallKind.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/MethodCallKind.java index ae2b6374a..53b6983d5 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/MethodCallKind.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/MethodCallKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public enum MethodCallKind { CONTAINS("contains"), STARTSWITH("startswith"), ENDSWITH("endswith"), LENGTH("length"), diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/TypeLiteral.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/TypeLiteral.java similarity index 87% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/TypeLiteral.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/TypeLiteral.java index 8114198a1..a80ea2eba 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/TypeLiteral.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/TypeLiteral.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.EdmType; public interface TypeLiteral extends Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/UnaryOperator.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/UnaryOperator.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/UnaryOperator.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/UnaryOperator.java index cf409b2e5..e5aafb89f 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/UnaryOperator.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/UnaryOperator.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public interface UnaryOperator extends Expression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/UnaryOperatorKind.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/UnaryOperatorKind.java similarity index 94% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/UnaryOperatorKind.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/UnaryOperatorKind.java index 181fd59c3..f446cd68b 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/UnaryOperatorKind.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/UnaryOperatorKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; public enum UnaryOperatorKind { MINUS("-"), NOT("not"); diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/VisitableExression.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/VisitableExression.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/VisitableExression.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/VisitableExression.java index b8a04f8c3..599069f17 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/expression/VisitableExression.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/expression/VisitableExression.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.expression; +package org.apache.olingo.server.api.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.ODataApplicationException; public interface VisitableExression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchBinary.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchBinary.java similarity index 93% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchBinary.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchBinary.java index f702effb0..8ba0843a8 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchBinary.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchBinary.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.search; +package org.apache.olingo.server.api.uri.queryoption.search; public interface SearchBinary extends SearchExpression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchBinaryOperatorKind.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchBinaryOperatorKind.java similarity index 95% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchBinaryOperatorKind.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchBinaryOperatorKind.java index 1ce795c9d..4ad5ff1be 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchBinaryOperatorKind.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchBinaryOperatorKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.search; +package org.apache.olingo.server.api.uri.queryoption.search; public enum SearchBinaryOperatorKind { // and/or diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchExpression.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchExpression.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchExpression.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchExpression.java index 1f14154c4..a87888c26 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchExpression.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchExpression.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.search; +package org.apache.olingo.server.api.uri.queryoption.search; public interface SearchExpression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchTerm.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchTerm.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchTerm.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchTerm.java index 1c0939ab7..a08f2bd8f 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchTerm.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchTerm.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.search; +package org.apache.olingo.server.api.uri.queryoption.search; public interface SearchTerm extends SearchExpression { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchUnary.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchUnary.java similarity index 92% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchUnary.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchUnary.java index 63757d609..5492debbb 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchUnary.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchUnary.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.search; +package org.apache.olingo.server.api.uri.queryoption.search; public interface SearchUnary { diff --git a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchUnaryOperatorKind.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchUnaryOperatorKind.java similarity index 94% rename from lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchUnaryOperatorKind.java rename to lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchUnaryOperatorKind.java index 4f3effffd..517651536 100644 --- a/lib/server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/search/SearchUnaryOperatorKind.java +++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/queryoption/search/SearchUnaryOperatorKind.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.api.uri.queryoption.search; +package org.apache.olingo.server.api.uri.queryoption.search; public enum SearchUnaryOperatorKind { NOT("not"); diff --git a/lib/server-core/pom.xml b/lib/server-core/pom.xml index 2d7c2f2d0..5f30cf5f1 100644 --- a/lib/server-core/pom.xml +++ b/lib/server-core/pom.xml @@ -75,7 +75,7 @@ true - src/main/antlr4/org/apache/olingo/odata4/server/core/uri/antlr + src/main/antlr4/org/apache/olingo/server/core/uri/antlr diff --git a/lib/server-core/src/main/antlr4/org/apache/olingo/odata4/server/core/uri/antlr/UriLexer.g4 b/lib/server-core/src/main/antlr4/org/apache/olingo/server/core/uri/antlr/UriLexer.g4 similarity index 100% rename from lib/server-core/src/main/antlr4/org/apache/olingo/odata4/server/core/uri/antlr/UriLexer.g4 rename to lib/server-core/src/main/antlr4/org/apache/olingo/server/core/uri/antlr/UriLexer.g4 diff --git a/lib/server-core/src/main/antlr4/org/apache/olingo/odata4/server/core/uri/antlr/UriParser.g4 b/lib/server-core/src/main/antlr4/org/apache/olingo/server/core/uri/antlr/UriParser.g4 similarity index 100% rename from lib/server-core/src/main/antlr4/org/apache/olingo/odata4/server/core/uri/antlr/UriParser.g4 rename to lib/server-core/src/main/antlr4/org/apache/olingo/server/core/uri/antlr/UriParser.g4 diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmActionImpl.java similarity index 76% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmActionImpl.java index 6f5d6fd69..511890be1 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmActionImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.Action; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.server.api.edm.provider.Action; public class EdmActionImpl extends EdmOperationImpl implements EdmAction { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImportImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmActionImportImpl.java similarity index 77% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImportImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmActionImportImpl.java index 691842d26..d42352508 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImportImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmActionImportImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.server.api.edm.provider.ActionImport; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.server.api.edm.provider.ActionImport; public class EdmActionImportImpl extends EdmOperationImportImpl implements EdmActionImport { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmBindingTargetImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmBindingTargetImpl.java similarity index 81% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmBindingTargetImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmBindingTargetImpl.java index be8b35bd5..9cbfa6865 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmBindingTargetImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmBindingTargetImpl.java @@ -16,19 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.Iterator; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmBindingTarget; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmBindingTarget; -import org.apache.olingo.odata4.server.api.edm.provider.BindingTarget; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationPropertyBinding; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmBindingTarget; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.Target; +import org.apache.olingo.commons.core.edm.AbstractEdmBindingTarget; +import org.apache.olingo.server.api.edm.provider.BindingTarget; +import org.apache.olingo.server.api.edm.provider.NavigationPropertyBinding; public abstract class EdmBindingTargetImpl extends AbstractEdmBindingTarget { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmComplexTypeImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmComplexTypeImpl.java similarity index 76% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmComplexTypeImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmComplexTypeImpl.java index e409d09e2..281bb6f26 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmComplexTypeImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmComplexTypeImpl.java @@ -16,16 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmComplexType; -import org.apache.olingo.odata4.commons.core.edm.EdmStructuredTypeHelper; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; + +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmComplexType; +import org.apache.olingo.commons.core.edm.EdmStructuredTypeHelper; +import org.apache.olingo.server.api.edm.provider.ComplexType; public class EdmComplexTypeImpl extends AbstractEdmComplexType { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityContainerImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntityContainerImpl.java similarity index 75% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityContainerImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntityContainerImpl.java index 9bc32fc09..baa0591a4 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityContainerImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntityContainerImpl.java @@ -16,22 +16,22 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmEntityContainer; -import org.apache.olingo.odata4.server.api.edm.provider.ActionImport; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainerInfo; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySet; -import org.apache.olingo.odata4.server.api.edm.provider.FunctionImport; -import org.apache.olingo.odata4.server.api.edm.provider.Singleton; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.core.edm.AbstractEdmEntityContainer; +import org.apache.olingo.server.api.edm.provider.ActionImport; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainerInfo; +import org.apache.olingo.server.api.edm.provider.EntitySet; +import org.apache.olingo.server.api.edm.provider.FunctionImport; +import org.apache.olingo.server.api.edm.provider.Singleton; public class EdmEntityContainerImpl extends AbstractEdmEntityContainer { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntitySetImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntitySetImpl.java similarity index 77% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntitySetImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntitySetImpl.java index 7305b1e5e..d5de2c587 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntitySetImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntitySetImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySet; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.server.api.edm.provider.EntitySet; public class EdmEntitySetImpl extends EdmBindingTargetImpl implements EdmEntitySet { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityTypeImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntityTypeImpl.java similarity index 76% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityTypeImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntityTypeImpl.java index 41b8ea9b0..84373840a 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityTypeImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEntityTypeImpl.java @@ -16,23 +16,23 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.ArrayList; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmKeyPropertyRef; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmEntityType; -import org.apache.olingo.odata4.commons.core.edm.EdmStructuredTypeHelper; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmKeyPropertyRef; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmEntityType; +import org.apache.olingo.commons.core.edm.EdmStructuredTypeHelper; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.PropertyRef; public class EdmEntityTypeImpl extends AbstractEdmEntityType { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEnumTypeImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEnumTypeImpl.java similarity index 77% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEnumTypeImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEnumTypeImpl.java index 4e88b4971..cb263c7ab 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEnumTypeImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmEnumTypeImpl.java @@ -16,17 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmMember; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmEnumType; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.EnumType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmMember; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmEnumType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.EnumType; public class EdmEnumTypeImpl extends AbstractEdmEnumType implements EdmEnumType { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImpl.java similarity index 76% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImpl.java index f2e3cf2fb..c03bbeaf9 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImpl.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmReturnType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.Function; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmReturnType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.server.api.edm.provider.Function; public class EdmFunctionImpl extends EdmOperationImpl implements EdmFunction { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImportImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImportImpl.java similarity index 78% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImportImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImportImpl.java index f4e06f133..e91b105d3 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImportImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImportImpl.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.server.api.edm.provider.FunctionImport; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.server.api.edm.provider.FunctionImport; public class EdmFunctionImportImpl extends EdmOperationImportImpl implements EdmFunctionImport { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmKeyPropertyRefImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmKeyPropertyRefImpl.java similarity index 83% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmKeyPropertyRefImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmKeyPropertyRefImpl.java index 06351ac35..3b7cc0f16 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmKeyPropertyRefImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmKeyPropertyRefImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmKeyPropertyRef; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.core.edm.AbstractEdmKeyPropertyRef; +import org.apache.olingo.server.api.edm.provider.PropertyRef; public class EdmKeyPropertyRefImpl extends AbstractEdmKeyPropertyRef { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNavigationPropertyImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmNavigationPropertyImpl.java similarity index 83% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNavigationPropertyImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmNavigationPropertyImpl.java index 339946775..58c0258f5 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNavigationPropertyImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmNavigationPropertyImpl.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmNavigationProperty; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationProperty; -import org.apache.olingo.odata4.server.api.edm.provider.ReferentialConstraint; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmNavigationProperty; +import org.apache.olingo.server.api.edm.provider.NavigationProperty; +import org.apache.olingo.server.api.edm.provider.ReferentialConstraint; public class EdmNavigationPropertyImpl extends AbstractEdmNavigationProperty { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmOperationImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmOperationImpl.java similarity index 78% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmOperationImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmOperationImpl.java index 73f440b33..9d6546cdd 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmOperationImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmOperationImpl.java @@ -16,19 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmParameter; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmOperation; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySetPath; -import org.apache.olingo.odata4.server.api.edm.provider.Operation; -import org.apache.olingo.odata4.server.api.edm.provider.Parameter; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmParameter; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.AbstractEdmOperation; +import org.apache.olingo.server.api.edm.provider.EntitySetPath; +import org.apache.olingo.server.api.edm.provider.Operation; +import org.apache.olingo.server.api.edm.provider.Parameter; public abstract class EdmOperationImpl extends AbstractEdmOperation { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmOperationImportImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmOperationImportImpl.java similarity index 77% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmOperationImportImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmOperationImportImpl.java index 51ea5f7ad..a6371df4b 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmOperationImportImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmOperationImportImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.server.api.edm.provider.OperationImport; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmOperationImport; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.core.edm.AbstractEdmOperationImport; +import org.apache.olingo.server.api.edm.provider.OperationImport; public abstract class EdmOperationImportImpl extends AbstractEdmOperationImport { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmParameterImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmParameterImpl.java similarity index 83% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmParameterImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmParameterImpl.java index 47679f6ef..d47b870fe 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmParameterImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmParameterImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmMapping; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmParameter; -import org.apache.olingo.odata4.server.api.edm.provider.Parameter; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmMapping; +import org.apache.olingo.commons.core.edm.AbstractEdmParameter; +import org.apache.olingo.server.api.edm.provider.Parameter; public class EdmParameterImpl extends AbstractEdmParameter { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmPropertyImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmPropertyImpl.java similarity index 81% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmPropertyImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmPropertyImpl.java index 46381fd73..20cafdf27 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmPropertyImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmPropertyImpl.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmMapping; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmProperty; -import org.apache.olingo.odata4.server.api.edm.provider.Property; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmMapping; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmProperty; +import org.apache.olingo.server.api.edm.provider.Property; public class EdmPropertyImpl extends AbstractEdmProperty implements EdmProperty { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmProviderImpl.java similarity index 85% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmProviderImpl.java index f2ded8cbe..1d240adde 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmProviderImpl.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.ArrayList; import java.util.Collections; @@ -24,28 +24,28 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmServiceMetadata; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmImpl; -import org.apache.olingo.odata4.server.api.edm.provider.Action; -import org.apache.olingo.odata4.server.api.edm.provider.AliasInfo; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainerInfo; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.EnumType; -import org.apache.olingo.odata4.server.api.edm.provider.Function; -import org.apache.olingo.odata4.server.api.edm.provider.Parameter; -import org.apache.olingo.odata4.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmServiceMetadata; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmImpl; +import org.apache.olingo.server.api.edm.provider.Action; +import org.apache.olingo.server.api.edm.provider.AliasInfo; +import org.apache.olingo.server.api.edm.provider.ComplexType; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainerInfo; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.EnumType; +import org.apache.olingo.server.api.edm.provider.Function; +import org.apache.olingo.server.api.edm.provider.Parameter; +import org.apache.olingo.server.api.edm.provider.TypeDefinition; public class EdmProviderImpl extends AbstractEdmImpl { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmReturnTypeImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmReturnTypeImpl.java similarity index 85% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmReturnTypeImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmReturnTypeImpl.java index 19700af04..37ad8bd87 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmReturnTypeImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmReturnTypeImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmReturnType; -import org.apache.olingo.odata4.server.api.edm.provider.ReturnType; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.core.edm.AbstractEdmReturnType; +import org.apache.olingo.server.api.edm.provider.ReturnType; public class EdmReturnTypeImpl extends AbstractEdmReturnType { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmServiceMetadataImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmServiceMetadataImpl.java similarity index 80% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmServiceMetadataImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmServiceMetadataImpl.java index ba8a46a59..42ed8eeb9 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmServiceMetadataImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmServiceMetadataImpl.java @@ -16,31 +16,31 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.io.InputStream; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySetInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmServiceMetadata; -import org.apache.olingo.odata4.commons.api.edm.EdmSingletonInfo; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; -import org.apache.olingo.odata4.commons.core.edm.EdmSingletonInfoImpl; -import org.apache.olingo.odata4.commons.core.edm.EdmActionImportInfoImpl; -import org.apache.olingo.odata4.commons.core.edm.EdmFunctionImportInfoImpl; -import org.apache.olingo.odata4.commons.core.edm.EdmEntitySetInfoImpl; -import org.apache.olingo.odata4.server.api.edm.provider.ActionImport; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainer; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySet; -import org.apache.olingo.odata4.server.api.edm.provider.FunctionImport; -import org.apache.olingo.odata4.server.api.edm.provider.Schema; -import org.apache.olingo.odata4.server.api.edm.provider.Singleton; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.EdmActionImportInfo; +import org.apache.olingo.commons.api.edm.EdmEntitySetInfo; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunctionImportInfo; +import org.apache.olingo.commons.api.edm.EdmServiceMetadata; +import org.apache.olingo.commons.api.edm.EdmSingletonInfo; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.commons.core.edm.EdmActionImportInfoImpl; +import org.apache.olingo.commons.core.edm.EdmEntitySetInfoImpl; +import org.apache.olingo.commons.core.edm.EdmFunctionImportInfoImpl; +import org.apache.olingo.commons.core.edm.EdmSingletonInfoImpl; +import org.apache.olingo.server.api.edm.provider.ActionImport; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainer; +import org.apache.olingo.server.api.edm.provider.EntitySet; +import org.apache.olingo.server.api.edm.provider.FunctionImport; +import org.apache.olingo.server.api.edm.provider.Schema; +import org.apache.olingo.server.api.edm.provider.Singleton; public class EdmServiceMetadataImpl implements EdmServiceMetadata { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmSingletonImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmSingletonImpl.java similarity index 77% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmSingletonImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmSingletonImpl.java index 9fbd0b0fd..3ad9d13bd 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmSingletonImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmSingletonImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.server.api.edm.provider.Singleton; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.server.api.edm.provider.Singleton; public class EdmSingletonImpl extends EdmBindingTargetImpl implements EdmSingleton { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmStructuredTypeHelperImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmStructuredTypeHelperImpl.java similarity index 80% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmStructuredTypeHelperImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmStructuredTypeHelperImpl.java index cc7eac701..d2ded33cd 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmStructuredTypeHelperImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmStructuredTypeHelperImpl.java @@ -16,17 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import java.util.LinkedHashMap; import java.util.Map; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.core.edm.EdmStructuredTypeHelper; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationProperty; -import org.apache.olingo.odata4.server.api.edm.provider.Property; -import org.apache.olingo.odata4.server.api.edm.provider.StructuredType; + +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.core.edm.EdmStructuredTypeHelper; +import org.apache.olingo.server.api.edm.provider.NavigationProperty; +import org.apache.olingo.server.api.edm.provider.Property; +import org.apache.olingo.server.api.edm.provider.StructuredType; public class EdmStructuredTypeHelperImpl implements EdmStructuredTypeHelper { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeDefinitionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmTypeDefinitionImpl.java similarity index 77% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeDefinitionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmTypeDefinitionImpl.java index 3c370e795..0eec8c515 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeDefinitionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/edm/provider/EdmTypeDefinitionImpl.java @@ -16,16 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.AbstractEdmTypeDefinition; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.AbstractEdmTypeDefinition; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.TypeDefinition; public class EdmTypeDefinitionImpl extends AbstractEdmTypeDefinition implements EdmTypeDefinition { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriInfoImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriInfoImpl.java similarity index 71% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriInfoImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriInfoImpl.java index e4da92372..d808a96d3 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriInfoImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriInfoImpl.java @@ -16,50 +16,50 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; import java.util.ArrayList; import java.util.Collections; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.server.api.uri.UriInfo; -import org.apache.olingo.odata4.server.api.uri.UriInfoAll; -import org.apache.olingo.odata4.server.api.uri.UriInfoBatch; -import org.apache.olingo.odata4.server.api.uri.UriInfoCrossjoin; -import org.apache.olingo.odata4.server.api.uri.UriInfoEntityId; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.UriInfoMetadata; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; -import org.apache.olingo.odata4.server.api.uri.UriInfoService; -import org.apache.olingo.odata4.server.api.uri.UriResource; -import org.apache.olingo.odata4.server.api.uri.queryoption.CustomQueryOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.ExpandOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.FilterOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.FormatOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.IdOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.CountOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.OrderByOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SearchOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SkipOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SkipTokenOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; -import org.apache.olingo.odata4.server.api.uri.queryoption.TopOption; -import org.apache.olingo.odata4.server.core.uri.queryoption.CountOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.CustomQueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FilterOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FormatOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.IdOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.OrderByOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.QueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SearchOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SkipOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SkipTokenOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SystemQueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.TopOptionImpl; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.server.api.uri.UriInfo; +import org.apache.olingo.server.api.uri.UriInfoAll; +import org.apache.olingo.server.api.uri.UriInfoBatch; +import org.apache.olingo.server.api.uri.UriInfoCrossjoin; +import org.apache.olingo.server.api.uri.UriInfoEntityId; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.UriInfoMetadata; +import org.apache.olingo.server.api.uri.UriInfoResource; +import org.apache.olingo.server.api.uri.UriInfoService; +import org.apache.olingo.server.api.uri.UriResource; +import org.apache.olingo.server.api.uri.queryoption.CountOption; +import org.apache.olingo.server.api.uri.queryoption.CustomQueryOption; +import org.apache.olingo.server.api.uri.queryoption.ExpandOption; +import org.apache.olingo.server.api.uri.queryoption.FilterOption; +import org.apache.olingo.server.api.uri.queryoption.FormatOption; +import org.apache.olingo.server.api.uri.queryoption.IdOption; +import org.apache.olingo.server.api.uri.queryoption.OrderByOption; +import org.apache.olingo.server.api.uri.queryoption.SearchOption; +import org.apache.olingo.server.api.uri.queryoption.SelectOption; +import org.apache.olingo.server.api.uri.queryoption.SkipOption; +import org.apache.olingo.server.api.uri.queryoption.SkipTokenOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.TopOption; +import org.apache.olingo.server.core.uri.queryoption.CountOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.CustomQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FilterOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FormatOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.IdOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.QueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SearchOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipTokenOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SystemQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.TopOptionImpl; public class UriInfoImpl implements UriInfo { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriParameterImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java similarity index 87% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriParameterImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java index 0a0134e90..b267a02f6 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriParameterImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.server.api.uri.UriParameter; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.api.uri.UriParameter; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; public class UriParameterImpl implements UriParameter { private String name; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceActionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceActionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceActionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceActionImpl.java index a5a539ebc..d14b7dfe1 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceActionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceActionImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceAction; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceAction; +import org.apache.olingo.server.api.uri.UriResourceKind; public class UriResourceActionImpl extends UriResourceTypedImpl implements UriResourceAction { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceComplexPropertyImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceComplexPropertyImpl.java similarity index 82% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceComplexPropertyImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceComplexPropertyImpl.java index 4ba6093f5..d912d7a94 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceComplexPropertyImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceComplexPropertyImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceComplexProperty; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceComplexProperty; +import org.apache.olingo.server.api.uri.UriResourceKind; public class UriResourceComplexPropertyImpl extends UriResourceTypedImpl implements UriResourceComplexProperty { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceCountImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceCountImpl.java similarity index 85% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceCountImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceCountImpl.java index 46ae4143f..3e673f344 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceCountImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceCountImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.server.api.uri.UriResourceCount; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceCount; +import org.apache.olingo.server.api.uri.UriResourceKind; public class UriResourceCountImpl extends UriResourceImpl implements UriResourceCount { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceEntitySetImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceEntitySetImpl.java similarity index 81% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceEntitySetImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceEntitySetImpl.java index b7033e075..032b43eeb 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceEntitySetImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceEntitySetImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceEntitySet; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceEntitySet; +import org.apache.olingo.server.api.uri.UriResourceKind; public class UriResourceEntitySetImpl extends UriResourceWithKeysImpl implements UriResourceEntitySet { protected EdmEntitySet edmEntitySet = null; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceFunctionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceFunctionImpl.java similarity index 86% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceFunctionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceFunctionImpl.java index 3f0eaa194..abb80799a 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceFunctionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceFunctionImpl.java @@ -16,17 +16,17 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriParameter; -import org.apache.olingo.odata4.server.api.uri.UriResourceFunction; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriParameter; +import org.apache.olingo.server.api.uri.UriResourceFunction; +import org.apache.olingo.server.api.uri.UriResourceKind; /** * Covers Function imports and BoundFunction in URI diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceImpl.java similarity index 86% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceImpl.java index 5441fb01f..e43d30d70 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.server.api.uri.UriResource; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResource; +import org.apache.olingo.server.api.uri.UriResourceKind; /** * Covers Functionimports and BoundFunction in URI diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceItImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceItImpl.java similarity index 87% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceItImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceItImpl.java index 665dd6e7e..94810bdfb 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceItImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceItImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceIt; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceIt; +import org.apache.olingo.server.api.uri.UriResourceKind; /** * Covers Functionimports and BoundFunction in URI diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaAllImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaAllImpl.java similarity index 76% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaAllImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaAllImpl.java index 45b136c80..a5b81af42 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaAllImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaAllImpl.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceLambdaAll; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceLambdaAll; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; public class UriResourceLambdaAllImpl extends UriResourceTypedImpl implements UriResourceLambdaAll { protected EdmProperty property; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaAnyImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaAnyImpl.java similarity index 76% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaAnyImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaAnyImpl.java index db9f14732..65b6a698d 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaAnyImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaAnyImpl.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceLambdaAny; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceLambdaAny; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; public class UriResourceLambdaAnyImpl extends UriResourceTypedImpl implements UriResourceLambdaAny { protected EdmProperty property; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaVarImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaVarImpl.java similarity index 87% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaVarImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaVarImpl.java index 3003a5178..062525abd 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceLambdaVarImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaVarImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceLambdaVariable; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceLambdaVariable; public class UriResourceLambdaVarImpl extends UriResourceTypedImpl implements UriResourceLambdaVariable { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceNavigationPropertyImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceNavigationPropertyImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceNavigationPropertyImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceNavigationPropertyImpl.java index 6cccd1f00..a95228c37 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceNavigationPropertyImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceNavigationPropertyImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceNavigation; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceNavigation; public class UriResourceNavigationPropertyImpl extends UriResourceWithKeysImpl implements UriResourceNavigation { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourcePrimitivePropertyImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourcePrimitivePropertyImpl.java similarity index 82% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourcePrimitivePropertyImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourcePrimitivePropertyImpl.java index 57a0046ef..88600b3df 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourcePrimitivePropertyImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourcePrimitivePropertyImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourcePrimitiveProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourcePrimitiveProperty; public class UriResourcePrimitivePropertyImpl extends UriResourceTypedImpl implements UriResourcePrimitiveProperty { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceRefImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceRefImpl.java similarity index 85% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceRefImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceRefImpl.java index 87e5d6561..d4abf660a 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceRefImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceRefImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceRef; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceRef; public class UriResourceRefImpl extends UriResourceImpl implements UriResourceRef { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceRootImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceRootImpl.java similarity index 86% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceRootImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceRootImpl.java index 3e7620d6b..60df6b99e 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceRootImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceRootImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceRoot; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceRoot; public class UriResourceRootImpl extends UriResourceWithKeysImpl implements UriResourceRoot { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceSingletonImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceSingletonImpl.java similarity index 82% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceSingletonImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceSingletonImpl.java index 56e408ba3..5854708b0 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceSingletonImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceSingletonImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceSingleton; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceSingleton; public class UriResourceSingletonImpl extends UriResourceTypedImpl implements UriResourceSingleton { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceStartingTypeFilterImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceStartingTypeFilterImpl.java similarity index 90% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceStartingTypeFilterImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceStartingTypeFilterImpl.java index 4c1b94621..6efe6a346 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceStartingTypeFilterImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceStartingTypeFilterImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriResourceKind; public class UriResourceStartingTypeFilterImpl extends UriResourceWithKeysImpl { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceTypedImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceTypedImpl.java similarity index 81% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceTypedImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceTypedImpl.java index a5b21b11f..b7029fcff 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceTypedImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceTypedImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.commons.api.edm.EdmStructuredType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourcePartTyped; +import org.apache.olingo.commons.api.edm.EdmStructuredType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourcePartTyped; public abstract class UriResourceTypedImpl extends UriResourceImpl implements UriResourcePartTyped { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceValueImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceValueImpl.java similarity index 85% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceValueImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceValueImpl.java index 53776141a..d366a901b 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceValueImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceValueImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceValue; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourceValue; public class UriResourceValueImpl extends UriResourceImpl implements UriResourceValue { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceWithKeysImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceWithKeysImpl.java similarity index 88% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceWithKeysImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceWithKeysImpl.java index d911aa5c2..f8827faca 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/UriResourceWithKeysImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceWithKeysImpl.java @@ -16,16 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriParameter; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourcePartTyped; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriParameter; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourcePartTyped; public abstract class UriResourceWithKeysImpl extends UriResourceImpl implements UriResourcePartTyped { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/CheckFullContextListener.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/CheckFullContextListener.java similarity index 97% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/CheckFullContextListener.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/CheckFullContextListener.java index bc68f7b2f..b1467f77f 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/CheckFullContextListener.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/CheckFullContextListener.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. ******************************************************************************/ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; import java.util.BitSet; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/Parser.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/Parser.java similarity index 85% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/Parser.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/Parser.java index bae4b2c26..842538116 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/Parser.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/Parser.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; import java.util.ArrayList; import java.util.List; @@ -29,37 +29,37 @@ import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.atn.PredictionMode; import org.antlr.v4.runtime.misc.ParseCancellationException; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.server.api.uri.UriInfo; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.UriResource; -import org.apache.olingo.odata4.server.api.uri.UriResourcePartTyped; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceImpl; -import org.apache.olingo.odata4.server.core.uri.antlr.UriLexer; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AllEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.BatchEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.CrossjoinEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.EntityEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandItemsEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.FilterExpressionEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.MetadataEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.OrderByEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.PathSegmentEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SelectEOFContext; -import org.apache.olingo.odata4.server.core.uri.queryoption.CountOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.CustomQueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FilterOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FormatOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.IdOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.LevelsOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.OrderByOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SkipOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SkipTokenOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.TopOptionImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.server.api.uri.UriInfo; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.UriResource; +import org.apache.olingo.server.api.uri.UriResourcePartTyped; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.UriResourceImpl; +import org.apache.olingo.server.core.uri.antlr.UriLexer; +import org.apache.olingo.server.core.uri.antlr.UriParserParser; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AllEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.BatchEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.CrossjoinEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.EntityEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandItemsEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.FilterExpressionEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.MetadataEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.OrderByEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.PathSegmentEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectEOFContext; +import org.apache.olingo.server.core.uri.queryoption.CountOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.CustomQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FilterOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FormatOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.IdOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.LevelsOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipTokenOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.TopOptionImpl; public class Parser { int logLevel = 0; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/RawUri.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/RawUri.java similarity index 96% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/RawUri.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/RawUri.java index fd0e64aaa..b7500a8b2 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/RawUri.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/RawUri.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; import java.util.List; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriContext.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriContext.java similarity index 77% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriContext.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriContext.java index 664910416..44607603c 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriContext.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriContext.java @@ -16,19 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; import java.util.Stack; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandPathContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandPathExtensionContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SelectItemContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SelectSegmentContext; -import org.apache.olingo.odata4.server.core.uri.parser.UriParseTreeVisitor.TypeInformation; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandItemImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectItemImpl; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandPathContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandPathExtensionContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectItemContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectSegmentContext; +import org.apache.olingo.server.core.uri.parser.UriParseTreeVisitor.TypeInformation; +import org.apache.olingo.server.core.uri.queryoption.ExpandItemImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectItemImpl; public class UriContext { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriDecoder.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriDecoder.java similarity index 96% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriDecoder.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriDecoder.java index 818e27199..9710b24e8 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriDecoder.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriDecoder.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; @@ -27,7 +27,7 @@ import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.olingo.odata4.server.core.uri.parser.RawUri.QueryOption; +import org.apache.olingo.server.core.uri.parser.RawUri.QueryOption; public class UriDecoder { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParseTreeVisitor.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParseTreeVisitor.java similarity index 83% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParseTreeVisitor.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParseTreeVisitor.java index 1561f1771..40b2a6893 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParseTreeVisitor.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParseTreeVisitor.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; import java.util.ArrayList; import java.util.List; @@ -24,164 +24,164 @@ import java.util.List; import org.antlr.v4.runtime.misc.ParseCancellationException; import org.antlr.v4.runtime.tree.ParseTree; import org.antlr.v4.runtime.tree.TerminalNodeImpl; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmElement; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.api.edm.EdmStructuredType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.UriResource; -import org.apache.olingo.odata4.server.api.uri.UriResourcePartTyped; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.BinaryOperatorKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.MethodCallKind; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.UriParameterImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceActionImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceComplexPropertyImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceCountImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceEntitySetImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceFunctionImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceItImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceLambdaAllImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceLambdaAnyImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceLambdaVarImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceNavigationPropertyImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourcePrimitivePropertyImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceRefImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceRootImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceSingletonImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceStartingTypeFilterImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceTypedImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceValueImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceWithKeysImpl; -import org.apache.olingo.odata4.server.core.uri.antlr.UriLexer; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserBaseVisitor; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AliasAndValueContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AllEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AllExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltAddContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltAllContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltAndContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltAnyContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltComparismContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltEqualityContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltHasContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltMultContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AltOrContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.AnyExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.BatchEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.BooleanNonCaseContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.CastExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.CeilingMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ConcatMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ConstSegmentContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ContainsMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.CrossjoinEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.DateMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.DayMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.EndsWithMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.EntityEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.EnumLitContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandCountOptionContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandItemContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandItemsContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandOptionContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandPathContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandPathExtensionContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ExpandRefOptionContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.FilterContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.FilterExpressionEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.FloorMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.FractionalsecondsMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.GeoDistanceMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.GeoIntersectsMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.GeoLengthMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.HourMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.IndexOfMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.InlinecountContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.IsofExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.LengthMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.LevelsContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.MaxDateTimeMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.MemberExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.MetadataEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.MinDateTimeMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.MinuteMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.MonthMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.NameValueOptListContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.NameValuePairContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.NamespaceContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.NaninfinityContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.NowMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.NullruleContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.Number_in_jsonContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.OdataIdentifierContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.OrderByContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.OrderByEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.OrderByItemContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.OrderListContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.PathSegmentContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.PathSegmentsContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.PrimitiveLiteralContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.QueryOptionContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.QueryOptionsContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.RootExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.RoundMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SecondMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SelectContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SelectEOFContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SelectItemContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SelectSegmentContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SkipContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SkiptokenContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.StartsWithMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.SubstringMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.TimeMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ToLowerMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.ToUpperMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.TopContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.TotalOffsetMinutesMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.TotalsecondsMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.TrimMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.UnaryContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser.YearMethodCallExprContext; -import org.apache.olingo.odata4.server.core.uri.queryoption.AliasQueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.CountOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandItemImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FilterOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FormatOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.LevelsOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.OrderByItemImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.OrderByOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.QueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectItemImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SkipOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SkipTokenOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SystemQueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.TopOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.BinaryImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.EnumerationImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.LiteralImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.MemberImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.MethodCallImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.TypeLiteralImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmElement; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.EdmStructuredType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.UriResource; +import org.apache.olingo.server.api.uri.UriResourcePartTyped; +import org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind; +import org.apache.olingo.server.api.uri.queryoption.expression.MethodCallKind; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.UriParameterImpl; +import org.apache.olingo.server.core.uri.UriResourceActionImpl; +import org.apache.olingo.server.core.uri.UriResourceComplexPropertyImpl; +import org.apache.olingo.server.core.uri.UriResourceCountImpl; +import org.apache.olingo.server.core.uri.UriResourceEntitySetImpl; +import org.apache.olingo.server.core.uri.UriResourceFunctionImpl; +import org.apache.olingo.server.core.uri.UriResourceImpl; +import org.apache.olingo.server.core.uri.UriResourceItImpl; +import org.apache.olingo.server.core.uri.UriResourceLambdaAllImpl; +import org.apache.olingo.server.core.uri.UriResourceLambdaAnyImpl; +import org.apache.olingo.server.core.uri.UriResourceLambdaVarImpl; +import org.apache.olingo.server.core.uri.UriResourceNavigationPropertyImpl; +import org.apache.olingo.server.core.uri.UriResourcePrimitivePropertyImpl; +import org.apache.olingo.server.core.uri.UriResourceRefImpl; +import org.apache.olingo.server.core.uri.UriResourceRootImpl; +import org.apache.olingo.server.core.uri.UriResourceSingletonImpl; +import org.apache.olingo.server.core.uri.UriResourceStartingTypeFilterImpl; +import org.apache.olingo.server.core.uri.UriResourceTypedImpl; +import org.apache.olingo.server.core.uri.UriResourceValueImpl; +import org.apache.olingo.server.core.uri.UriResourceWithKeysImpl; +import org.apache.olingo.server.core.uri.antlr.UriLexer; +import org.apache.olingo.server.core.uri.antlr.UriParserBaseVisitor; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AliasAndValueContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AllEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AllExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltAddContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltAllContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltAndContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltAnyContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltComparismContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltEqualityContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltHasContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltMultContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AltOrContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.AnyExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.BatchEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.BooleanNonCaseContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.CastExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.CeilingMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ConcatMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ConstSegmentContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ContainsMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.CrossjoinEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.DateMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.DayMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.EndsWithMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.EntityEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.EnumLitContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandCountOptionContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandItemContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandItemsContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandOptionContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandPathContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandPathExtensionContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandRefOptionContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.FilterContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.FilterExpressionEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.FloorMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.FractionalsecondsMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.GeoDistanceMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.GeoIntersectsMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.GeoLengthMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.HourMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.IndexOfMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.InlinecountContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.IsofExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.LengthMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.LevelsContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.MaxDateTimeMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.MemberExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.MetadataEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.MinDateTimeMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.MinuteMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.MonthMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.NameValueOptListContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.NameValuePairContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.NamespaceContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.NaninfinityContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.NowMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.NullruleContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.Number_in_jsonContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.OdataIdentifierContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.OrderByContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.OrderByEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.OrderByItemContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.OrderListContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.PathSegmentContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.PathSegmentsContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.PrimitiveLiteralContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.QueryOptionContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.QueryOptionsContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.RootExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.RoundMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SecondMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectEOFContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectItemContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectSegmentContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SkipContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SkiptokenContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.StartsWithMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.SubstringMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.TimeMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ToLowerMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.ToUpperMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.TopContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.TotalOffsetMinutesMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.TotalsecondsMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.TrimMethodCallExprContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.UnaryContext; +import org.apache.olingo.server.core.uri.antlr.UriParserParser.YearMethodCallExprContext; +import org.apache.olingo.server.core.uri.queryoption.AliasQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.CountOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandItemImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FilterOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FormatOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.LevelsOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByItemImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.QueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectItemImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipTokenOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SystemQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.TopOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.BinaryImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.EnumerationImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.LiteralImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.MemberImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.MethodCallImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.TypeLiteralImpl; /** * UriVisitor diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserException.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserException.java similarity index 95% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserException.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserException.java index 1e5759e35..6bc7ba9cf 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserException.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; public class UriParserException extends Exception { /** diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserSemanticException.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserSemanticException.java similarity index 95% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserSemanticException.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserSemanticException.java index c9eb30dd4..c24a1947a 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserSemanticException.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserSemanticException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; public class UriParserSemanticException extends UriParserException { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserSyntaxException.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserSyntaxException.java similarity index 95% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserSyntaxException.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserSyntaxException.java index 9fffde6a9..9ef9abefc 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/parser/UriParserSyntaxException.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserSyntaxException.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.parser; +package org.apache.olingo.server.core.uri.parser; public class UriParserSyntaxException extends UriParserException { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/AliasQueryOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/AliasQueryOptionImpl.java similarity index 83% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/AliasQueryOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/AliasQueryOptionImpl.java index 1f2433665..d61259acd 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/AliasQueryOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/AliasQueryOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.AliasQueryOption; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.api.uri.queryoption.AliasQueryOption; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; public class AliasQueryOptionImpl extends QueryOptionImpl implements AliasQueryOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/CountOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/CountOptionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/CountOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/CountOptionImpl.java index 49705dabb..59260810f 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/CountOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/CountOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.CountOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.CountOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class CountOptionImpl extends SystemQueryOptionImpl implements CountOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/CustomQueryOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/CustomQueryOptionImpl.java similarity index 86% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/CustomQueryOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/CustomQueryOptionImpl.java index 8e0b2f7aa..1197cf2fb 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/CustomQueryOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/CustomQueryOptionImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.CustomQueryOption; +import org.apache.olingo.server.api.uri.queryoption.CustomQueryOption; public class CustomQueryOptionImpl extends QueryOptionImpl implements CustomQueryOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/ExpandItemImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/ExpandItemImpl.java similarity index 80% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/ExpandItemImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/ExpandItemImpl.java index 55c48ce3f..905336b1e 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/ExpandItemImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/ExpandItemImpl.java @@ -16,24 +16,24 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; -import org.apache.olingo.odata4.server.api.uri.queryoption.ExpandItem; -import org.apache.olingo.odata4.server.api.uri.queryoption.ExpandOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.FilterOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.CountOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.LevelsExpandOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.OrderByOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SearchOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SkipOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; -import org.apache.olingo.odata4.server.api.uri.queryoption.TopOption; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.MemberImpl; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriInfoResource; +import org.apache.olingo.server.api.uri.queryoption.CountOption; +import org.apache.olingo.server.api.uri.queryoption.ExpandItem; +import org.apache.olingo.server.api.uri.queryoption.ExpandOption; +import org.apache.olingo.server.api.uri.queryoption.FilterOption; +import org.apache.olingo.server.api.uri.queryoption.LevelsExpandOption; +import org.apache.olingo.server.api.uri.queryoption.OrderByOption; +import org.apache.olingo.server.api.uri.queryoption.SearchOption; +import org.apache.olingo.server.api.uri.queryoption.SelectOption; +import org.apache.olingo.server.api.uri.queryoption.SkipOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.TopOption; +import org.apache.olingo.server.core.uri.queryoption.expression.MemberImpl; public class ExpandItemImpl implements ExpandItem { private LevelsExpandOption levelsExpandOption; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/ExpandOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/ExpandOptionImpl.java similarity index 83% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/ExpandOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/ExpandOptionImpl.java index de0252499..2389964cf 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/ExpandOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/ExpandOptionImpl.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.server.api.uri.queryoption.ExpandItem; -import org.apache.olingo.odata4.server.api.uri.queryoption.ExpandOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.ExpandItem; +import org.apache.olingo.server.api.uri.queryoption.ExpandOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class ExpandOptionImpl extends SystemQueryOptionImpl implements ExpandOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/FilterOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/FilterOptionImpl.java similarity index 80% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/FilterOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/FilterOptionImpl.java index f689b396b..47cf8a598 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/FilterOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/FilterOptionImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.FilterOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.api.uri.queryoption.FilterOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; public class FilterOptionImpl extends SystemQueryOptionImpl implements FilterOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/FormatOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/FormatOptionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/FormatOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/FormatOptionImpl.java index df0c01b55..ef8aa8e6b 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/FormatOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/FormatOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.FormatOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.FormatOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class FormatOptionImpl extends SystemQueryOptionImpl implements FormatOption { private String value; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/IdOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/IdOptionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/IdOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/IdOptionImpl.java index c916ea249..7738d5449 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/IdOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/IdOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.IdOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.IdOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class IdOptionImpl extends SystemQueryOptionImpl implements IdOption { private String value; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/LevelsOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/LevelsOptionImpl.java similarity index 85% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/LevelsOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/LevelsOptionImpl.java index 96ab83191..c568350cf 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/LevelsOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/LevelsOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.LevelsExpandOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.LevelsExpandOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class LevelsOptionImpl extends SystemQueryOptionImpl implements LevelsExpandOption { private boolean isMax; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/OrderByItemImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/OrderByItemImpl.java similarity index 86% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/OrderByItemImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/OrderByItemImpl.java index 7824c5e40..a6c9cee78 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/OrderByItemImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/OrderByItemImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.OrderByItem; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.api.uri.queryoption.OrderByItem; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; public class OrderByItemImpl implements OrderByItem { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/OrderByOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/OrderByOptionImpl.java similarity index 83% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/OrderByOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/OrderByOptionImpl.java index 7cffbbfd6..66eeb41a3 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/OrderByOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/OrderByOptionImpl.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.server.api.uri.queryoption.OrderByItem; -import org.apache.olingo.odata4.server.api.uri.queryoption.OrderByOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.OrderByItem; +import org.apache.olingo.server.api.uri.queryoption.OrderByOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class OrderByOptionImpl extends SystemQueryOptionImpl implements OrderByOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/QueryOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/QueryOptionImpl.java similarity index 90% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/QueryOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/QueryOptionImpl.java index f580d5552..c2ba9d41b 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/QueryOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/QueryOptionImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.QueryOption; +import org.apache.olingo.server.api.uri.queryoption.QueryOption; public class QueryOptionImpl implements QueryOption { private String name; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SearchOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SearchOptionImpl.java similarity index 78% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SearchOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SearchOptionImpl.java index 37a92711f..f1c7739d3 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SearchOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SearchOptionImpl.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SearchOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; -import org.apache.olingo.odata4.server.api.uri.queryoption.search.SearchExpression; +import org.apache.olingo.server.api.uri.queryoption.SearchOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.search.SearchExpression; // TODO planned: support $search public class SearchOptionImpl extends SystemQueryOptionImpl implements SearchOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SelectItemImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SelectItemImpl.java similarity index 86% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SelectItemImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SelectItemImpl.java index a3085fa11..ac655d620 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SelectItemImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SelectItemImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectItem; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriInfoResource; +import org.apache.olingo.server.api.uri.queryoption.SelectItem; public class SelectItemImpl implements SelectItem { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SelectOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SelectOptionImpl.java similarity index 83% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SelectOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SelectOptionImpl.java index 047d68bcd..aa19d2e06 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SelectOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SelectOptionImpl.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectItem; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.SelectItem; +import org.apache.olingo.server.api.uri.queryoption.SelectOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class SelectOptionImpl extends SystemQueryOptionImpl implements SelectOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SkipOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SkipOptionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SkipOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SkipOptionImpl.java index fadfd5370..6ec7e634d 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SkipOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SkipOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SkipOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.SkipOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class SkipOptionImpl extends SystemQueryOptionImpl implements SkipOption { private String value; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SkipTokenOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SkipTokenOptionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SkipTokenOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SkipTokenOptionImpl.java index 9fa7145cf..d58d5d7e8 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SkipTokenOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SkipTokenOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SkipTokenOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.SkipTokenOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; public class SkipTokenOptionImpl extends SystemQueryOptionImpl implements SkipTokenOption { private String skipTokenValue; diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SystemQueryOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SystemQueryOptionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SystemQueryOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SystemQueryOptionImpl.java index 46884912e..a01b3204d 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/SystemQueryOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/SystemQueryOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; -import org.apache.olingo.odata4.server.api.uri.queryoption.SystemQueryOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.SystemQueryOption; public class SystemQueryOptionImpl extends QueryOptionImpl implements SystemQueryOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/TopOptionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/TopOptionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/TopOptionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/TopOptionImpl.java index 208207e2b..5000d0eb0 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/TopOptionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/TopOptionImpl.java @@ -16,10 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; -import org.apache.olingo.odata4.server.api.uri.queryoption.TopOption; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.api.uri.queryoption.TopOption; /* TODO implement */ public class TopOptionImpl extends SystemQueryOptionImpl implements TopOption { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/AliasImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/AliasImpl.java similarity index 75% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/AliasImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/AliasImpl.java index 41603a3ce..0ffc9f35c 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/AliasImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/AliasImpl.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.AliasExpression; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.server.api.uri.queryoption.expression.AliasExpression; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; public class AliasImpl extends ExpressionImpl implements AliasExpression { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/BinaryImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/BinaryImpl.java similarity index 75% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/BinaryImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/BinaryImpl.java index 0a6553d12..8ec4c7eed 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/BinaryImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/BinaryImpl.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.BinaryExpression; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.BinaryOperatorKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.server.api.uri.queryoption.expression.BinaryExpression; +import org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; public class BinaryImpl extends ExpressionImpl implements BinaryExpression { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/EnumerationImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/EnumerationImpl.java similarity index 76% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/EnumerationImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/EnumerationImpl.java index 88329897b..a356fc0fa 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/EnumerationImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/EnumerationImpl.java @@ -16,16 +16,16 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Enumeration; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.server.api.uri.queryoption.expression.Enumeration; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; public class EnumerationImpl extends ExpressionImpl implements Enumeration { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/ExpressionImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/ExpressionImpl.java similarity index 84% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/ExpressionImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/ExpressionImpl.java index 306817769..af04229f1 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/ExpressionImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/ExpressionImpl.java @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; public abstract class ExpressionImpl implements Expression { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/LambdaRefImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/LambdaRefImpl.java similarity index 72% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/LambdaRefImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/LambdaRefImpl.java index 04be11fa8..f1fffe2b8 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/LambdaRefImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/LambdaRefImpl.java @@ -16,13 +16,13 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.LambdaRef; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.VisitableExression; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.server.api.uri.queryoption.expression.LambdaRef; +import org.apache.olingo.server.api.uri.queryoption.expression.VisitableExression; public class LambdaRefImpl extends ExpressionImpl implements LambdaRef, VisitableExression { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/LiteralImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/LiteralImpl.java similarity index 72% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/LiteralImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/LiteralImpl.java index cb54f0fc5..022b00b48 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/LiteralImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/LiteralImpl.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Literal; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.VisitableExression; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.server.api.uri.queryoption.expression.Literal; +import org.apache.olingo.server.api.uri.queryoption.expression.VisitableExression; public class LiteralImpl extends ExpressionImpl implements Literal, VisitableExression { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/MemberImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/MemberImpl.java similarity index 76% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/MemberImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/MemberImpl.java index d0adfb07a..18fc51963 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/MemberImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/MemberImpl.java @@ -16,19 +16,19 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Member; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.VisitableExression; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceTypedImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceWithKeysImpl; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriInfoResource; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.server.api.uri.queryoption.expression.Member; +import org.apache.olingo.server.api.uri.queryoption.expression.VisitableExression; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.UriResourceImpl; +import org.apache.olingo.server.core.uri.UriResourceTypedImpl; +import org.apache.olingo.server.core.uri.UriResourceWithKeysImpl; public class MemberImpl extends ExpressionImpl implements Member, VisitableExression { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/MethodCallImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/MethodCallImpl.java similarity index 74% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/MethodCallImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/MethodCallImpl.java index 96e5eb236..d081287ec 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/MethodCallImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/MethodCallImpl.java @@ -16,18 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.MethodCall; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.MethodCallKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.VisitableExression; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.server.api.uri.queryoption.expression.MethodCall; +import org.apache.olingo.server.api.uri.queryoption.expression.MethodCallKind; +import org.apache.olingo.server.api.uri.queryoption.expression.VisitableExression; public class MethodCallImpl extends ExpressionImpl implements MethodCall, VisitableExression { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/TypeLiteralImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/TypeLiteralImpl.java similarity index 69% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/TypeLiteralImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/TypeLiteralImpl.java index c38afe20f..9e5825f55 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/TypeLiteralImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/TypeLiteralImpl.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.TypeLiteral; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.VisitableExression; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.server.api.uri.queryoption.expression.TypeLiteral; +import org.apache.olingo.server.api.uri.queryoption.expression.VisitableExression; public class TypeLiteralImpl extends ExpressionImpl implements TypeLiteral, VisitableExression { diff --git a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/UnaryImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/UnaryImpl.java similarity index 69% rename from lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/UnaryImpl.java rename to lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/UnaryImpl.java index 4e233c37a..528cc821e 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/UnaryImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/UnaryImpl.java @@ -16,15 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.UnaryOperator; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.UnaryOperatorKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.VisitableExression; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.server.api.uri.queryoption.expression.UnaryOperator; +import org.apache.olingo.server.api.uri.queryoption.expression.UnaryOperatorKind; +import org.apache.olingo.server.api.uri.queryoption.expression.VisitableExression; public class UnaryImpl extends ExpressionImpl implements UnaryOperator, VisitableExression { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmActionImplTest.java similarity index 86% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmActionImplTest.java index 866f347b1..c51dd7978 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmActionImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -30,17 +30,19 @@ import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmParameter; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.Action; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySetPath; -import org.apache.olingo.odata4.server.api.edm.provider.Parameter; -import org.apache.olingo.odata4.server.api.edm.provider.ReturnType; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmParameter; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.server.api.edm.provider.Action; +import org.apache.olingo.server.api.edm.provider.EntitySetPath; +import org.apache.olingo.server.api.edm.provider.Parameter; +import org.apache.olingo.server.api.edm.provider.ReturnType; +import org.apache.olingo.server.core.edm.provider.EdmActionImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImportImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmActionImportImplTest.java similarity index 85% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImportImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmActionImportImplTest.java index 033800df3..dfd987142 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmActionImportImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmActionImportImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -24,14 +24,16 @@ import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.edm.provider.ActionImport; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Target; +import org.apache.olingo.server.api.edm.provider.ActionImport; +import org.apache.olingo.server.core.edm.provider.EdmActionImportImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmComplexTypeImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmComplexTypeImplTest.java similarity index 89% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmComplexTypeImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmComplexTypeImplTest.java index 9ae780bf3..11e610eba 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmComplexTypeImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmComplexTypeImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -29,15 +29,17 @@ import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmElement; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationProperty; -import org.apache.olingo.odata4.server.api.edm.provider.Property; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmElement; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.ComplexType; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.NavigationProperty; +import org.apache.olingo.server.api.edm.provider.Property; +import org.apache.olingo.server.core.edm.provider.EdmComplexTypeImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityContainerImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntityContainerImplTest.java similarity index 85% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityContainerImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntityContainerImplTest.java index a85314baa..9372de5f9 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityContainerImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntityContainerImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -26,20 +26,22 @@ import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.edm.provider.ActionImport; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainerInfo; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySet; -import org.apache.olingo.odata4.server.api.edm.provider.FunctionImport; -import org.apache.olingo.odata4.server.api.edm.provider.Singleton; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.edm.provider.ActionImport; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainerInfo; +import org.apache.olingo.server.api.edm.provider.EntitySet; +import org.apache.olingo.server.api.edm.provider.FunctionImport; +import org.apache.olingo.server.api.edm.provider.Singleton; +import org.apache.olingo.server.core.edm.provider.EdmEntityContainerImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntitySetImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntitySetImplTest.java similarity index 76% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntitySetImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntitySetImplTest.java index 85df5201a..112b60a68 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntitySetImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntitySetImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; @@ -25,18 +25,21 @@ import static org.mockito.Mockito.when; import java.util.Arrays; -import org.apache.olingo.odata4.commons.api.edm.EdmBindingTarget; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySet; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainerInfo; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySet; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationPropertyBinding; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.EdmBindingTarget; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntitySet; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Target; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainerInfo; +import org.apache.olingo.server.api.edm.provider.EntitySet; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.NavigationPropertyBinding; +import org.apache.olingo.server.api.edm.provider.PropertyRef; +import org.apache.olingo.server.core.edm.provider.EdmEntityContainerImpl; +import org.apache.olingo.server.core.edm.provider.EdmEntitySetImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Test; public class EdmEntitySetImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityTypeImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntityTypeImplTest.java similarity index 91% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityTypeImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntityTypeImplTest.java index a4a26d8fb..dde8f3e26 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEntityTypeImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEntityTypeImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -29,20 +29,22 @@ import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmElement; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmKeyPropertyRef; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationProperty; -import org.apache.olingo.odata4.server.api.edm.provider.Property; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmElement; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmKeyPropertyRef; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.ComplexType; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.NavigationProperty; +import org.apache.olingo.server.api.edm.provider.Property; +import org.apache.olingo.server.api.edm.provider.PropertyRef; +import org.apache.olingo.server.core.edm.provider.EdmEntityTypeImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEnumTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEnumTest.java similarity index 92% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEnumTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEnumTest.java index b55f625b9..748bbc28e 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmEnumTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEnumTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; @@ -28,12 +28,14 @@ import static org.mockito.Mockito.mock; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.EnumMember; -import org.apache.olingo.odata4.server.api.edm.provider.EnumType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.EnumMember; +import org.apache.olingo.server.api.edm.provider.EnumType; +import org.apache.olingo.server.core.edm.provider.EdmEnumTypeImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Test; public class EdmEnumTest extends PrimitiveTypeBaseTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImplTest.java similarity index 81% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImplTest.java index f5488d39d..b45026105 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -25,12 +25,14 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmReturnType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.edm.provider.Function; -import org.apache.olingo.odata4.server.api.edm.provider.ReturnType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmReturnType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.edm.provider.Function; +import org.apache.olingo.server.api.edm.provider.ReturnType; +import org.apache.olingo.server.core.edm.provider.EdmFunctionImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImportImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImportImplTest.java similarity index 77% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImportImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImportImplTest.java index f7d7e590d..d0cd1dbc2 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmFunctionImportImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmFunctionImportImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -27,17 +27,20 @@ import static org.mockito.Mockito.when; import java.util.Arrays; import java.util.Collections; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainerInfo; -import org.apache.olingo.odata4.server.api.edm.provider.Function; -import org.apache.olingo.odata4.server.api.edm.provider.FunctionImport; -import org.apache.olingo.odata4.server.api.edm.provider.Parameter; -import org.apache.olingo.odata4.server.api.edm.provider.ReturnType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainerInfo; +import org.apache.olingo.server.api.edm.provider.Function; +import org.apache.olingo.server.api.edm.provider.FunctionImport; +import org.apache.olingo.server.api.edm.provider.Parameter; +import org.apache.olingo.server.api.edm.provider.ReturnType; +import org.apache.olingo.server.core.edm.provider.EdmEntityContainerImpl; +import org.apache.olingo.server.core.edm.provider.EdmFunctionImportImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Test; public class EdmFunctionImportImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmKeyPropertyRefImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmKeyPropertyRefImplTest.java similarity index 92% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmKeyPropertyRefImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmKeyPropertyRefImplTest.java index ce2e374f1..adc0b30c9 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmKeyPropertyRefImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmKeyPropertyRefImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -25,13 +25,14 @@ import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmElement; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmKeyPropertyRef; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmElement; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmKeyPropertyRef; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.server.api.edm.provider.PropertyRef; +import org.apache.olingo.server.core.edm.provider.EdmKeyPropertyRefImpl; import org.junit.Test; public class EdmKeyPropertyRefImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmMemberImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmMemberImplTest.java similarity index 84% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmMemberImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmMemberImplTest.java index 26dffae2b..8653edfc7 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmMemberImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmMemberImplTest.java @@ -16,13 +16,15 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; + +import org.apache.olingo.commons.core.edm.EdmMemberImpl; -import org.apache.olingo.odata4.commons.core.edm.EdmMemberImpl; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; -import org.apache.olingo.odata4.server.api.edm.provider.EnumMember; +import org.apache.olingo.server.api.edm.provider.EnumMember; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Test; public class EdmMemberImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNamedImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmNamedImplTest.java similarity index 86% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNamedImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmNamedImplTest.java index 986acca4f..164264ec2 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNamedImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmNamedImplTest.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; -import org.apache.olingo.odata4.commons.api.edm.EdmNamed; -import org.apache.olingo.odata4.commons.core.edm.EdmNamedImpl; +import org.apache.olingo.commons.api.edm.EdmNamed; +import org.apache.olingo.commons.core.edm.EdmNamedImpl; import org.junit.Test; public class EdmNamedImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNavigationPropertyImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmNavigationPropertyImplTest.java similarity index 88% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNavigationPropertyImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmNavigationPropertyImplTest.java index c3314c33a..30c83e9e5 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmNavigationPropertyImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmNavigationPropertyImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -30,16 +30,18 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationProperty; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; -import org.apache.olingo.odata4.server.api.edm.provider.ReferentialConstraint; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.NavigationProperty; +import org.apache.olingo.server.api.edm.provider.PropertyRef; +import org.apache.olingo.server.api.edm.provider.ReferentialConstraint; +import org.apache.olingo.server.core.edm.provider.EdmNavigationPropertyImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Test; public class EdmNavigationPropertyImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmParameterImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmParameterImplTest.java similarity index 86% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmParameterImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmParameterImplTest.java index a1560ae05..d44614579 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmParameterImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmParameterImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -24,18 +24,20 @@ import static org.junit.Assert.assertNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmParameter; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EnumType; -import org.apache.olingo.odata4.server.api.edm.provider.Parameter; -import org.apache.olingo.odata4.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmParameter; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.ComplexType; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EnumType; +import org.apache.olingo.server.api.edm.provider.Parameter; +import org.apache.olingo.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.server.core.edm.provider.EdmParameterImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Test; public class EdmParameterImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmPropertyImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmPropertyImplTest.java similarity index 87% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmPropertyImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmPropertyImplTest.java index 470270813..fca16d8ce 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmPropertyImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmPropertyImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -26,18 +26,20 @@ import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EnumType; -import org.apache.olingo.odata4.server.api.edm.provider.Property; -import org.apache.olingo.odata4.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.ComplexType; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EnumType; +import org.apache.olingo.server.api.edm.provider.Property; +import org.apache.olingo.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.server.core.edm.provider.EdmPropertyImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Test; public class EdmPropertyImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImplOverloadingTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmProviderImplOverloadingTest.java similarity index 92% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImplOverloadingTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmProviderImplOverloadingTest.java index 6e677b93c..7a7b43d68 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImplOverloadingTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmProviderImplOverloadingTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -30,15 +30,16 @@ import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.edm.provider.Action; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.Function; -import org.apache.olingo.odata4.server.api.edm.provider.Parameter; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.edm.provider.Action; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.Function; +import org.apache.olingo.server.api.edm.provider.Parameter; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Before; import org.junit.Test; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmProviderImplTest.java similarity index 83% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmProviderImplTest.java index c467460b2..4f5ed85a7 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmProviderImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmProviderImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -30,23 +30,24 @@ import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.edm.provider.AliasInfo; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainerInfo; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.EnumType; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; -import org.apache.olingo.odata4.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.edm.provider.AliasInfo; +import org.apache.olingo.server.api.edm.provider.ComplexType; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainerInfo; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.EnumType; +import org.apache.olingo.server.api.edm.provider.PropertyRef; +import org.apache.olingo.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; import org.junit.Before; import org.junit.Test; @@ -125,24 +126,24 @@ public class EdmProviderImplTest { try { localEdm.getAction(fqn, null, null); } catch (EdmException e) { - assertEquals("org.apache.olingo.odata4.commons.api.ODataException: msg", e.getMessage()); + assertEquals("org.apache.olingo.commons.api.ODataException: msg", e.getMessage()); } try { localEdm.getFunction(fqn, null, null, null); } catch (EdmException e) { - assertEquals("org.apache.olingo.odata4.commons.api.ODataException: msg", e.getMessage()); + assertEquals("org.apache.olingo.commons.api.ODataException: msg", e.getMessage()); } try { localEdm.getAction(fqn, fqn, true); } catch (EdmException e) { - assertEquals("org.apache.olingo.odata4.commons.api.ODataException: msg", e.getMessage()); + assertEquals("org.apache.olingo.commons.api.ODataException: msg", e.getMessage()); } try { localEdm.getFunction(fqn, fqn, true, null); } catch (EdmException e) { - assertEquals("org.apache.olingo.odata4.commons.api.ODataException: msg", e.getMessage()); + assertEquals("org.apache.olingo.commons.api.ODataException: msg", e.getMessage()); } } diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmReturnTypeImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmReturnTypeImplTest.java similarity index 86% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmReturnTypeImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmReturnTypeImplTest.java index ad1f8f2c3..5cb9a67cf 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmReturnTypeImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmReturnTypeImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -25,16 +25,18 @@ import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import org.apache.olingo.odata4.commons.api.edm.EdmComplexType; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmReturnType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.ReturnType; +import org.apache.olingo.commons.api.edm.EdmComplexType; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmReturnType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.ReturnType; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.edm.provider.EdmReturnTypeImpl; import org.junit.Test; public class EdmReturnTypeImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmServiceMetadataImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmServiceMetadataImplTest.java similarity index 83% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmServiceMetadataImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmServiceMetadataImplTest.java index 5c7f154ac..431c45844 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmServiceMetadataImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmServiceMetadataImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -26,19 +26,20 @@ import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.EdmEntitySetInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImportInfo; -import org.apache.olingo.odata4.commons.api.edm.EdmServiceMetadata; -import org.apache.olingo.odata4.commons.api.edm.EdmSingletonInfo; -import org.apache.olingo.odata4.commons.api.edm.constants.ODataServiceVersion; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainer; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySet; -import org.apache.olingo.odata4.server.api.edm.provider.FunctionImport; -import org.apache.olingo.odata4.server.api.edm.provider.Schema; -import org.apache.olingo.odata4.server.api.edm.provider.Singleton; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.EdmEntitySetInfo; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmFunctionImportInfo; +import org.apache.olingo.commons.api.edm.EdmServiceMetadata; +import org.apache.olingo.commons.api.edm.EdmSingletonInfo; +import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainer; +import org.apache.olingo.server.api.edm.provider.EntitySet; +import org.apache.olingo.server.api.edm.provider.FunctionImport; +import org.apache.olingo.server.api.edm.provider.Schema; +import org.apache.olingo.server.api.edm.provider.Singleton; +import org.apache.olingo.server.core.edm.provider.EdmServiceMetadataImpl; import org.junit.Test; public class EdmServiceMetadataImplTest { @@ -130,7 +131,7 @@ public class EdmServiceMetadataImplTest { try { svc.getFunctionImportInfos(); } catch (EdmException e) { - assertEquals("org.apache.olingo.odata4.commons.api.ODataException: msg", e.getMessage()); + assertEquals("org.apache.olingo.commons.api.ODataException: msg", e.getMessage()); return; } fail("Expected EdmException was not thrown"); @@ -141,7 +142,7 @@ public class EdmServiceMetadataImplTest { try { svc.getSingletonInfos(); } catch (EdmException e) { - assertEquals("org.apache.olingo.odata4.commons.api.ODataException: msg", e.getMessage()); + assertEquals("org.apache.olingo.commons.api.ODataException: msg", e.getMessage()); return; } fail("Expected EdmException was not thrown"); @@ -151,7 +152,7 @@ public class EdmServiceMetadataImplTest { try { svc.getEntitySetInfos(); } catch (EdmException e) { - assertEquals("org.apache.olingo.odata4.commons.api.ODataException: msg", e.getMessage()); + assertEquals("org.apache.olingo.commons.api.ODataException: msg", e.getMessage()); return; } fail("Expected EdmException was not thrown"); diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmSingletonImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmSingletonImplTest.java similarity index 83% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmSingletonImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmSingletonImplTest.java index d87e8711f..ab13215cd 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmSingletonImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmSingletonImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; @@ -25,19 +25,22 @@ import static org.mockito.Mockito.when; import java.util.Arrays; -import org.apache.olingo.odata4.commons.api.edm.EdmBindingTarget; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityContainer; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmSingleton; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainerInfo; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationPropertyBinding; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; -import org.apache.olingo.odata4.server.api.edm.provider.Singleton; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.edm.EdmBindingTarget; +import org.apache.olingo.commons.api.edm.EdmEntityContainer; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmSingleton; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Target; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainerInfo; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.NavigationPropertyBinding; +import org.apache.olingo.server.api.edm.provider.PropertyRef; +import org.apache.olingo.server.api.edm.provider.Singleton; +import org.apache.olingo.server.core.edm.provider.EdmEntityContainerImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.edm.provider.EdmSingletonImpl; import org.junit.Test; public class EdmSingletonImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeDefinitionImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmTypeDefinitionImplTest.java similarity index 83% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeDefinitionImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmTypeDefinitionImplTest.java index 327cf8976..7de5ed3e9 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeDefinitionImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmTypeDefinitionImplTest.java @@ -16,19 +16,21 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; -import org.apache.olingo.odata4.commons.api.edm.EdmException; -import org.apache.olingo.odata4.commons.api.edm.EdmTypeDefinition; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.commons.api.edm.EdmException; +import org.apache.olingo.commons.api.edm.EdmTypeDefinition; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.TypeDefinition; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.edm.provider.EdmTypeDefinitionImpl; import org.junit.Test; public class EdmTypeDefinitionImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmTypeImplTest.java similarity index 81% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmTypeImplTest.java index 2a467b215..d932b1ef8 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/EdmTypeImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmTypeImplTest.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertEquals; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.api.edm.constants.EdmTypeKind; -import org.apache.olingo.odata4.commons.core.edm.EdmTypeImpl; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.constants.EdmTypeKind; +import org.apache.olingo.commons.core.edm.EdmTypeImpl; import org.junit.Test; public class EdmTypeImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/PrimitiveTypeBaseTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/PrimitiveTypeBaseTest.java similarity index 96% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/PrimitiveTypeBaseTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/PrimitiveTypeBaseTest.java index b5a18535c..721f3f297 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/edm/provider/PrimitiveTypeBaseTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/PrimitiveTypeBaseTest.java @@ -16,14 +16,14 @@ * specific language governing permissions and limitations * under the License. ******************************************************************************/ -package org.apache.olingo.odata4.server.core.edm.provider; +package org.apache.olingo.server.core.edm.provider; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveType; -import org.apache.olingo.odata4.commons.api.edm.EdmPrimitiveTypeException; +import org.apache.olingo.commons.api.edm.EdmPrimitiveType; +import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException; public abstract class PrimitiveTypeBaseTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/testutil/EdmTechProvider.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/testutil/EdmTechProvider.java similarity index 97% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/testutil/EdmTechProvider.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/testutil/EdmTechProvider.java index c7b072407..741ca3cfe 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/testutil/EdmTechProvider.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/testutil/EdmTechProvider.java @@ -16,36 +16,36 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.testutil; +package org.apache.olingo.server.core.testutil; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.edm.provider.Action; -import org.apache.olingo.odata4.server.api.edm.provider.ActionImport; -import org.apache.olingo.odata4.server.api.edm.provider.AliasInfo; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; -import org.apache.olingo.odata4.server.api.edm.provider.EdmProvider; -import org.apache.olingo.odata4.server.api.edm.provider.EntityContainerInfo; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySet; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.EnumMember; -import org.apache.olingo.odata4.server.api.edm.provider.EnumType; -import org.apache.olingo.odata4.server.api.edm.provider.Function; -import org.apache.olingo.odata4.server.api.edm.provider.FunctionImport; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationProperty; -import org.apache.olingo.odata4.server.api.edm.provider.NavigationPropertyBinding; -import org.apache.olingo.odata4.server.api.edm.provider.Parameter; -import org.apache.olingo.odata4.server.api.edm.provider.Property; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; -import org.apache.olingo.odata4.server.api.edm.provider.ReferentialConstraint; -import org.apache.olingo.odata4.server.api.edm.provider.ReturnType; -import org.apache.olingo.odata4.server.api.edm.provider.Singleton; -import org.apache.olingo.odata4.commons.api.edm.Target; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.commons.api.edm.Target; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.edm.provider.Action; +import org.apache.olingo.server.api.edm.provider.ActionImport; +import org.apache.olingo.server.api.edm.provider.AliasInfo; +import org.apache.olingo.server.api.edm.provider.ComplexType; +import org.apache.olingo.server.api.edm.provider.EdmProvider; +import org.apache.olingo.server.api.edm.provider.EntityContainerInfo; +import org.apache.olingo.server.api.edm.provider.EntitySet; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.EnumMember; +import org.apache.olingo.server.api.edm.provider.EnumType; +import org.apache.olingo.server.api.edm.provider.Function; +import org.apache.olingo.server.api.edm.provider.FunctionImport; +import org.apache.olingo.server.api.edm.provider.NavigationProperty; +import org.apache.olingo.server.api.edm.provider.NavigationPropertyBinding; +import org.apache.olingo.server.api.edm.provider.Parameter; +import org.apache.olingo.server.api.edm.provider.Property; +import org.apache.olingo.server.api.edm.provider.PropertyRef; +import org.apache.olingo.server.api.edm.provider.ReferentialConstraint; +import org.apache.olingo.server.api.edm.provider.ReturnType; +import org.apache.olingo.server.api.edm.provider.Singleton; public class EdmTechProvider extends EdmProvider { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/testutil/EdmTechTestProvider.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/testutil/EdmTechTestProvider.java similarity index 86% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/testutil/EdmTechTestProvider.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/testutil/EdmTechTestProvider.java index b0dc18cb2..96afc8ee9 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/testutil/EdmTechTestProvider.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/testutil/EdmTechTestProvider.java @@ -16,18 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.testutil; +package org.apache.olingo.server.core.testutil; import java.util.Arrays; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataException; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.edm.provider.ComplexType; -import org.apache.olingo.odata4.server.api.edm.provider.EntitySet; -import org.apache.olingo.odata4.server.api.edm.provider.EntityType; -import org.apache.olingo.odata4.server.api.edm.provider.Property; -import org.apache.olingo.odata4.server.api.edm.provider.PropertyRef; +import org.apache.olingo.commons.api.ODataException; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.edm.provider.ComplexType; +import org.apache.olingo.server.api.edm.provider.EntitySet; +import org.apache.olingo.server.api.edm.provider.EntityType; +import org.apache.olingo.server.api.edm.provider.Property; +import org.apache.olingo.server.api.edm.provider.PropertyRef; /** * Implement the EdmTechProvider and diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/RawUriTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/RawUriTest.java similarity index 94% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/RawUriTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/RawUriTest.java index e1aa6a089..89c2df7de 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/RawUriTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/RawUriTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; import static org.junit.Assert.assertEquals; @@ -24,9 +24,9 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.apache.olingo.odata4.server.core.uri.parser.RawUri; -import org.apache.olingo.odata4.server.core.uri.parser.UriDecoder; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserSyntaxException; +import org.apache.olingo.server.core.uri.parser.RawUri; +import org.apache.olingo.server.core.uri.parser.UriDecoder; +import org.apache.olingo.server.core.uri.parser.UriParserSyntaxException; import org.junit.Test; public class RawUriTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/UriInfoImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/UriInfoImplTest.java similarity index 74% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/UriInfoImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/UriInfoImplTest.java index ed4294e13..728d1873d 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/UriInfoImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/UriInfoImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -24,34 +24,37 @@ import static org.junit.Assert.assertNotNull; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.server.api.uri.UriInfoAll; -import org.apache.olingo.odata4.server.api.uri.UriInfoBatch; -import org.apache.olingo.odata4.server.api.uri.UriInfoCrossjoin; -import org.apache.olingo.odata4.server.api.uri.UriInfoEntityId; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.UriInfoMetadata; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; -import org.apache.olingo.odata4.server.api.uri.UriInfoService; -import org.apache.olingo.odata4.server.api.uri.queryoption.CustomQueryOption; -import org.apache.olingo.odata4.server.core.edm.provider.EdmProviderImpl; -import org.apache.olingo.odata4.server.core.testutil.EdmTechProvider; -import org.apache.olingo.odata4.server.core.testutil.EdmTechTestProvider; -import org.apache.olingo.odata4.server.core.uri.queryoption.CountOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.CustomQueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FilterOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FormatOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.IdOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.LevelsOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.OrderByOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.QueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SearchOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SkipOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SkipTokenOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.TopOptionImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.server.api.uri.UriInfoAll; +import org.apache.olingo.server.api.uri.UriInfoBatch; +import org.apache.olingo.server.api.uri.UriInfoCrossjoin; +import org.apache.olingo.server.api.uri.UriInfoEntityId; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.UriInfoMetadata; +import org.apache.olingo.server.api.uri.UriInfoResource; +import org.apache.olingo.server.api.uri.UriInfoService; +import org.apache.olingo.server.api.uri.queryoption.CustomQueryOption; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.testutil.EdmTechProvider; +import org.apache.olingo.server.core.testutil.EdmTechTestProvider; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.UriResourceActionImpl; +import org.apache.olingo.server.core.uri.UriResourceEntitySetImpl; +import org.apache.olingo.server.core.uri.queryoption.CountOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.CustomQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FilterOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FormatOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.IdOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.LevelsOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.QueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SearchOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipTokenOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.TopOptionImpl; import org.junit.Test; public class UriInfoImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/UriResourceImplTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/UriResourceImplTest.java similarity index 87% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/UriResourceImplTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/UriResourceImplTest.java index af1832fc5..d03345e9d 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/UriResourceImplTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/UriResourceImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri; +package org.apache.olingo.server.core.uri; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -25,25 +25,44 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmActionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.commons.api.edm.EdmFunctionImport; -import org.apache.olingo.odata4.commons.api.edm.EdmNavigationProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmProperty; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.core.edm.provider.EdmComplexTypeImpl; -import org.apache.olingo.odata4.server.core.edm.provider.EdmEntitySetImpl; -import org.apache.olingo.odata4.server.core.edm.provider.EdmProviderImpl; -import org.apache.olingo.odata4.server.core.edm.provider.EdmSingletonImpl; -import org.apache.olingo.odata4.server.core.testutil.EdmTechProvider; -import org.apache.olingo.odata4.server.core.testutil.EdmTechTestProvider; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.LiteralImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmActionImport; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.commons.api.edm.EdmFunctionImport; +import org.apache.olingo.commons.api.edm.EdmNavigationProperty; +import org.apache.olingo.commons.api.edm.EdmProperty; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.core.edm.primitivetype.EdmPrimitiveTypeKind; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.core.edm.provider.EdmComplexTypeImpl; +import org.apache.olingo.server.core.edm.provider.EdmEntitySetImpl; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.edm.provider.EdmSingletonImpl; +import org.apache.olingo.server.core.testutil.EdmTechProvider; +import org.apache.olingo.server.core.testutil.EdmTechTestProvider; +import org.apache.olingo.server.core.uri.UriParameterImpl; +import org.apache.olingo.server.core.uri.UriResourceActionImpl; +import org.apache.olingo.server.core.uri.UriResourceComplexPropertyImpl; +import org.apache.olingo.server.core.uri.UriResourceCountImpl; +import org.apache.olingo.server.core.uri.UriResourceEntitySetImpl; +import org.apache.olingo.server.core.uri.UriResourceFunctionImpl; +import org.apache.olingo.server.core.uri.UriResourceItImpl; +import org.apache.olingo.server.core.uri.UriResourceLambdaAllImpl; +import org.apache.olingo.server.core.uri.UriResourceLambdaAnyImpl; +import org.apache.olingo.server.core.uri.UriResourceLambdaVarImpl; +import org.apache.olingo.server.core.uri.UriResourceNavigationPropertyImpl; +import org.apache.olingo.server.core.uri.UriResourcePrimitivePropertyImpl; +import org.apache.olingo.server.core.uri.UriResourceRefImpl; +import org.apache.olingo.server.core.uri.UriResourceRootImpl; +import org.apache.olingo.server.core.uri.UriResourceSingletonImpl; +import org.apache.olingo.server.core.uri.UriResourceStartingTypeFilterImpl; +import org.apache.olingo.server.core.uri.UriResourceTypedImpl; +import org.apache.olingo.server.core.uri.UriResourceValueImpl; +import org.apache.olingo.server.core.uri.UriResourceWithKeysImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.LiteralImpl; import org.junit.Test; public class UriResourceImplTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestFullResourcePath.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestFullResourcePath.java similarity index 99% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestFullResourcePath.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestFullResourcePath.java index 08989389e..9a1e3b151 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestFullResourcePath.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestFullResourcePath.java @@ -16,26 +16,26 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.antlr; +package org.apache.olingo.server.core.uri.antlr; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.Arrays; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.BinaryOperatorKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.MethodCallKind; -import org.apache.olingo.odata4.server.core.edm.provider.EdmProviderImpl; -import org.apache.olingo.odata4.server.core.testutil.EdmTechProvider; -import org.apache.olingo.odata4.server.core.testutil.EdmTechTestProvider; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserException; -import org.apache.olingo.odata4.server.core.uri.testutil.FilterValidator; -import org.apache.olingo.odata4.server.core.uri.testutil.ResourceValidator; -import org.apache.olingo.odata4.server.core.uri.testutil.UriValidator; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.MethodCallKind; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.testutil.EdmTechProvider; +import org.apache.olingo.server.core.testutil.EdmTechTestProvider; +import org.apache.olingo.server.core.uri.parser.UriParserException; +import org.apache.olingo.server.core.uri.testutil.FilterValidator; +import org.apache.olingo.server.core.uri.testutil.ResourceValidator; +import org.apache.olingo.server.core.uri.testutil.UriValidator; import org.junit.Test; public class TestFullResourcePath { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestLexer.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestLexer.java similarity index 98% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestLexer.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestLexer.java index 415a10d3c..7a510a175 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestLexer.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestLexer.java @@ -16,10 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.antlr; +package org.apache.olingo.server.core.uri.antlr; import org.antlr.v4.runtime.Lexer; -import org.apache.olingo.odata4.server.core.uri.testutil.TokenValidator; +import org.apache.olingo.server.core.uri.antlr.UriLexer; +import org.apache.olingo.server.core.uri.testutil.TokenValidator; import org.junit.Test; public class TestLexer { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestUriParserImpl.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestUriParserImpl.java similarity index 98% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestUriParserImpl.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestUriParserImpl.java index 035817082..ccb732e9f 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/antlr/TestUriParserImpl.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/antlr/TestUriParserImpl.java @@ -16,24 +16,24 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.antlr; +package org.apache.olingo.server.core.uri.antlr; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.Arrays; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.MethodCallKind; -import org.apache.olingo.odata4.server.core.edm.provider.EdmProviderImpl; -import org.apache.olingo.odata4.server.core.testutil.EdmTechProvider; -import org.apache.olingo.odata4.server.core.testutil.EdmTechTestProvider; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserException; -import org.apache.olingo.odata4.server.core.uri.testutil.FilterValidator; -import org.apache.olingo.odata4.server.core.uri.testutil.ResourceValidator; -import org.apache.olingo.odata4.server.core.uri.testutil.UriValidator; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.queryoption.expression.MethodCallKind; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.testutil.EdmTechProvider; +import org.apache.olingo.server.core.testutil.EdmTechTestProvider; +import org.apache.olingo.server.core.uri.parser.UriParserException; +import org.apache.olingo.server.core.uri.testutil.FilterValidator; +import org.apache.olingo.server.core.uri.testutil.ResourceValidator; +import org.apache.olingo.server.core.uri.testutil.UriValidator; import org.junit.Test; public class TestUriParserImpl { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/queryoption/QueryOptionTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/queryoption/QueryOptionTest.java similarity index 81% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/queryoption/QueryOptionTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/queryoption/QueryOptionTest.java index 4f62dddbd..452a5b0c8 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/queryoption/QueryOptionTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/queryoption/QueryOptionTest.java @@ -16,23 +16,41 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption; +package org.apache.olingo.server.core.uri.queryoption; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; -import org.apache.olingo.odata4.server.api.uri.queryoption.SupportedQueryOptions; -import org.apache.olingo.odata4.server.core.edm.provider.EdmProviderImpl; -import org.apache.olingo.odata4.server.core.testutil.EdmTechTestProvider; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.AliasImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.LiteralImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriInfoResource; +import org.apache.olingo.server.api.uri.queryoption.SupportedQueryOptions; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.testutil.EdmTechTestProvider; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.queryoption.AliasQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.CountOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandItemImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FilterOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FormatOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.IdOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.LevelsOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByItemImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.QueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SearchOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectItemImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SkipTokenOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SystemQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.TopOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.AliasImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.LiteralImpl; import org.junit.Test; //TOOD add getKind check to all diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/ExpressionTest.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/queryoption/expression/ExpressionTest.java similarity index 81% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/ExpressionTest.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/queryoption/expression/ExpressionTest.java index ff0b18952..827bacb2e 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/queryoption/expression/ExpressionTest.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/queryoption/expression/ExpressionTest.java @@ -16,32 +16,42 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.queryoption.expression; +package org.apache.olingo.server.core.uri.queryoption.expression; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.Arrays; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmAction; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmFunction; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.BinaryOperatorKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.MethodCallKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.UnaryOperatorKind; -import org.apache.olingo.odata4.server.core.edm.provider.EdmProviderImpl; -import org.apache.olingo.odata4.server.core.testutil.EdmTechProvider; -import org.apache.olingo.odata4.server.core.testutil.EdmTechTestProvider; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceActionImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceFunctionImpl; -import org.apache.olingo.odata4.server.core.uri.testutil.FilterTreeToText; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmAction; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmFunction; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.UriInfoResource; +import org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.MethodCallKind; +import org.apache.olingo.server.api.uri.queryoption.expression.UnaryOperatorKind; +import org.apache.olingo.server.core.edm.provider.EdmProviderImpl; +import org.apache.olingo.server.core.testutil.EdmTechProvider; +import org.apache.olingo.server.core.testutil.EdmTechTestProvider; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.UriResourceActionImpl; +import org.apache.olingo.server.core.uri.UriResourceFunctionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.AliasImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.BinaryImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.EnumerationImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.LambdaRefImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.LiteralImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.MemberImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.MethodCallImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.TypeLiteralImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.UnaryImpl; +import org.apache.olingo.server.core.uri.testutil.FilterTreeToText; import org.junit.Test; public class ExpressionTest { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ExpandValidator.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ExpandValidator.java similarity index 85% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ExpandValidator.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ExpandValidator.java index 4d6d48c8c..c26d52e64 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ExpandValidator.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ExpandValidator.java @@ -16,26 +16,26 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.ExpandItem; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectItem; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FilterOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.OrderByOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.QueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.MemberImpl; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.queryoption.ExpandItem; +import org.apache.olingo.server.api.uri.queryoption.SelectItem; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FilterOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.QueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.MemberImpl; public class ExpandValidator implements Validator { private Edm edm; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/FilterTreeToText.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/FilterTreeToText.java similarity index 78% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/FilterTreeToText.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/FilterTreeToText.java index 31d8d8b96..600a3c6ec 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/FilterTreeToText.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/FilterTreeToText.java @@ -16,25 +16,25 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.EdmEnumType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.server.api.uri.UriInfoResource; -import org.apache.olingo.odata4.server.api.uri.UriResource; -import org.apache.olingo.odata4.server.api.uri.UriResourceLambdaAll; -import org.apache.olingo.odata4.server.api.uri.UriResourceLambdaAny; -import org.apache.olingo.odata4.server.api.uri.UriResourcePartTyped; -import org.apache.olingo.odata4.server.api.uri.queryoption.FilterOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.BinaryOperatorKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitor; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.MethodCallKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.UnaryOperatorKind; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.EdmEnumType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.server.api.uri.UriInfoResource; +import org.apache.olingo.server.api.uri.UriResource; +import org.apache.olingo.server.api.uri.UriResourceLambdaAll; +import org.apache.olingo.server.api.uri.UriResourceLambdaAny; +import org.apache.olingo.server.api.uri.UriResourcePartTyped; +import org.apache.olingo.server.api.uri.queryoption.FilterOption; +import org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitor; +import org.apache.olingo.server.api.uri.queryoption.expression.MethodCallKind; +import org.apache.olingo.server.api.uri.queryoption.expression.UnaryOperatorKind; public class FilterTreeToText implements ExpressionVisitor { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/FilterValidator.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/FilterValidator.java similarity index 89% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/FilterValidator.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/FilterValidator.java index da13d4b15..44a408e36 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/FilterValidator.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/FilterValidator.java @@ -16,37 +16,37 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriInfo; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.BinaryOperatorKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Member; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.MethodCallKind; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.parser.Parser; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserException; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserSemanticException; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserSyntaxException; -import org.apache.olingo.odata4.server.core.uri.queryoption.FilterOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.OrderByOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.BinaryImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.EnumerationImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.LiteralImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.MemberImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.MethodCallImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.TypeLiteralImpl; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriInfo; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind; +import org.apache.olingo.server.api.uri.queryoption.expression.Expression; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.api.uri.queryoption.expression.Member; +import org.apache.olingo.server.api.uri.queryoption.expression.MethodCallKind; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.parser.Parser; +import org.apache.olingo.server.core.uri.parser.UriParserException; +import org.apache.olingo.server.core.uri.parser.UriParserSemanticException; +import org.apache.olingo.server.core.uri.parser.UriParserSyntaxException; +import org.apache.olingo.server.core.uri.queryoption.FilterOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.OrderByOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.BinaryImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.EnumerationImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.LiteralImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.MemberImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.MethodCallImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.TypeLiteralImpl; public class FilterValidator implements Validator { private Edm edm; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParseTreeToText.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParseTreeToText.java similarity index 97% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParseTreeToText.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParseTreeToText.java index d81bbcf70..4582478ed 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParseTreeToText.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParseTreeToText.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import java.util.Arrays; import java.util.List; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParserValidator.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParserValidator.java similarity index 96% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParserValidator.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParserValidator.java index be79777d7..b6237e4d9 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParserValidator.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParserValidator.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import static org.junit.Assert.assertEquals; @@ -24,7 +24,7 @@ import java.util.ArrayList; import java.util.List; import org.antlr.v4.runtime.ParserRuleContext; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser; +import org.apache.olingo.server.core.uri.antlr.UriParserParser; public class ParserValidator { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParserWithLogging.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParserWithLogging.java similarity index 90% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParserWithLogging.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParserWithLogging.java index b006e8669..2e3abf4bc 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ParserWithLogging.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ParserWithLogging.java @@ -16,12 +16,12 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import org.antlr.v4.runtime.DefaultErrorStrategy; import org.antlr.v4.runtime.DiagnosticErrorListener; -import org.apache.olingo.odata4.server.core.uri.antlr.UriParserParser; -import org.apache.olingo.odata4.server.core.uri.parser.Parser; +import org.apache.olingo.server.core.uri.antlr.UriParserParser; +import org.apache.olingo.server.core.uri.parser.Parser; public class ParserWithLogging extends Parser { TestErrorLogger errorCollector1; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ResourceValidator.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ResourceValidator.java similarity index 89% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ResourceValidator.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ResourceValidator.java index f859203bb..31392d2f0 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/ResourceValidator.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/ResourceValidator.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -24,37 +24,37 @@ import static org.junit.Assert.fail; import java.util.List; -import org.apache.olingo.odata4.commons.api.ODataApplicationException; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmElement; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriInfo; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.UriParameter; -import org.apache.olingo.odata4.server.api.uri.UriResourceKind; -import org.apache.olingo.odata4.server.api.uri.UriResourcePartTyped; -import org.apache.olingo.odata4.server.api.uri.queryoption.CustomQueryOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectItem; -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.ExpressionVisitException; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceActionImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceComplexPropertyImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceEntitySetImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceFunctionImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceLambdaAllImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceLambdaAnyImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceNavigationPropertyImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourcePrimitivePropertyImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceSingletonImpl; -import org.apache.olingo.odata4.server.core.uri.UriResourceWithKeysImpl; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserException; -import org.apache.olingo.odata4.server.core.uri.queryoption.CustomQueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.ExpressionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.expression.MemberImpl; +import org.apache.olingo.commons.api.ODataApplicationException; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmElement; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriInfo; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.UriParameter; +import org.apache.olingo.server.api.uri.UriResourceKind; +import org.apache.olingo.server.api.uri.UriResourcePartTyped; +import org.apache.olingo.server.api.uri.queryoption.CustomQueryOption; +import org.apache.olingo.server.api.uri.queryoption.SelectItem; +import org.apache.olingo.server.api.uri.queryoption.expression.ExpressionVisitException; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.UriResourceActionImpl; +import org.apache.olingo.server.core.uri.UriResourceComplexPropertyImpl; +import org.apache.olingo.server.core.uri.UriResourceEntitySetImpl; +import org.apache.olingo.server.core.uri.UriResourceFunctionImpl; +import org.apache.olingo.server.core.uri.UriResourceImpl; +import org.apache.olingo.server.core.uri.UriResourceLambdaAllImpl; +import org.apache.olingo.server.core.uri.UriResourceLambdaAnyImpl; +import org.apache.olingo.server.core.uri.UriResourceNavigationPropertyImpl; +import org.apache.olingo.server.core.uri.UriResourcePrimitivePropertyImpl; +import org.apache.olingo.server.core.uri.UriResourceSingletonImpl; +import org.apache.olingo.server.core.uri.UriResourceWithKeysImpl; +import org.apache.olingo.server.core.uri.parser.UriParserException; +import org.apache.olingo.server.core.uri.queryoption.CustomQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.ExpressionImpl; +import org.apache.olingo.server.core.uri.queryoption.expression.MemberImpl; public class ResourceValidator implements Validator { private Edm edm; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/TestErrorLogger.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/TestErrorLogger.java similarity index 96% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/TestErrorLogger.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/TestErrorLogger.java index 8f9f202c8..ab1fd2dfc 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/TestErrorLogger.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/TestErrorLogger.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import java.util.BitSet; import java.util.Collections; @@ -28,7 +28,7 @@ import org.antlr.v4.runtime.RecognitionException; import org.antlr.v4.runtime.Recognizer; import org.antlr.v4.runtime.atn.ATNConfigSet; import org.antlr.v4.runtime.dfa.DFA; -import org.apache.olingo.odata4.server.core.uri.antlr.UriLexer; +import org.apache.olingo.server.core.uri.antlr.UriLexer; class TestErrorLogger implements ANTLRErrorListener { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/TokenValidator.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/TokenValidator.java similarity index 97% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/TokenValidator.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/TokenValidator.java index f9047af50..cc73d11f0 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/TokenValidator.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/TokenValidator.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import static org.junit.Assert.assertEquals; @@ -24,7 +24,7 @@ import java.util.List; import org.antlr.v4.runtime.ANTLRInputStream; import org.antlr.v4.runtime.Token; -import org.apache.olingo.odata4.server.core.uri.antlr.UriLexer; +import org.apache.olingo.server.core.uri.antlr.UriLexer; //TODO extend to test also exception which can occure while paring public class TokenValidator { diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/UriLexerWithTrace.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/UriLexerWithTrace.java similarity index 94% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/UriLexerWithTrace.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/UriLexerWithTrace.java index b9f8b36c7..da0181d51 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/UriLexerWithTrace.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/UriLexerWithTrace.java @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import org.antlr.v4.runtime.ANTLRInputStream; import org.antlr.v4.runtime.Token; -import org.apache.olingo.odata4.server.core.uri.antlr.UriLexer; +import org.apache.olingo.server.core.uri.antlr.UriLexer; public class UriLexerWithTrace extends UriLexer { int logLevel = 0; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/UriValidator.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/UriValidator.java similarity index 85% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/UriValidator.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/UriValidator.java index fd1954b00..5aa904762 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/UriValidator.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/UriValidator.java @@ -16,29 +16,29 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.List; -import org.apache.olingo.odata4.commons.api.edm.Edm; -import org.apache.olingo.odata4.commons.api.edm.EdmEntityType; -import org.apache.olingo.odata4.commons.api.edm.EdmType; -import org.apache.olingo.odata4.commons.api.edm.FullQualifiedName; -import org.apache.olingo.odata4.server.api.uri.UriInfoKind; -import org.apache.olingo.odata4.server.api.uri.queryoption.CustomQueryOption; -import org.apache.olingo.odata4.server.api.uri.queryoption.SelectItem; -import org.apache.olingo.odata4.server.core.uri.UriInfoImpl; -import org.apache.olingo.odata4.server.core.uri.parser.Parser; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserException; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserSemanticException; -import org.apache.olingo.odata4.server.core.uri.parser.UriParserSyntaxException; -import org.apache.olingo.odata4.server.core.uri.queryoption.CustomQueryOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.ExpandOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.FilterOptionImpl; -import org.apache.olingo.odata4.server.core.uri.queryoption.SelectOptionImpl; +import org.apache.olingo.commons.api.edm.Edm; +import org.apache.olingo.commons.api.edm.EdmEntityType; +import org.apache.olingo.commons.api.edm.EdmType; +import org.apache.olingo.commons.api.edm.FullQualifiedName; +import org.apache.olingo.server.api.uri.UriInfoKind; +import org.apache.olingo.server.api.uri.queryoption.CustomQueryOption; +import org.apache.olingo.server.api.uri.queryoption.SelectItem; +import org.apache.olingo.server.core.uri.UriInfoImpl; +import org.apache.olingo.server.core.uri.parser.Parser; +import org.apache.olingo.server.core.uri.parser.UriParserException; +import org.apache.olingo.server.core.uri.parser.UriParserSemanticException; +import org.apache.olingo.server.core.uri.parser.UriParserSyntaxException; +import org.apache.olingo.server.core.uri.queryoption.CustomQueryOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.ExpandOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.FilterOptionImpl; +import org.apache.olingo.server.core.uri.queryoption.SelectOptionImpl; public class UriValidator implements Validator { private Edm edm; diff --git a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/Validator.java b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/Validator.java similarity index 93% rename from lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/Validator.java rename to lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/Validator.java index c4325ba24..a5d5cac87 100644 --- a/lib/server-core/src/test/java/org/apache/olingo/odata4/server/core/uri/testutil/Validator.java +++ b/lib/server-core/src/test/java/org/apache/olingo/server/core/uri/testutil/Validator.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.olingo.odata4.server.core.uri.testutil; +package org.apache.olingo.server.core.uri.testutil; public interface Validator {