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/Employee.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Employee.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Employee.java index f59839e..f65a9e5 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Employee.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Employee.java @@ -1,37 +1,38 @@ -/* +/* * 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 java.util.concurrent.Future; -//CHECKSTYLE:ON (Maven checkstyle) +// CHECKSTYLE:ON (Maven checkstyle) +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 = "Employee", - openType = false, - hasStream = false, - isAbstract = false, - baseType = "Microsoft.Test.OData.Services.ODataWCFService.Person") -public interface Employee - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person { + openType = false, + hasStream = false, + isAbstract = false, + baseType = "Microsoft.Test.OData.Services.ODataWCFService.Person") +public interface Employee + extends org.apache.olingo.ext.proxy.api.Annotatable, + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person { @Override Employee load(); @@ -48,251 +49,273 @@ public interface Employee @Override Employee select(String... select); - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PersonID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getPersonID(); - - void setPersonID(java.lang.Integer _personID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FirstName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getFirstName(); - - void setFirstName(java.lang.String _firstName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "LastName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getLastName(); - - void setLastName(java.lang.String _lastName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "MiddleName", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getMiddleName(); - - void setMiddleName(java.lang.String _middleName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "HomeAddress", - 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 getHomeAddress(); - - void setHomeAddress(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address _homeAddress); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Home", - type = "Edm.GeographyPoint", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.commons.api.edm.geo.Point getHome(); - - void setHome(org.apache.olingo.commons.api.edm.geo.Point _home); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Numbers", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> getNumbers(); - - void setNumbers(org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> _numbers); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Emails", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> getEmails(); - - void setEmails(org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> _emails); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "DateHired", - type = "Edm.DateTimeOffset", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.sql.Timestamp getDateHired(); - - void setDateHired(java.sql.Timestamp _dateHired); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Office", - type = "Edm.GeographyPoint", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.commons.api.edm.geo.Point getOffice(); - - void setOffice(org.apache.olingo.commons.api.edm.geo.Point _office); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Parent", - type = "Microsoft.Test.OData.Services.ODataWCFService.Person", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "People", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person getParent(); - - void setParent(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person _parent); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Company", - type = "Microsoft.Test.OData.Services.ODataWCFService.Company", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "Company", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company getCompany(); - - void setCompany(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company _company); - - - - @Override - Operations operations(); - - interface Operations extends org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person.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.Person.Annotations{ - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "PersonID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getPersonIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "FirstName", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getFirstNameAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "LastName", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getLastNameAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "MiddleName", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getMiddleNameAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "HomeAddress", - type = "Microsoft.Test.OData.Services.ODataWCFService.Address") - org.apache.olingo.ext.proxy.api.Annotatable getHomeAddressAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Home", - type = "Edm.GeographyPoint") - org.apache.olingo.ext.proxy.api.Annotatable getHomeAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Numbers", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getNumbersAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Emails", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getEmailsAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "DateHired", - type = "Edm.DateTimeOffset") - org.apache.olingo.ext.proxy.api.Annotatable getDateHiredAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Office", - type = "Edm.GeographyPoint") - org.apache.olingo.ext.proxy.api.Annotatable getOfficeAnnotations(); - - - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Parent", - type = "Microsoft.Test.OData.Services.ODataWCFService.Person") - org.apache.olingo.ext.proxy.api.Annotatable getParentAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Company", - type = "Microsoft.Test.OData.Services.ODataWCFService.Company") - org.apache.olingo.ext.proxy.api.Annotatable getCompanyAnnotations(); - } + @Override + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PersonID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getPersonID(); + + @Override + void setPersonID(java.lang.Integer _personID); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FirstName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getFirstName(); + + @Override + void setFirstName(java.lang.String _firstName); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "LastName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getLastName(); + + @Override + void setLastName(java.lang.String _lastName); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "MiddleName", + type = "Edm.String", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getMiddleName(); + + @Override + void setMiddleName(java.lang.String _middleName); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "HomeAddress", + 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 + getHomeAddress(); + + @Override + void + setHomeAddress( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address _homeAddress); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Home", + type = "Edm.GeographyPoint", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.commons.api.edm.geo.Point getHome(); + + @Override + void setHome(org.apache.olingo.commons.api.edm.geo.Point _home); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Numbers", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> getNumbers(); + + @Override + void setNumbers(org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> _numbers); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Emails", + type = "Edm.String", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> getEmails(); + + @Override + void setEmails(org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> _emails); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "DateHired", + type = "Edm.DateTimeOffset", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.sql.Timestamp getDateHired(); + + void setDateHired(java.sql.Timestamp _dateHired); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Office", + type = "Edm.GeographyPoint", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.commons.api.edm.geo.Point getOffice(); + + void setOffice(org.apache.olingo.commons.api.edm.geo.Point _office); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Parent", + type = "Microsoft.Test.OData.Services.ODataWCFService.Person", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "People", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person getParent(); + + @Override + void setParent( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person _parent); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Company", + type = "Microsoft.Test.OData.Services.ODataWCFService.Company", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "Company", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company getCompany(); + + void + setCompany( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company _company); + + @Override + Operations operations(); + + interface Operations + extends + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person.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.Person.Annotations { + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "PersonID", + type = "Edm.Int32") + org.apache.olingo.ext.proxy.api.Annotatable getPersonIDAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "FirstName", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getFirstNameAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "LastName", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getLastNameAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "MiddleName", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getMiddleNameAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "HomeAddress", + type = "Microsoft.Test.OData.Services.ODataWCFService.Address") + org.apache.olingo.ext.proxy.api.Annotatable getHomeAddressAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Home", + type = "Edm.GeographyPoint") + org.apache.olingo.ext.proxy.api.Annotatable getHomeAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Numbers", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getNumbersAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Emails", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getEmailsAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "DateHired", + type = "Edm.DateTimeOffset") + org.apache.olingo.ext.proxy.api.Annotatable getDateHiredAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Office", + type = "Edm.GeographyPoint") + org.apache.olingo.ext.proxy.api.Annotatable getOfficeAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Parent", + type = "Microsoft.Test.OData.Services.ODataWCFService.Person") + org.apache.olingo.ext.proxy.api.Annotatable getParentAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Company", + type = "Microsoft.Test.OData.Services.ODataWCFService.Company") + org.apache.olingo.ext.proxy.api.Annotatable getCompanyAnnotations(); + } }
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/EmployeeCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeCollection.java index 7803d8e..b9bf519 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeCollection.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 EmployeeCollection extends +public interface EmployeeCollection + extends org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection>, - org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Employee, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection> { +org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Employee, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection> { + + 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/EmployeeCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeCollectionComposableInvoker.java index 6f7933f..d5556eb 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeCollectionComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeCollectionComposableInvoker.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 EmployeeCollectionComposableInvoker extends +public interface EmployeeCollectionComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection.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/EmployeeComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeComposableInvoker.java index 648b076..2516340 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/EmployeeComposableInvoker.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 EmployeeComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<Employee, Employee.Operations> - { +// CHECKSTYLE:ON (Maven checkstyle) + +public interface EmployeeComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<Employee, Employee.Operations> +{ @Override EmployeeComposableInvoker select(String... select); @@ -31,189 +33,181 @@ public interface EmployeeComposableInvoker @Override EmployeeComposableInvoker expand(String... expand); - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PersonID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getPersonID(); - - void setPersonID(java.lang.Integer _personID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FirstName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getFirstName(); - - void setFirstName(java.lang.String _firstName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "LastName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getLastName(); - - void setLastName(java.lang.String _lastName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "MiddleName", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getMiddleName(); - - void setMiddleName(java.lang.String _middleName); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "HomeAddress", - 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 getHomeAddress(); - - void setHomeAddress(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address _homeAddress); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Home", - type = "Edm.GeographyPoint", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.commons.api.edm.geo.Point getHome(); - - void setHome(org.apache.olingo.commons.api.edm.geo.Point _home); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Numbers", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> getNumbers(); - - void setNumbers(org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> _numbers); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Emails", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> getEmails(); - - void setEmails(org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> _emails); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "DateHired", - type = "Edm.DateTimeOffset", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.sql.Timestamp getDateHired(); - - void setDateHired(java.sql.Timestamp _dateHired); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Office", - type = "Edm.GeographyPoint", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - org.apache.olingo.commons.api.edm.geo.Point getOffice(); - - void setOffice(org.apache.olingo.commons.api.edm.geo.Point _office); - - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Parent", - type = "Microsoft.Test.OData.Services.ODataWCFService.Person", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "People", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person getParent(); - - void setParent(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person _parent); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Company", - type = "Microsoft.Test.OData.Services.ODataWCFService.Company", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "Company", - containsTarget = false) - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company getCompany(); - - void setCompany(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company _company); - + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PersonID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getPersonID(); + + void setPersonID(java.lang.Integer _personID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FirstName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getFirstName(); + + void setFirstName(java.lang.String _firstName); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "LastName", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getLastName(); + + void setLastName(java.lang.String _lastName); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "MiddleName", + type = "Edm.String", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getMiddleName(); + + void setMiddleName(java.lang.String _middleName); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "HomeAddress", + 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 + getHomeAddress(); + + void + setHomeAddress( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address _homeAddress); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Home", + type = "Edm.GeographyPoint", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.commons.api.edm.geo.Point getHome(); + + void setHome(org.apache.olingo.commons.api.edm.geo.Point _home); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Numbers", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> getNumbers(); + + void setNumbers(org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> _numbers); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Emails", + type = "Edm.String", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> getEmails(); + + void setEmails(org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> _emails); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "DateHired", + type = "Edm.DateTimeOffset", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.sql.Timestamp getDateHired(); + + void setDateHired(java.sql.Timestamp _dateHired); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Office", + type = "Edm.GeographyPoint", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + org.apache.olingo.commons.api.edm.geo.Point getOffice(); + + void setOffice(org.apache.olingo.commons.api.edm.geo.Point _office); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Parent", + type = "Microsoft.Test.OData.Services.ODataWCFService.Person", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "People", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person getParent(); + + void setParent( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Person _parent); + + @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Company", + type = "Microsoft.Test.OData.Services.ODataWCFService.Company", + targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", + targetContainer = "InMemoryEntities", + targetEntitySet = "Company", + containsTarget = false) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company getCompany(); + + void + setCompany( + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Company _company); } 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/GiftCard.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCard.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCard.java index edd4e14..d1432e6 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCard.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCard.java @@ -1,164 +1,152 @@ -/* +/* * 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 = "GiftCard", - openType = false, - hasStream = false, - isAbstract = false) -public interface GiftCard - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.ext.proxy.api.EntityType<GiftCard>, org.apache.olingo.ext.proxy.api.StructuredQuery<GiftCard> { - - - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "GiftCardID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getGiftCardID(); - - void setGiftCardID(java.lang.Integer _giftCardID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "GiftCardNO", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getGiftCardNO(); - - void setGiftCardNO(java.lang.String _giftCardNO); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Amount", - type = "Edm.Double", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Double getAmount(); - - void setAmount(java.lang.Double _amount); - - - @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.Property(name = "OwnerName", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getOwnerName(); - - void setOwnerName(java.lang.String _ownerName); - - - - - Operations operations(); - - interface Operations extends org.apache.olingo.ext.proxy.api.Operations{ - - @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "GetActualAmount", - type = OperationType.FUNCTION, - isComposable = false, - referenceType = java.lang.Double.class, returnType = "Edm.Double") - org.apache.olingo.ext.proxy.api.Invoker<java.lang.Double> getActualAmount( - @Parameter(name = "bonusRate", type = "Edm.Double", nullable = true) java.lang.Double bonusRate - ); - - - } - Annotations annotations(); - - interface Annotations { - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "GiftCardID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getGiftCardIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "GiftCardNO", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getGiftCardNOAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Amount", - type = "Edm.Double") - org.apache.olingo.ext.proxy.api.Annotatable getAmountAnnotations(); - - @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.AnnotationsForProperty(name = "OwnerName", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getOwnerNameAnnotations(); - - - } + openType = false, + hasStream = false, + isAbstract = false) +public interface GiftCard + extends org.apache.olingo.ext.proxy.api.Annotatable, + org.apache.olingo.ext.proxy.api.EntityType<GiftCard>, org.apache.olingo.ext.proxy.api.StructuredQuery<GiftCard> { + + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "GiftCardID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getGiftCardID(); + + void setGiftCardID(java.lang.Integer _giftCardID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "GiftCardNO", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getGiftCardNO(); + + void setGiftCardNO(java.lang.String _giftCardNO); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Amount", + type = "Edm.Double", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Double getAmount(); + + void setAmount(java.lang.Double _amount); + + @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.Property(name = "OwnerName", + type = "Edm.String", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getOwnerName(); + + void setOwnerName(java.lang.String _ownerName); + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + + @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "GetActualAmount", + type = OperationType.FUNCTION, + isComposable = false, + referenceType = java.lang.Double.class, returnType = "Edm.Double") + org.apache.olingo.ext.proxy.api.Invoker<java.lang.Double> getActualAmount( + @Parameter(name = "bonusRate", type = "Edm.Double", nullable = true) java.lang.Double bonusRate + ); + + } + + Annotations annotations(); + + interface Annotations { + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "GiftCardID", + type = "Edm.Int32") + org.apache.olingo.ext.proxy.api.Annotatable getGiftCardIDAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "GiftCardNO", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getGiftCardNOAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Amount", + type = "Edm.Double") + org.apache.olingo.ext.proxy.api.Annotatable getAmountAnnotations(); + + @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.AnnotationsForProperty(name = "OwnerName", + type = "Edm.String") + org.apache.olingo.ext.proxy.api.Annotatable getOwnerNameAnnotations(); + + } } 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/GiftCardCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardCollection.java index bdb75f2..988128e 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardCollection.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 GiftCardCollection extends +public interface GiftCardCollection + extends org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCardCollection>, - org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCard, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCardCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCardCollection> { +org.apache.olingo.ext.proxy.api.EntityCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCard, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCardCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCardCollection> { + + 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/GiftCardCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardCollectionComposableInvoker.java index 807934d..40cab5b 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardCollectionComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardCollectionComposableInvoker.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 GiftCardCollectionComposableInvoker extends +public interface GiftCardCollectionComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCardCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.GiftCardCollection.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/GiftCardComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardComposableInvoker.java index 7637bbe..0672afd 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/GiftCardComposableInvoker.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 GiftCardComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<GiftCard, GiftCard.Operations> - { +// CHECKSTYLE:ON (Maven checkstyle) + +public interface GiftCardComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<GiftCard, GiftCard.Operations> +{ @Override GiftCardComposableInvoker select(String... select); @@ -31,89 +33,80 @@ public interface GiftCardComposableInvoker @Override GiftCardComposableInvoker expand(String... expand); - - - @Key - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "GiftCardID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getGiftCardID(); - - void setGiftCardID(java.lang.Integer _giftCardID); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "GiftCardNO", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getGiftCardNO(); - - void setGiftCardNO(java.lang.String _giftCardNO); - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Amount", - type = "Edm.Double", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Double getAmount(); - - void setAmount(java.lang.Double _amount); - - - @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.Property(name = "OwnerName", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getOwnerName(); - - void setOwnerName(java.lang.String _ownerName); - + @Key + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "GiftCardID", + type = "Edm.Int32", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Integer getGiftCardID(); + + void setGiftCardID(java.lang.Integer _giftCardID); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "GiftCardNO", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getGiftCardNO(); + + void setGiftCardNO(java.lang.String _giftCardNO); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Amount", + type = "Edm.Double", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.Double getAmount(); + + void setAmount(java.lang.Double _amount); + + @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.Property(name = "OwnerName", + type = "Edm.String", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getOwnerName(); + void setOwnerName(java.lang.String _ownerName); } 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/HomeAddress.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddress.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddress.java index 8d5f8e6..02e7ec4 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddress.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddress.java @@ -1,137 +1,136 @@ -/* +/* * 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.Annotatable; -//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.ComplexType(name = "HomeAddress", - isOpenType = false, - isAbstract = false, - baseType = "Microsoft.Test.OData.Services.ODataWCFService.Address") -public interface HomeAddress + isOpenType = false, + isAbstract = false, + baseType = "Microsoft.Test.OData.Services.ODataWCFService.Address") +public interface HomeAddress extends org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address { - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Street", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getStreet(); - - void setStreet(java.lang.String _street); - - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "City", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getCity(); - - void setCity(java.lang.String _city); - - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PostalCode", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getPostalCode(); - - void setPostalCode(java.lang.String _postalCode); - - - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FamilyName", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getFamilyName(); - - void setFamilyName(java.lang.String _familyName); - - - - - Annotations annotations(); - - interface Annotations extends org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address.Annotations{ - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Street", - type = "Edm.String") - Annotatable getStreetAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "City", - type = "Edm.String") - Annotatable getCityAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "PostalCode", - type = "Edm.String") - Annotatable getPostalCodeAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "FamilyName", - type = "Edm.String") - Annotatable getFamilyNameAnnotations(); - - - } - - - - - @Override - Operations operations(); - - interface Operations extends org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address.Operations{ - //No additional methods needed for now. - } + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Street", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getStreet(); + + @Override + void setStreet(java.lang.String _street); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "City", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getCity(); + + @Override + void setCity(java.lang.String _city); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PostalCode", + type = "Edm.String", + nullable = false, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getPostalCode(); + + @Override + void setPostalCode(java.lang.String _postalCode); + + @org.apache.olingo.ext.proxy.api.annotations.Property(name = "FamilyName", + type = "Edm.String", + nullable = true, + defaultValue = "", + maxLenght = Integer.MAX_VALUE, + fixedLenght = false, + precision = 0, + scale = 0, + unicode = true, + collation = "", + srid = "") + java.lang.String getFamilyName(); + + void setFamilyName(java.lang.String _familyName); + + @Override + Annotations annotations(); + + interface Annotations + extends + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address.Annotations { + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Street", + type = "Edm.String") + Annotatable getStreetAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "City", + type = "Edm.String") + Annotatable getCityAnnotations(); + + @Override + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "PostalCode", + type = "Edm.String") + Annotatable getPostalCodeAnnotations(); + + @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "FamilyName", + type = "Edm.String") + Annotatable getFamilyNameAnnotations(); + + } + + @Override + Operations operations(); + + interface Operations + extends + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address.Operations { + // 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/HomeAddressCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddressCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddressCollection.java index 8400f8f..eae20c4 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddressCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddressCollection.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 HomeAddressCollection extends +public interface HomeAddressCollection + extends org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddressCollection>, - org.apache.olingo.ext.proxy.api.ComplexCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddress, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddressCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddressCollection> { +org.apache.olingo.ext.proxy.api.ComplexCollection<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddress, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddressCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddressCollection> { + + 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/HomeAddressCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddressCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddressCollectionComposableInvoker.java index 34cb805..aa5ed6e 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddressCollectionComposableInvoker.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/HomeAddressCollectionComposableInvoker.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 HomeAddressCollectionComposableInvoker extends +public interface HomeAddressCollectionComposableInvoker + extends org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddressCollection, org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.HomeAddressCollection.Operations> { @Override
