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/CompanyCategory.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCategory.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCategory.java index f34920d..10ee926 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCategory.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCategory.java @@ -1,45 +1,45 @@ -/* +/* * 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.commons.api.edm.EdmPrimitiveTypeKind; -//CHECKSTYLE:ON (Maven checkstyle) +// CHECKSTYLE:ON (Maven checkstyle) @org.apache.olingo.ext.proxy.api.annotations.Namespace("Microsoft.Test.OData.Services.ODataWCFService") @org.apache.olingo.ext.proxy.api.annotations.EnumType(name = "CompanyCategory", - underlyingType = EdmPrimitiveTypeKind.Int32, - isFlags = false) + underlyingType = EdmPrimitiveTypeKind.Int32, + isFlags = false) public enum CompanyCategory { - IT(0), - Communication(1), - Electronics(2), - Others(4); + IT(0), + Communication(1), + Electronics(2), + Others(4); - private java.lang.Integer value; - - public java.lang.Integer getValue(){ - return this.value; - } + private java.lang.Integer value; - private CompanyCategory(final java.lang.Integer value){ - this.value=value; - } + public java.lang.Integer getValue() { + return value; + } + + private CompanyCategory(final java.lang.Integer value) { + this.value = value; + } }
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/CompanyCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCollection.java index f4c466e..6fdc15c 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCollection.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 CompanyCollection extends +public interface CompanyCollection + extends org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCollection>, - org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCollection> { +org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCollection> { + + 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/CompanyCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCollectionComposableInvoker.java index 629166a..575c61a 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCollectionComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyCollectionComposableInvoker.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 CompanyCollectionComposableInvoker extends +public interface CompanyCollectionComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCollection.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/CompanyComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyComposableInvoker.java index 2ff9923..11697fd 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CompanyComposableInvoker.java @@ -1,30 +1,32 @@ -/* +/* * 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.Key; + +// CHECKSTYLE:OFF (Maven checkstyle) import org.apache.olingo.ext.proxy.api.AbstractOpenType; -//CHECKSTYLE:ON (Maven checkstyle) -public interface CompanyComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<Company, Company.Operations> - ,AbstractOpenType { +// CHECKSTYLE:ON (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.annotations.Key; + +public interface CompanyComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<Company, Company.Operations> + , AbstractOpenType { @Override CompanyComposableInvoker select(String... select); @@ -32,129 +34,137 @@ public interface CompanyComposableInvoker @Override CompanyComposableInvoker expand(String... expand); - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CompanyID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getCompanyID(); - - void setCompanyID(java.lang.Integer _companyID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CompanyCategory", - type = "Microsoft.Test.OData.Services.ODataWCFService.CompanyCategory", - 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.CompanyCategory getCompanyCategory(); - - void setCompanyCategory(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCategory _companyCategory); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Revenue", - type = "Edm.Int64", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Long getRevenue(); - - void setRevenue(java.lang.Long _revenue); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Name", - type = "Edm.String", - nullable = true, - 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 = "Address", - type = "Microsoft.Test.OData.Services.ODataWCFService.Address", - 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.Address getAddress(); - - void setAddress(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address _address); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Employees", - type = "Microsoft.Test.OData.Services.ODataWCFService.Employee", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "Employees", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection getEmployees(); - - void setEmployees(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection _employees); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "VipCustomer", - type = "Microsoft.Test.OData.Services.ODataWCFService.Customer", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "VipCustomer", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Customer getVipCustomer(); - - void setVipCustomer(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Customer _vipCustomer); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Departments", - type = "Microsoft.Test.OData.Services.ODataWCFService.Department", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "Departments", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.DepartmentCollection getDepartments(); - - void setDepartments(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.DepartmentCollection _departments); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "CoreDepartment", - type = "Microsoft.Test.OData.Services.ODataWCFService.Department", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "Departments", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Department getCoreDepartment(); - - void setCoreDepartment(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Department _coreDepartment); - + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CompanyID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getCompanyID(); + + void setCompanyID(java.lang.Integer _companyID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CompanyCategory", + type = "Microsoft.Test.OData.Services.ODataWCFService.CompanyCategory", + 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.CompanyCategory + getCompanyCategory(); + + void + setCompanyCategory( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCategory _companyCategory); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Revenue", + type = "Edm.Int64", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Long getRevenue(); + + void setRevenue(java.lang.Long _revenue); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Name", + type = "Edm.String", + nullable = true, + 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 = "Address", + type = "Microsoft.Test.OData.Services.ODataWCFService.Address", + 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.Address getAddress(); + + void + setAddress( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address _address); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Employees", + type = "Microsoft.Test.OData.Services.ODataWCFService.Employee", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "Employees", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection + getEmployees(); + + void + setEmployees( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection _employees); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "VipCustomer", + type = "Microsoft.Test.OData.Services.ODataWCFService.Customer", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "VipCustomer", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Customer + getVipCustomer(); + + void + setVipCustomer( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Customer _vipCustomer); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Departments", + type = "Microsoft.Test.OData.Services.ODataWCFService.Department", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "Departments", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.DepartmentCollection + getDepartments(); + + void + setDepartments( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.DepartmentCollection _departments); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "CoreDepartment", + type = "Microsoft.Test.OData.Services.ODataWCFService.Department", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "Departments", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Department + getCoreDepartment(); + + void + setCoreDepartment( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Department _coreDepartment); } 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/CreditCardPI.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPI.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPI.java index fd96e60..7f0ee90 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPI.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPI.java @@ -1,38 +1,39 @@ -/* +/* * 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.Key; -import org.apache.olingo.ext.proxy.api.AbstractEntitySet; + +// CHECKSTYLE:OFF (Maven checkstyle) import java.util.concurrent.Future; -//CHECKSTYLE:ON (Maven checkstyle) +// CHECKSTYLE:ON (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.ext.proxy.api.annotations.Key; @org.apache.olingo.ext.proxy.api.annotations.Namespace("Microsoft.Test.OData.Services.ODataWCFService") @org.apache.olingo.ext.proxy.api.annotations.EntityType(name = "CreditCardPI", - openType = false, - hasStream = false, - isAbstract = false, - baseType = "Microsoft.Test.OData.Services.ODataWCFService.PaymentInstrument") -public interface CreditCardPI - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.PaymentInstrument { + openType = false, + hasStream = false, + isAbstract = false, + baseType = "Microsoft.Test.OData.Services.ODataWCFService.PaymentInstrument") +public interface CreditCardPI + extends org.apache.olingo.ext.proxy.api.Annotatable, + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.PaymentInstrument { @Override CreditCardPI load(); @@ -49,240 +50,254 @@ public interface CreditCardPI @Override CreditCardPI select(String... select); - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PaymentInstrumentID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getPaymentInstrumentID(); - - void setPaymentInstrumentID(java.lang.Integer _paymentInstrumentID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FriendlyName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getFriendlyName(); - - void setFriendlyName(java.lang.String _friendlyName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CreatedDate", - type = "Edm.DateTimeOffset", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.sql.Timestamp getCreatedDate(); - - void setCreatedDate(java.sql.Timestamp _createdDate); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CardNumber", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getCardNumber(); - - void setCardNumber(java.lang.String _cardNumber); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CVV", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getCVV(); - - void setCVV(java.lang.String _cVV); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "HolderName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getHolderName(); - - void setHolderName(java.lang.String _holderName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Balance", - type = "Edm.Double", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Double getBalance(); - - void setBalance(java.lang.Double _balance); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ExperationDate", - type = "Edm.DateTimeOffset", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.sql.Timestamp getExperationDate(); - - void setExperationDate(java.sql.Timestamp _experationDate); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "TheStoredPI", - type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "StoredPIs", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI getTheStoredPI(); - - void setTheStoredPI(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI _theStoredPI); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "BackupStoredPI", - type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "StoredPIs", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI getBackupStoredPI(); - - void setBackupStoredPI(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI _backupStoredPI); - - - - - @Override - Operations operations(); - - interface Operations extends org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.PaymentInstrument.Operations{ - //No additional methods needed for now. - } - Annotations annotations(); - - interface Annotations extends org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.PaymentInstrument.Annotations{ - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "PaymentInstrumentID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getPaymentInstrumentIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "FriendlyName", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getFriendlyNameAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CreatedDate", - type = "Edm.DateTimeOffset") - org.apache.olingo.ext.proxy.api.Annotatable getCreatedDateAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CardNumber", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getCardNumberAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CVV", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getCVVAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "HolderName", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getHolderNameAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Balance", - type = "Edm.Double") - org.apache.olingo.ext.proxy.api.Annotatable getBalanceAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ExperationDate", - type = "Edm.DateTimeOffset") - org.apache.olingo.ext.proxy.api.Annotatable getExperationDateAnnotations(); - - - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "TheStoredPI", - type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI") - org.apache.olingo.ext.proxy.api.Annotatable getTheStoredPIAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "BillingStatements", - type = "Microsoft.Test.OData.Services.ODataWCFService.Statement") - org.apache.olingo.ext.proxy.api.Annotatable getBillingStatementsAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "BackupStoredPI", - type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI") - org.apache.olingo.ext.proxy.api.Annotatable getBackupStoredPIAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "CreditRecords", - type = "Microsoft.Test.OData.Services.ODataWCFService.CreditRecord") - org.apache.olingo.ext.proxy.api.Annotatable getCreditRecordsAnnotations(); - } - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "CreditRecords", - type = "Microsoft.Test.OData.Services.ODataWCFService.CreditRecord", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "", - targetEntitySet = "", - containsTarget = true) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI.CreditRecords getCreditRecords(); - void setCreditRecords(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI.CreditRecords _creditRecords); - - - - @org.apache.olingo.ext.proxy.api.annotations.EntitySet(name = "CreditRecords", contained = true) - interface CreditRecords - extends org.apache.olingo.ext.proxy.api.EntitySet<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection>, - org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<CreditRecords>, - AbstractEntitySet<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, java.lang.Integer, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection> { - //No additional methods needed for now. - } + @Override + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PaymentInstrumentID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getPaymentInstrumentID(); + + @Override + void setPaymentInstrumentID(java.lang.Integer _paymentInstrumentID); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FriendlyName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getFriendlyName(); + + @Override + void setFriendlyName(java.lang.String _friendlyName); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CreatedDate", + type = "Edm.DateTimeOffset", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.sql.Timestamp getCreatedDate(); + + @Override + void setCreatedDate(java.sql.Timestamp _createdDate); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CardNumber", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getCardNumber(); + + void setCardNumber(java.lang.String _cardNumber); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CVV", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getCVV(); + + void setCVV(java.lang.String _cVV); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "HolderName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getHolderName(); + + void setHolderName(java.lang.String _holderName); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Balance", + type = "Edm.Double", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Double getBalance(); + + void setBalance(java.lang.Double _balance); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ExperationDate", + type = "Edm.DateTimeOffset", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.sql.Timestamp getExperationDate(); + + void setExperationDate(java.sql.Timestamp _experationDate); + @Override + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "TheStoredPI", + type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "StoredPIs", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI + getTheStoredPI(); + + @Override + void + setTheStoredPI( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI _theStoredPI); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "BackupStoredPI", + type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "StoredPIs", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI + getBackupStoredPI(); + + @Override + void + setBackupStoredPI( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI _backupStoredPI); + + @Override + Operations operations(); + + interface Operations + extends + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.PaymentInstrument.Operations { + // No additional methods needed for now. + } + + @Override + Annotations annotations(); + + interface Annotations + extends + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.PaymentInstrument.Annotations { + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "PaymentInstrumentID", + type = "Edm.Int32") + org.apache.olingo.ext.proxy.api.Annotatable getPaymentInstrumentIDAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "FriendlyName", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getFriendlyNameAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CreatedDate", + type = "Edm.DateTimeOffset") + org.apache.olingo.ext.proxy.api.Annotatable getCreatedDateAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CardNumber", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getCardNumberAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CVV", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getCVVAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "HolderName", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getHolderNameAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Balance", + type = "Edm.Double") + org.apache.olingo.ext.proxy.api.Annotatable getBalanceAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "ExperationDate", + type = "Edm.DateTimeOffset") + org.apache.olingo.ext.proxy.api.Annotatable getExperationDateAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "TheStoredPI", + type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI") + org.apache.olingo.ext.proxy.api.Annotatable getTheStoredPIAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "BillingStatements", + type = "Microsoft.Test.OData.Services.ODataWCFService.Statement") + org.apache.olingo.ext.proxy.api.Annotatable getBillingStatementsAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "BackupStoredPI", + type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI") + org.apache.olingo.ext.proxy.api.Annotatable getBackupStoredPIAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "CreditRecords", + type = "Microsoft.Test.OData.Services.ODataWCFService.CreditRecord") + org.apache.olingo.ext.proxy.api.Annotatable getCreditRecordsAnnotations(); } + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "CreditRecords", + type = "Microsoft.Test.OData.Services.ODataWCFService.CreditRecord", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "", + targetEntitySet = "", + containsTarget = true) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI.CreditRecords + getCreditRecords(); + + void + setCreditRecords( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI.CreditRecords _creditRecords); + + @org.apache.olingo.ext.proxy.api.annotations.EntitySet(name = "CreditRecords", contained = true) + interface CreditRecords + extends + org.apache.olingo.ext.proxy.api.EntitySet<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<CreditRecords>, + AbstractEntitySet<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, java.lang.Integer, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection> { + // No additional methods needed for now. + } + +} 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/CreditCardPICollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPICollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPICollection.java index 3b025e8..2115db5 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPICollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPICollection.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 CreditCardPICollection extends +public interface CreditCardPICollection + extends org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPICollection>, - org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPICollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPICollection> { +org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPICollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPICollection> { + + 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/CreditCardPICollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPICollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPICollectionComposableInvoker.java index a1bc22b..53278d1 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPICollectionComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPICollectionComposableInvoker.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 CreditCardPICollectionComposableInvoker extends +public interface CreditCardPICollectionComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPICollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPICollection.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/CreditCardPIComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPIComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPIComposableInvoker.java index d92699a..908763b 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPIComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditCardPIComposableInvoker.java @@ -1,30 +1,32 @@ -/* +/* * 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.Key; + +// CHECKSTYLE:OFF (Maven checkstyle) import org.apache.olingo.ext.proxy.api.AbstractEntitySet; -//CHECKSTYLE:ON (Maven checkstyle) -public interface CreditCardPIComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<CreditCardPI, CreditCardPI.Operations> - { +// CHECKSTYLE:ON (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.annotations.Key; + +public interface CreditCardPIComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<CreditCardPI, CreditCardPI.Operations> +{ @Override CreditCardPIComposableInvoker select(String... select); @@ -32,178 +34,173 @@ public interface CreditCardPIComposableInvoker @Override CreditCardPIComposableInvoker expand(String... expand); - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PaymentInstrumentID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getPaymentInstrumentID(); - - void setPaymentInstrumentID(java.lang.Integer _paymentInstrumentID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FriendlyName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getFriendlyName(); - - void setFriendlyName(java.lang.String _friendlyName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CreatedDate", - type = "Edm.DateTimeOffset", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.sql.Timestamp getCreatedDate(); - - void setCreatedDate(java.sql.Timestamp _createdDate); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CardNumber", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getCardNumber(); - - void setCardNumber(java.lang.String _cardNumber); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CVV", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getCVV(); - - void setCVV(java.lang.String _cVV); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "HolderName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getHolderName(); - - void setHolderName(java.lang.String _holderName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Balance", - type = "Edm.Double", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Double getBalance(); - - void setBalance(java.lang.Double _balance); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ExperationDate", - type = "Edm.DateTimeOffset", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.sql.Timestamp getExperationDate(); - - void setExperationDate(java.sql.Timestamp _experationDate); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "TheStoredPI", - type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "StoredPIs", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI getTheStoredPI(); - - void setTheStoredPI(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI _theStoredPI); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "BackupStoredPI", - type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "StoredPIs", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI getBackupStoredPI(); - - void setBackupStoredPI(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI _backupStoredPI); - - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "CreditRecords", - type = "Microsoft.Test.OData.Services.ODataWCFService.CreditRecord", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "", - targetEntitySet = "", - containsTarget = true) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI.CreditRecords getCreditRecords(); - void setCreditRecords(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI.CreditRecords _creditRecords); - - - - @org.apache.olingo.ext.proxy.api.annotations.EntitySet(name = "CreditRecords", contained = true) - interface CreditRecords - extends org.apache.olingo.ext.proxy.api.EntitySet<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection>, + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PaymentInstrumentID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getPaymentInstrumentID(); + + void setPaymentInstrumentID(java.lang.Integer _paymentInstrumentID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FriendlyName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getFriendlyName(); + + void setFriendlyName(java.lang.String _friendlyName); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CreatedDate", + type = "Edm.DateTimeOffset", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.sql.Timestamp getCreatedDate(); + + void setCreatedDate(java.sql.Timestamp _createdDate); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CardNumber", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getCardNumber(); + + void setCardNumber(java.lang.String _cardNumber); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CVV", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getCVV(); + + void setCVV(java.lang.String _cVV); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "HolderName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getHolderName(); + + void setHolderName(java.lang.String _holderName); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Balance", + type = "Edm.Double", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Double getBalance(); + + void setBalance(java.lang.Double _balance); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "ExperationDate", + type = "Edm.DateTimeOffset", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.sql.Timestamp getExperationDate(); + + void setExperationDate(java.sql.Timestamp _experationDate); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "TheStoredPI", + type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "StoredPIs", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI + getTheStoredPI(); + + void + setTheStoredPI( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI _theStoredPI); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "BackupStoredPI", + type = "Microsoft.Test.OData.Services.ODataWCFService.StoredPI", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "StoredPIs", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI + getBackupStoredPI(); + + void + setBackupStoredPI( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.StoredPI _backupStoredPI); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "CreditRecords", + type = "Microsoft.Test.OData.Services.ODataWCFService.CreditRecord", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "", + targetEntitySet = "", + containsTarget = true) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI.CreditRecords + getCreditRecords(); + + void + setCreditRecords( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditCardPI.CreditRecords _creditRecords); + + @org.apache.olingo.ext.proxy.api.annotations.EntitySet(name = "CreditRecords", contained = true) + interface CreditRecords + extends + org.apache.olingo.ext.proxy.api.EntitySet<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection>, org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<CreditRecords>, - AbstractEntitySet<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, java.lang.Integer, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection> { - //No additional methods needed for now. - } - + AbstractEntitySet<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, java.lang.Integer, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection> { + // No additional methods needed for now. } + +} 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/CreditRecord.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecord.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecord.java index d8fab35..9821a49 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecord.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecord.java @@ -1,133 +1,125 @@ -/* +/* * 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) +// 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 = "CreditRecord", - openType = false, - hasStream = false, - isAbstract = false) -public interface CreditRecord - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.ext.proxy.api.EntityType<CreditRecord>, org.apache.olingo.ext.proxy.api.StructuredQuery<CreditRecord> { - - - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CreditRecordID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getCreditRecordID(); - - void setCreditRecordID(java.lang.Integer _creditRecordID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "IsGood", - type = "Edm.Boolean", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Boolean getIsGood(); - - void setIsGood(java.lang.Boolean _isGood); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Reason", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getReason(); - - void setReason(java.lang.String _reason); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CreatedDate", - type = "Edm.DateTimeOffset", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.sql.Timestamp getCreatedDate(); - - void setCreatedDate(java.sql.Timestamp _createdDate); - - - - - Operations operations(); - - interface Operations extends org.apache.olingo.ext.proxy.api.Operations{ - //No additional methods needed for now. - } - Annotations annotations(); - - interface Annotations { - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CreditRecordID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getCreditRecordIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "IsGood", - type = "Edm.Boolean") - org.apache.olingo.ext.proxy.api.Annotatable getIsGoodAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Reason", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getReasonAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CreatedDate", - type = "Edm.DateTimeOffset") - org.apache.olingo.ext.proxy.api.Annotatable getCreatedDateAnnotations(); - - - } + openType = false, + hasStream = false, + isAbstract = false) +public interface CreditRecord + extends org.apache.olingo.ext.proxy.api.Annotatable, + org.apache.olingo.ext.proxy.api.EntityType<CreditRecord>, + org.apache.olingo.ext.proxy.api.StructuredQuery<CreditRecord> { + + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CreditRecordID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getCreditRecordID(); + + void setCreditRecordID(java.lang.Integer _creditRecordID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "IsGood", + type = "Edm.Boolean", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Boolean getIsGood(); + + void setIsGood(java.lang.Boolean _isGood); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Reason", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getReason(); + + void setReason(java.lang.String _reason); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "CreatedDate", + type = "Edm.DateTimeOffset", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.sql.Timestamp getCreatedDate(); + + void setCreatedDate(java.sql.Timestamp _createdDate); + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } + + Annotations annotations(); + + interface Annotations { + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CreditRecordID", + type = "Edm.Int32") + org.apache.olingo.ext.proxy.api.Annotatable getCreditRecordIDAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "IsGood", + type = "Edm.Boolean") + org.apache.olingo.ext.proxy.api.Annotatable getIsGoodAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Reason", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getReasonAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "CreatedDate", + type = "Edm.DateTimeOffset") + org.apache.olingo.ext.proxy.api.Annotatable getCreatedDateAnnotations(); + + } } 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/CreditRecordCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecordCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecordCollection.java index f9aea35..6ce50c0 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecordCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecordCollection.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 CreditRecordCollection extends +public interface CreditRecordCollection + extends org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection>, - org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection> { +org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecord, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection> { + + 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/CreditRecordCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecordCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecordCollectionComposableInvoker.java index be9d668..bdc36fb 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecordCollectionComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/CreditRecordCollectionComposableInvoker.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 CreditRecordCollectionComposableInvoker extends +public interface CreditRecordCollectionComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CreditRecordCollection.Operations> { @Override
