http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Product.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Product.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Product.java index 750cd84..3b0bba0 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Product.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Product.java @@ -1,266 +1,266 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.OperationType; +// CHECKSTYLE:ON (Maven checkstyle) import org.apache.olingo.ext.proxy.api.annotations.Key; import org.apache.olingo.ext.proxy.api.annotations.Parameter; -import org.apache.olingo.ext.proxy.api.OperationType; -//CHECKSTYLE:ON (Maven checkstyle) - @org.apache.olingo.ext.proxy.api.annotations.Namespace("Microsoft.Test.OData.Services.ODataWCFService") @org.apache.olingo.ext.proxy.api.annotations.EntityType(name = "Product", - openType = false, - hasStream = false, - isAbstract = false) -public interface Product - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.ext.proxy.api.EntityType<Product>, org.apache.olingo.ext.proxy.api.StructuredQuery<Product> { - - - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getProductID(); - - void setProductID(java.lang.Integer _productID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Name", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getName(); - - void setName(java.lang.String _name); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "QuantityPerUnit", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getQuantityPerUnit(); - - void setQuantityPerUnit(java.lang.String _quantityPerUnit); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "UnitPrice", - type = "Edm.Single", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Float getUnitPrice(); - - void setUnitPrice(java.lang.Float _unitPrice); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "QuantityInStock", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getQuantityInStock(); - - void setQuantityInStock(java.lang.Integer _quantityInStock); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Discontinued", - type = "Edm.Boolean", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Boolean getDiscontinued(); - - void setDiscontinued(java.lang.Boolean _discontinued); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "UserAccess", - type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel getUserAccess(); - - void setUserAccess(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel _userAccess); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "SkinColor", - type = "Microsoft.Test.OData.Services.ODataWCFService.Color", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color getSkinColor(); - - void setSkinColor(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color _skinColor); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CoverColors", - type = "Microsoft.Test.OData.Services.ODataWCFService.Color", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.ext.proxy.api.PrimitiveCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color> getCoverColors(); - - void setCoverColors(org.apache.olingo.ext.proxy.api.PrimitiveCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color> _coverColors); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Details", - type = "Microsoft.Test.OData.Services.ODataWCFService.ProductDetail", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "ProductDetails", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection getDetails(); - - void setDetails(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection _details); - - - - Operations operations(); - - interface Operations extends org.apache.olingo.ext.proxy.api.Operations{ - - @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "GetProductDetails", - type = OperationType.FUNCTION, - isComposable = true, - referenceType = org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection.class, returnType = "Collection(Microsoft.Test.OData.Services.ODataWCFService.ProductDetail)") - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollectionComposableInvoker getProductDetails( - @Parameter(name = "count", type = "Edm.Int32", nullable = true) java.lang.Integer count - ); - - - - @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "AddAccessRight", - type = OperationType.ACTION, - referenceType = org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel.class, returnType = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel") - org.apache.olingo.ext.proxy.api.Invoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel> addAccessRight( - @Parameter(name = "accessRight", type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel", nullable = true) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel accessRight - ); - - } - Annotations annotations(); - - interface Annotations { - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ProductID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getProductIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Name", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getNameAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "QuantityPerUnit", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getQuantityPerUnitAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "UnitPrice", - type = "Edm.Single") - org.apache.olingo.ext.proxy.api.Annotatable getUnitPriceAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "QuantityInStock", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getQuantityInStockAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Discontinued", - type = "Edm.Boolean") - org.apache.olingo.ext.proxy.api.Annotatable getDiscontinuedAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "UserAccess", - type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel") - org.apache.olingo.ext.proxy.api.Annotatable getUserAccessAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "SkinColor", - type = "Microsoft.Test.OData.Services.ODataWCFService.Color") - org.apache.olingo.ext.proxy.api.Annotatable getSkinColorAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CoverColors", - type = "Microsoft.Test.OData.Services.ODataWCFService.Color") - org.apache.olingo.ext.proxy.api.Annotatable getCoverColorsAnnotations(); - - - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Details", - type = "Microsoft.Test.OData.Services.ODataWCFService.ProductDetail") - org.apache.olingo.ext.proxy.api.Annotatable getDetailsAnnotations(); - } + openType = false, + hasStream = false, + isAbstract = false) +public interface Product + extends org.apache.olingo.ext.proxy.api.Annotatable, + org.apache.olingo.ext.proxy.api.EntityType<Product>, org.apache.olingo.ext.proxy.api.StructuredQuery<Product> { + + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getProductID(); + + void setProductID(java.lang.Integer _productID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Name", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getName(); + + void setName(java.lang.String _name); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "QuantityPerUnit", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getQuantityPerUnit(); + + void setQuantityPerUnit(java.lang.String _quantityPerUnit); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "UnitPrice", + type = "Edm.Single", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Float getUnitPrice(); + + void setUnitPrice(java.lang.Float _unitPrice); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "QuantityInStock", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getQuantityInStock(); + + void setQuantityInStock(java.lang.Integer _quantityInStock); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Discontinued", + type = "Edm.Boolean", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Boolean getDiscontinued(); + + void setDiscontinued(java.lang.Boolean _discontinued); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "UserAccess", + type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel + getUserAccess(); + + void + setUserAccess( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel _userAccess); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "SkinColor", + type = "Microsoft.Test.OData.Services.ODataWCFService.Color", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color getSkinColor(); + + void + setSkinColor( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color _skinColor); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CoverColors", + type = "Microsoft.Test.OData.Services.ODataWCFService.Color", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.ext.proxy.api.PrimitiveCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color> + getCoverColors(); + + void + setCoverColors( + org.apache.olingo.ext.proxy.api.PrimitiveCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color> _coverColors); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Details", + type = "Microsoft.Test.OData.Services.ODataWCFService.ProductDetail", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "ProductDetails", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection + getDetails(); + + void + setDetails( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection _details); + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "GetProductDetails", + type = OperationType.FUNCTION, + isComposable = true, + referenceType = org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection.class, + returnType = "Collection(Microsoft.Test.OData.Services.ODataWCFService.ProductDetail)") + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollectionComposableInvoker + getProductDetails( + @Parameter(name = "count", type = "Edm.Int32", nullable = true) java.lang.Integer count + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "AddAccessRight", + type = OperationType.ACTION, + referenceType = org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel.class, + returnType = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel") + org.apache.olingo.ext.proxy.api.Invoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel> + addAccessRight( + @Parameter(name = "accessRight", type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel", + nullable = true) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel accessRight + ); + + } + + Annotations annotations(); + + interface Annotations { + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ProductID", + type = "Edm.Int32") + org.apache.olingo.ext.proxy.api.Annotatable getProductIDAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Name", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getNameAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "QuantityPerUnit", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getQuantityPerUnitAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "UnitPrice", + type = "Edm.Single") + org.apache.olingo.ext.proxy.api.Annotatable getUnitPriceAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "QuantityInStock", + type = "Edm.Int32") + org.apache.olingo.ext.proxy.api.Annotatable getQuantityInStockAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Discontinued", + type = "Edm.Boolean") + org.apache.olingo.ext.proxy.api.Annotatable getDiscontinuedAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "UserAccess", + type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel") + org.apache.olingo.ext.proxy.api.Annotatable getUserAccessAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "SkinColor", + type = "Microsoft.Test.OData.Services.ODataWCFService.Color") + org.apache.olingo.ext.proxy.api.Annotatable getSkinColorAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CoverColors", + type = "Microsoft.Test.OData.Services.ODataWCFService.Color") + org.apache.olingo.ext.proxy.api.Annotatable getCoverColorsAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Details", + type = "Microsoft.Test.OData.Services.ODataWCFService.ProductDetail") + org.apache.olingo.ext.proxy.api.Annotatable getDetailsAnnotations(); + } }
http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollection.java index 07f67fd..71e88a4 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollection.java @@ -1,48 +1,52 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) +// CHECKSTYLE:OFF (Maven checkstyle) +import java.util.Collection; +// CHECKSTYLE:ON (Maven checkstyle) + import org.apache.olingo.ext.proxy.api.AbstractTerm; import org.apache.olingo.ext.proxy.api.OperationType; import org.apache.olingo.ext.proxy.api.annotations.Parameter; -import java.util.Collection; -//CHECKSTYLE:ON (Maven checkstyle) - -public interface ProductCollection extends +public interface ProductCollection + extends org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection>, - org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection> { +org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { - Operations operations(); + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "Discount", + type = OperationType.ACTION, + referenceType = org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection.class, + returnType = "Collection(Microsoft.Test.OData.Services.ODataWCFService.Product)") + org.apache.olingo.ext.proxy.api.StructuredCollectionInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection> + discount( + @Parameter(name = "percentage", type = "Edm.Int32", nullable = false) java.lang.Integer percentage + ); - interface Operations extends org.apache.olingo.ext.proxy.api.Operations{ - - - @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "Discount", - type = OperationType.ACTION, - referenceType = org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection.class, returnType = "Collection(Microsoft.Test.OData.Services.ODataWCFService.Product)") - org.apache.olingo.ext.proxy.api.StructuredCollectionInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection> discount( - @Parameter(name = "percentage", type = "Edm.Int32", nullable = false) java.lang.Integer percentage - ); + } - } Object getAnnotation(Class<? extends AbstractTerm> term); Collection<Class<? extends AbstractTerm>> getAnnotationTerms(); http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollectionComposableInvoker.java index 12cfa45..21f811d 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollectionComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductCollectionComposableInvoker.java @@ -1,27 +1,27 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) +// CHECKSTYLE:OFF (Maven checkstyle) - -public interface ProductCollectionComposableInvoker extends +public interface ProductCollectionComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductCollection.Operations> { @Override http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductComposableInvoker.java index 9e9c791..cab441d 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductComposableInvoker.java @@ -1,29 +1,31 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) + +// CHECKSTYLE:OFF (Maven checkstyle) import org.apache.olingo.ext.proxy.api.annotations.Key; -//CHECKSTYLE:ON (Maven checkstyle) -public interface ProductComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<Product, Product.Operations> - { +// CHECKSTYLE:ON (Maven checkstyle) + +public interface ProductComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<Product, Product.Operations> +{ @Override ProductComposableInvoker select(String... select); @@ -31,163 +33,161 @@ public interface ProductComposableInvoker @Override ProductComposableInvoker expand(String... expand); - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getProductID(); - - void setProductID(java.lang.Integer _productID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Name", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getName(); - - void setName(java.lang.String _name); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "QuantityPerUnit", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getQuantityPerUnit(); - - void setQuantityPerUnit(java.lang.String _quantityPerUnit); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "UnitPrice", - type = "Edm.Single", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Float getUnitPrice(); - - void setUnitPrice(java.lang.Float _unitPrice); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "QuantityInStock", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getQuantityInStock(); - - void setQuantityInStock(java.lang.Integer _quantityInStock); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Discontinued", - type = "Edm.Boolean", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Boolean getDiscontinued(); - - void setDiscontinued(java.lang.Boolean _discontinued); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "UserAccess", - type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel getUserAccess(); - - void setUserAccess(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel _userAccess); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "SkinColor", - type = "Microsoft.Test.OData.Services.ODataWCFService.Color", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color getSkinColor(); - - void setSkinColor(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color _skinColor); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CoverColors", - type = "Microsoft.Test.OData.Services.ODataWCFService.Color", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.ext.proxy.api.PrimitiveCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color> getCoverColors(); - - void setCoverColors(org.apache.olingo.ext.proxy.api.PrimitiveCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color> _coverColors); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Details", - type = "Microsoft.Test.OData.Services.ODataWCFService.ProductDetail", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "ProductDetails", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection getDetails(); - - void setDetails(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection _details); - + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getProductID(); + + void setProductID(java.lang.Integer _productID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Name", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getName(); + + void setName(java.lang.String _name); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "QuantityPerUnit", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getQuantityPerUnit(); + + void setQuantityPerUnit(java.lang.String _quantityPerUnit); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "UnitPrice", + type = "Edm.Single", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Float getUnitPrice(); + + void setUnitPrice(java.lang.Float _unitPrice); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "QuantityInStock", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getQuantityInStock(); + + void setQuantityInStock(java.lang.Integer _quantityInStock); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Discontinued", + type = "Edm.Boolean", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Boolean getDiscontinued(); + + void setDiscontinued(java.lang.Boolean _discontinued); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "UserAccess", + type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel + getUserAccess(); + + void + setUserAccess( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AccessLevel _userAccess); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "SkinColor", + type = "Microsoft.Test.OData.Services.ODataWCFService.Color", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color getSkinColor(); + + void + setSkinColor( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color _skinColor); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CoverColors", + type = "Microsoft.Test.OData.Services.ODataWCFService.Color", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.ext.proxy.api.PrimitiveCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color> + getCoverColors(); + + void + setCoverColors( + org.apache.olingo.ext.proxy.api.PrimitiveCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Color> _coverColors); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Details", + type = "Microsoft.Test.OData.Services.ODataWCFService.ProductDetail", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "ProductDetails", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection + getDetails(); + + void + setDetails( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection _details); } http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetail.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetail.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetail.java index 4a9f216..41b78cc 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetail.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetail.java @@ -1,171 +1,172 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.OperationType; + +// CHECKSTYLE:ON (Maven checkstyle) import org.apache.olingo.ext.proxy.api.annotations.Key; import org.apache.olingo.ext.proxy.api.annotations.KeyRef; -import org.apache.olingo.ext.proxy.api.OperationType; -//CHECKSTYLE:ON (Maven checkstyle) @KeyRef(ProductDetailKey.class) @org.apache.olingo.ext.proxy.api.annotations.Namespace("Microsoft.Test.OData.Services.ODataWCFService") @org.apache.olingo.ext.proxy.api.annotations.EntityType(name = "ProductDetail", - openType = false, - hasStream = false, - isAbstract = false) -public interface ProductDetail - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.ext.proxy.api.EntityType<ProductDetail>, org.apache.olingo.ext.proxy.api.StructuredQuery<ProductDetail> { - - - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getProductID(); - - void setProductID(java.lang.Integer _productID); - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductDetailID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getProductDetailID(); - - void setProductDetailID(java.lang.Integer _productDetailID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getProductName(); - - void setProductName(java.lang.String _productName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Description", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getDescription(); - - void setDescription(java.lang.String _description); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "RelatedProduct", - type = "Microsoft.Test.OData.Services.ODataWCFService.Product", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "Products", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product getRelatedProduct(); - - void setRelatedProduct(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product _relatedProduct); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Reviews", - type = "Microsoft.Test.OData.Services.ODataWCFService.ProductReview", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "ProductReviews", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductReviewCollection getReviews(); - - void setReviews(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductReviewCollection _reviews); - - - - Operations operations(); - - interface Operations extends org.apache.olingo.ext.proxy.api.Operations{ - - @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "GetRelatedProduct", - type = OperationType.FUNCTION, - isComposable = true, - referenceType = org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product.class, returnType = "Microsoft.Test.OData.Services.ODataWCFService.Product") - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductComposableInvoker getRelatedProduct( - ); - - - } - Annotations annotations(); - - interface Annotations { - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ProductID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getProductIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ProductDetailID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getProductDetailIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ProductName", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getProductNameAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Description", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getDescriptionAnnotations(); - - - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "RelatedProduct", - type = "Microsoft.Test.OData.Services.ODataWCFService.Product") - org.apache.olingo.ext.proxy.api.Annotatable getRelatedProductAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Reviews", - type = "Microsoft.Test.OData.Services.ODataWCFService.ProductReview") - org.apache.olingo.ext.proxy.api.Annotatable getReviewsAnnotations(); - } + openType = false, + hasStream = false, + isAbstract = false) +public interface ProductDetail + extends org.apache.olingo.ext.proxy.api.Annotatable, + org.apache.olingo.ext.proxy.api.EntityType<ProductDetail>, + org.apache.olingo.ext.proxy.api.StructuredQuery<ProductDetail> { + + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getProductID(); + + void setProductID(java.lang.Integer _productID); + + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductDetailID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getProductDetailID(); + + void setProductDetailID(java.lang.Integer _productDetailID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getProductName(); + + void setProductName(java.lang.String _productName); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Description", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getDescription(); + + void setDescription(java.lang.String _description); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "RelatedProduct", + type = "Microsoft.Test.OData.Services.ODataWCFService.Product", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "Products", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product + getRelatedProduct(); + + void + setRelatedProduct( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product _relatedProduct); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Reviews", + type = "Microsoft.Test.OData.Services.ODataWCFService.ProductReview", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "ProductReviews", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductReviewCollection + getReviews(); + + void + setReviews( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductReviewCollection _reviews); + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "GetRelatedProduct", + type = OperationType.FUNCTION, + isComposable = true, + referenceType = org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product.class, + returnType = "Microsoft.Test.OData.Services.ODataWCFService.Product") + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductComposableInvoker + getRelatedProduct( + ); + + } + + Annotations annotations(); + + interface Annotations { + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ProductID", + type = "Edm.Int32") + org.apache.olingo.ext.proxy.api.Annotatable getProductIDAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ProductDetailID", + type = "Edm.Int32") + org.apache.olingo.ext.proxy.api.Annotatable getProductDetailIDAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ProductName", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getProductNameAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Description", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getDescriptionAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "RelatedProduct", + type = "Microsoft.Test.OData.Services.ODataWCFService.Product") + org.apache.olingo.ext.proxy.api.Annotatable getRelatedProductAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Reviews", + type = "Microsoft.Test.OData.Services.ODataWCFService.ProductReview") + org.apache.olingo.ext.proxy.api.Annotatable getReviewsAnnotations(); + } } http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollection.java index 76cd3dc..92783ad 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollection.java @@ -1,38 +1,40 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.AbstractTerm; +// CHECKSTYLE:OFF (Maven checkstyle) import java.util.Collection; -//CHECKSTYLE:ON (Maven checkstyle) +// CHECKSTYLE:ON (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractTerm; -public interface ProductDetailCollection extends +public interface ProductDetailCollection + extends org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection>, - org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetail, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection> { +org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetail, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection> { + + Operations operations(); - Operations operations(); + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } - interface Operations extends org.apache.olingo.ext.proxy.api.Operations{ - //No additional methods needed for now. - } Object getAnnotation(Class<? extends AbstractTerm> term); Collection<Class<? extends AbstractTerm>> getAnnotationTerms(); http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollectionComposableInvoker.java index 9c2d5c4..3c2c40a 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollectionComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailCollectionComposableInvoker.java @@ -1,27 +1,27 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) +// CHECKSTYLE:OFF (Maven checkstyle) - -public interface ProductDetailCollectionComposableInvoker extends +public interface ProductDetailCollectionComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductDetailCollection.Operations> { @Override http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailComposableInvoker.java index 2fcb51b..de647a9 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailComposableInvoker.java @@ -1,29 +1,31 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) + +// CHECKSTYLE:OFF (Maven checkstyle) import org.apache.olingo.ext.proxy.api.annotations.Key; -//CHECKSTYLE:ON (Maven checkstyle) -public interface ProductDetailComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<ProductDetail, ProductDetail.Operations> - { +// CHECKSTYLE:ON (Maven checkstyle) + +public interface ProductDetailComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<ProductDetail, ProductDetail.Operations> +{ @Override ProductDetailComposableInvoker select(String... select); @@ -31,93 +33,92 @@ public interface ProductDetailComposableInvoker @Override ProductDetailComposableInvoker expand(String... expand); - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getProductID(); - - void setProductID(java.lang.Integer _productID); - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductDetailID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getProductDetailID(); - - void setProductDetailID(java.lang.Integer _productDetailID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getProductName(); - - void setProductName(java.lang.String _productName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Description", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getDescription(); - - void setDescription(java.lang.String _description); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "RelatedProduct", - type = "Microsoft.Test.OData.Services.ODataWCFService.Product", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "Products", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product getRelatedProduct(); - - void setRelatedProduct(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product _relatedProduct); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Reviews", - type = "Microsoft.Test.OData.Services.ODataWCFService.ProductReview", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "ProductReviews", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductReviewCollection getReviews(); - - void setReviews(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductReviewCollection _reviews); - + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getProductID(); + + void setProductID(java.lang.Integer _productID); + + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductDetailID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getProductDetailID(); + + void setProductDetailID(java.lang.Integer _productDetailID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ProductName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getProductName(); + + void setProductName(java.lang.String _productName); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Description", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getDescription(); + + void setDescription(java.lang.String _description); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "RelatedProduct", + type = "Microsoft.Test.OData.Services.ODataWCFService.Product", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "Products", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product + getRelatedProduct(); + + void + setRelatedProduct( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Product _relatedProduct); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Reviews", + type = "Microsoft.Test.OData.Services.ODataWCFService.ProductReview", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "ProductReviews", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductReviewCollection + getReviews(); + + void + setReviews( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.ProductReviewCollection _reviews); } http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d1507449/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailKey.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailKey.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailKey.java index db32ab0..19f0f1b 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailKey.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductDetailKey.java @@ -1,27 +1,28 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file + * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file + * 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 - * + * 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 + * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; -//CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.annotations.CompoundKeyElement; +// CHECKSTYLE:OFF (Maven checkstyle) import org.apache.olingo.ext.proxy.api.AbstractEntityKey; -//CHECKSTYLE:ON (Maven checkstyle) + +// CHECKSTYLE:ON (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.annotations.CompoundKeyElement; @org.apache.olingo.ext.proxy.api.annotations.CompoundKey public class ProductDetailKey extends AbstractEntityKey { @@ -30,23 +31,23 @@ public class ProductDetailKey extends AbstractEntityKey { private java.lang.Integer _productID; - @CompoundKeyElement(name = "ProductID", position = 0) - public java.lang.Integer getProductID() { - return _productID; - } + @CompoundKeyElement(name = "ProductID", position = 0) + public java.lang.Integer getProductID() { + return _productID; + } - public void setProductID(java.lang.Integer _productID) { - this._productID = _productID; - } + public void setProductID(final java.lang.Integer _productID) { + this._productID = _productID; + } - private java.lang.Integer _productDetailID; + private java.lang.Integer _productDetailID; - @CompoundKeyElement(name = "ProductDetailID", position = 1) - public java.lang.Integer getProductDetailID() { - return _productDetailID; - } + @CompoundKeyElement(name = "ProductDetailID", position = 1) + public java.lang.Integer getProductDetailID() { + return _productDetailID; + } - public void setProductDetailID(java.lang.Integer _productDetailID) { - this._productDetailID = _productDetailID; - } + public void setProductDetailID(final java.lang.Integer _productDetailID) { + this._productDetailID = _productDetailID; + } }
