http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyComposableInvoker.java deleted file mode 100644 index dca239d..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyComposableInvoker.java +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.AbstractEntitySet; - -// CHECKSTYLE:ON (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.AbstractOpenType; -import org.apache.olingo.ext.proxy.api.annotations.Key; - -public interface PublicCompanyComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<PublicCompany, PublicCompany.Operations> - , AbstractOpenType { - - @Override - PublicCompanyComposableInvoker select(String... select); - - @Override - PublicCompanyComposableInvoker 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 = "") - CompanyCategory - getCompanyCategory(); - - void - setCompanyCategory( - 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 = "") - Address getAddress(); - - void - setAddress( - Address _address); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "StockExchange", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getStockExchange(); - - void setStockExchange(java.lang.String _stockExchange); - - @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) - EmployeeCollection - getEmployees(); - - void - setEmployees( - 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) - Customer - getVipCustomer(); - - void - setVipCustomer( - 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) - DepartmentCollection - getDepartments(); - - void - setDepartments( - 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) - Department - getCoreDepartment(); - - void - setCoreDepartment( - Department _coreDepartment); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Club", - type = "Microsoft.Test.OData.Services.ODataWCFService.Club", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "", - targetEntitySet = "", - containsTarget = true) - Club getClub(); - - void setClub( - Club _club); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "LabourUnion", - type = "Microsoft.Test.OData.Services.ODataWCFService.LabourUnion", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "LabourUnion", - containsTarget = false) - LabourUnion - getLabourUnion(); - - void - setLabourUnion( - LabourUnion _labourUnion); - - @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Assets", - type = "Microsoft.Test.OData.Services.ODataWCFService.LabourUnion", - targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", - targetContainer = "InMemoryEntities", - targetEntitySet = "LabourUnion", - containsTarget = true) - PublicCompany.Assets - getAssets(); - - void - setAssets( - PublicCompany.Assets _assets); - - @org.apache.olingo.ext.proxy.api.annotations.EntitySet(name = "Assets", contained = true) - interface Assets - extends - org.apache.olingo.ext.proxy.api.EntitySet<Asset, AssetCollection>, - org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<Assets>, - AbstractEntitySet<Asset, java.lang.Integer, AssetCollection> { - // No additional methods needed for now. - } - -}
http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java deleted file mode 100644 index 4062570..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.annotations.Key; - -// CHECKSTYLE:ON (Maven checkstyle) - [email protected]("Microsoft.Test.OData.Services.ODataWCFService") [email protected](name = "Statement", - openType = false, - hasStream = false, - isAbstract = false) -public interface Statement - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.ext.proxy.api.EntityType<Statement>, org.apache.olingo.ext.proxy.api.StructuredQuery<Statement> { - - @Key - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "StatementID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getStatementID(); - - void setStatementID(java.lang.Integer _statementID); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "TransactionType", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getTransactionType(); - - void setTransactionType(java.lang.String _transactionType); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "TransactionDescription", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getTransactionDescription(); - - void setTransactionDescription(java.lang.String _transactionDescription); - - @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); - - 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 = "StatementID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getStatementIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "TransactionType", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getTransactionTypeAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "TransactionDescription", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getTransactionDescriptionAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Amount", - type = "Edm.Double") - org.apache.olingo.ext.proxy.api.Annotatable getAmountAnnotations(); - - } - -} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java deleted file mode 100644 index 2f07e87..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import java.util.Collection; -// CHECKSTYLE:ON (Maven checkstyle) - -import org.apache.olingo.ext.proxy.api.AbstractTerm; - -public interface StatementCollection - extends - org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<StatementCollection>, -org.apache.olingo.ext.proxy.api.EntityCollection<Statement, StatementCollection, StatementCollection> { - - Operations operations(); - - 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/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollectionComposableInvoker.java deleted file mode 100644 index df14aac..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollectionComposableInvoker.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) - -public interface StatementCollectionComposableInvoker - extends - org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<StatementCollection, StatementCollection.Operations> { - - @Override - StatementCollectionComposableInvoker select(String... select); - - @Override - StatementCollectionComposableInvoker expand(String... expand); -} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementComposableInvoker.java deleted file mode 100644 index c6b290a..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementComposableInvoker.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.annotations.Key; - -// CHECKSTYLE:ON (Maven checkstyle) - -public interface StatementComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<Statement, Statement.Operations> -{ - - @Override - StatementComposableInvoker select(String... select); - - @Override - StatementComposableInvoker expand(String... expand); - - @Key - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "StatementID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getStatementID(); - - void setStatementID(java.lang.Integer _statementID); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "TransactionType", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getTransactionType(); - - void setTransactionType(java.lang.String _transactionType); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "TransactionDescription", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getTransactionDescription(); - - void setTransactionDescription(java.lang.String _transactionDescription); - - @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); - -} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java deleted file mode 100644 index 2394581..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.annotations.Key; - -// CHECKSTYLE:ON (Maven checkstyle) - [email protected]("Microsoft.Test.OData.Services.ODataWCFService") [email protected](name = "StoredPI", - openType = false, - hasStream = false, - isAbstract = false) -public interface StoredPI - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.ext.proxy.api.EntityType<StoredPI>, org.apache.olingo.ext.proxy.api.StructuredQuery<StoredPI> { - - @Key - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "StoredPIID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getStoredPIID(); - - void setStoredPIID(java.lang.Integer _storedPIID); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PIName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getPIName(); - - void setPIName(java.lang.String _pIName); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PIType", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getPIType(); - - void setPIType(java.lang.String _pIType); - - @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 = "StoredPIID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getStoredPIIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "PIName", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getPINameAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "PIType", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getPITypeAnnotations(); - - @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/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java deleted file mode 100644 index b2622d9..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import java.util.Collection; -// CHECKSTYLE:ON (Maven checkstyle) - -import org.apache.olingo.ext.proxy.api.AbstractTerm; - -public interface StoredPICollection - extends - org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<StoredPICollection>, -org.apache.olingo.ext.proxy.api.EntityCollection<StoredPI, StoredPICollection, StoredPICollection> { - - Operations operations(); - - 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/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollectionComposableInvoker.java deleted file mode 100644 index a9c65f5..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollectionComposableInvoker.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) - -public interface StoredPICollectionComposableInvoker - extends - org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<StoredPICollection, StoredPICollection.Operations> { - - @Override - StoredPICollectionComposableInvoker select(String... select); - - @Override - StoredPICollectionComposableInvoker expand(String... expand); -} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPIComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPIComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPIComposableInvoker.java deleted file mode 100644 index f6d5d49..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPIComposableInvoker.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.annotations.Key; - -// CHECKSTYLE:ON (Maven checkstyle) - -public interface StoredPIComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<StoredPI, StoredPI.Operations> -{ - - @Override - StoredPIComposableInvoker select(String... select); - - @Override - StoredPIComposableInvoker expand(String... expand); - - @Key - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "StoredPIID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getStoredPIID(); - - void setStoredPIID(java.lang.Integer _storedPIID); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PIName", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getPIName(); - - void setPIName(java.lang.String _pIName); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "PIType", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getPIType(); - - void setPIType(java.lang.String _pIType); - - @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); - -} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java deleted file mode 100644 index 6a63879..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.annotations.Key; - -// CHECKSTYLE:ON (Maven checkstyle) - [email protected]("Microsoft.Test.OData.Services.ODataWCFService") [email protected](name = "Subscription", - openType = false, - hasStream = false, - isAbstract = false) -public interface Subscription - extends org.apache.olingo.ext.proxy.api.Annotatable, - org.apache.olingo.ext.proxy.api.EntityType<Subscription>, - org.apache.olingo.ext.proxy.api.StructuredQuery<Subscription> { - - @Key - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "SubscriptionID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getSubscriptionID(); - - void setSubscriptionID(java.lang.Integer _subscriptionID); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "TemplateGuid", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getTemplateGuid(); - - void setTemplateGuid(java.lang.String _templateGuid); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Title", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getTitle(); - - void setTitle(java.lang.String _title); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Category", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getCategory(); - - void setCategory(java.lang.String _category); - - @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 = "SubscriptionID", - type = "Edm.Int32") - org.apache.olingo.ext.proxy.api.Annotatable getSubscriptionIDAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "TemplateGuid", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getTemplateGuidAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Title", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getTitleAnnotations(); - - @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Category", - type = "Edm.String") - org.apache.olingo.ext.proxy.api.Annotatable getCategoryAnnotations(); - - @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/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java deleted file mode 100644 index ae35e6a..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import java.util.Collection; -// CHECKSTYLE:ON (Maven checkstyle) - -import org.apache.olingo.ext.proxy.api.AbstractTerm; - -public interface SubscriptionCollection - extends - org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<SubscriptionCollection>, -org.apache.olingo.ext.proxy.api.EntityCollection<Subscription, SubscriptionCollection, SubscriptionCollection> { - - Operations operations(); - - 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/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollectionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollectionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollectionComposableInvoker.java deleted file mode 100644 index 82e628c..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollectionComposableInvoker.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) - -public interface SubscriptionCollectionComposableInvoker - extends - org.apache.olingo.ext.proxy.api.StructuredCollectionComposableInvoker<SubscriptionCollection, SubscriptionCollection.Operations> { - - @Override - SubscriptionCollectionComposableInvoker select(String... select); - - @Override - SubscriptionCollectionComposableInvoker expand(String... expand); -} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionComposableInvoker.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionComposableInvoker.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionComposableInvoker.java deleted file mode 100644 index 6c0a2c8..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionComposableInvoker.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - -// CHECKSTYLE:OFF (Maven checkstyle) -import org.apache.olingo.ext.proxy.api.annotations.Key; - -// CHECKSTYLE:ON (Maven checkstyle) - -public interface SubscriptionComposableInvoker - extends org.apache.olingo.ext.proxy.api.StructuredComposableInvoker<Subscription, Subscription.Operations> -{ - - @Override - SubscriptionComposableInvoker select(String... select); - - @Override - SubscriptionComposableInvoker expand(String... expand); - - @Key - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "SubscriptionID", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.Integer getSubscriptionID(); - - void setSubscriptionID(java.lang.Integer _subscriptionID); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "TemplateGuid", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getTemplateGuid(); - - void setTemplateGuid(java.lang.String _templateGuid); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Title", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getTitle(); - - void setTitle(java.lang.String _title); - - @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Category", - type = "Edm.String", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "") - java.lang.String getCategory(); - - void setCategory(java.lang.String _category); - - @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); - -} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java deleted file mode 100644 index bb754bd..0000000 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.olingo.fit.proxy.staticservice.microsoft.test.odata.services.odatawcfservice.types; - http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Accounts.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Accounts.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Accounts.java new file mode 100644 index 0000000..63a5df8 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Accounts.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Account; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.AccountCollection; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "Accounts", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface Accounts + extends + org.apache.olingo.ext.proxy.api.EntitySet<Account, AccountCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<Accounts>, + AbstractEntitySet<Account, java.lang.Integer, AccountCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Customers.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Customers.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Customers.java new file mode 100644 index 0000000..fde5df6 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Customers.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Customer; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.CustomerCollection; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "Customers", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface Customers + extends + org.apache.olingo.ext.proxy.api.EntitySet<Customer, CustomerCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<Customers>, + AbstractEntitySet<Customer, java.lang.Integer, CustomerCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Departments.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Departments.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Departments.java new file mode 100644 index 0000000..011b5a6 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Departments.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Department; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.DepartmentCollection; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "Departments", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface Departments + extends + org.apache.olingo.ext.proxy.api.EntitySet<Department, DepartmentCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<Departments>, + AbstractEntitySet<Department, java.lang.Integer, DepartmentCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Employees.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Employees.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Employees.java new file mode 100644 index 0000000..a159f94 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Employees.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Employee; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.EmployeeCollection; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "Employees", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface Employees + extends + org.apache.olingo.ext.proxy.api.EntitySet<Employee, EmployeeCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<Employees>, + AbstractEntitySet<Employee, java.lang.Integer, EmployeeCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/InMemoryEntities.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/InMemoryEntities.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/InMemoryEntities.java new file mode 100644 index 0000000..0f6add3 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/InMemoryEntities.java @@ -0,0 +1,225 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import java.io.InputStream; + +// CHECKSTYLE:ON (Maven checkstyle) +import java.io.Serializable; + +import org.apache.olingo.ext.proxy.api.ComplexCollection; +import org.apache.olingo.ext.proxy.api.ComplexType; +import org.apache.olingo.ext.proxy.api.EdmStreamValue; +import org.apache.olingo.ext.proxy.api.EntityCollection; +import org.apache.olingo.ext.proxy.api.EntityType; +import org.apache.olingo.ext.proxy.api.OperationType; +import org.apache.olingo.ext.proxy.api.PersistenceManager; +import org.apache.olingo.ext.proxy.api.PrimitiveCollection; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.AccessLevel; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Address; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Color; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Company; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Customer; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.LabourUnion; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Person; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.PersonComposableInvoker; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductCollection; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductCollectionComposableInvoker; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.StoredPI; + [email protected]("Microsoft.Test.OData.Services.ODataWCFService") [email protected](name = "InMemoryEntities", + namespace = "Microsoft.Test.OData.Services.ODataWCFService") +public interface InMemoryEntities extends PersistenceManager { + + Accounts getAccounts(); + + StoredPIs getStoredPIs(); + + Customers getCustomers(); + + Products getProducts(); + + OrderDetails getOrderDetails(); + + Departments getDepartments(); + + Employees getEmployees(); + + Orders getOrders(); + + People getPeople(); + + SubscriptionTemplates getSubscriptionTemplates(); + + ProductReviews getProductReviews(); + + ProductDetails getProductDetails(); + + @org.apache.olingo.ext.proxy.api.annotations.Singleton( + name = "PublicCompany", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") + Company + getPublicCompany(); + + @org.apache.olingo.ext.proxy.api.annotations.Singleton( + name = "DefaultStoredPI", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") + StoredPI + getDefaultStoredPI(); + + @org.apache.olingo.ext.proxy.api.annotations.Singleton( + name = "VipCustomer", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") + Customer + getVipCustomer(); + + @org.apache.olingo.ext.proxy.api.annotations.Singleton( + name = "Company", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") + Company getCompany(); + + @org.apache.olingo.ext.proxy.api.annotations.Singleton( + name = "Boss", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") + Person getBoss(); + + @org.apache.olingo.ext.proxy.api.annotations.Singleton( + name = "LabourUnion", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") + LabourUnion + getLabourUnion(); + + Operations operations(); + + public interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + + @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "GetBossEmails", + type = OperationType.FUNCTION, + isComposable = false, + referenceType = org.apache.olingo.ext.proxy.api.PrimitiveCollection.class, + returnType = "Collection(Edm.String)") + org.apache.olingo.ext.proxy.api.PrimitiveCollectionInvoker<org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String>> + getBossEmails( + @org.apache.olingo.ext.proxy.api.annotations.Parameter(name = "start", type = "Edm.Int32", nullable = false) java.lang.Integer start, + @org.apache.olingo.ext.proxy.api.annotations.Parameter(name = "count", type = "Edm.Int32", nullable = false) java.lang.Integer count + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "GetPerson2", + type = OperationType.FUNCTION, + isComposable = true, + referenceType = Person.class, + returnType = "Microsoft.Test.OData.Services.ODataWCFService.Person") + PersonComposableInvoker + getPerson2( + @org.apache.olingo.ext.proxy.api.annotations.Parameter(name = "city", type = "Edm.String", nullable = false) java.lang.String city + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "GetDefaultColor", + type = OperationType.FUNCTION, + isComposable = true, + referenceType = Color.class, + returnType = "Microsoft.Test.OData.Services.ODataWCFService.Color") + org.apache.olingo.ext.proxy.api.Invoker<Color> + getDefaultColor( + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "GetPerson", + type = OperationType.FUNCTION, + isComposable = true, + referenceType = Person.class, + returnType = "Microsoft.Test.OData.Services.ODataWCFService.Person") + PersonComposableInvoker + getPerson( + @org.apache.olingo.ext.proxy.api.annotations.Parameter(name = "address", + type = "Microsoft.Test.OData.Services.ODataWCFService.Address", nullable = false) Address address + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "GetProductsByAccessLevel", + type = OperationType.FUNCTION, + isComposable = false, + referenceType = org.apache.olingo.ext.proxy.api.PrimitiveCollection.class, + returnType = "Collection(Edm.String)") + org.apache.olingo.ext.proxy.api.PrimitiveCollectionInvoker<org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String>> + getProductsByAccessLevel( + @org.apache.olingo.ext.proxy.api.annotations.Parameter(name = "accessLevel", + type = "Microsoft.Test.OData.Services.ODataWCFService.AccessLevel", nullable = false) AccessLevel accessLevel + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "GetAllProducts", + type = OperationType.FUNCTION, + isComposable = true, + referenceType = ProductCollection.class, + returnType = "Collection(Microsoft.Test.OData.Services.ODataWCFService.Product)") + ProductCollectionComposableInvoker + getAllProducts( + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation( + name = "ResetBossAddress", + type = OperationType.ACTION, + referenceType = Address.class, + returnType = "Microsoft.Test.OData.Services.ODataWCFService.Address") + org.apache.olingo.ext.proxy.api.StructuredInvoker<Address> + resetBossAddress( + @org.apache.olingo.ext.proxy.api.annotations.Parameter(name = "address", + type = "Microsoft.Test.OData.Services.ODataWCFService.Address", nullable = false) Address address + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "ResetDataSource", + type = OperationType.ACTION) + org.apache.olingo.ext.proxy.api.Invoker<Void> resetDataSource( + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "Discount", + type = OperationType.ACTION) + org.apache.olingo.ext.proxy.api.Invoker<Void> discount( + @org.apache.olingo.ext.proxy.api.annotations.Parameter(name = "percentage", type = "Edm.Int32", + nullable = false) java.lang.Integer percentage + ); + + @org.apache.olingo.ext.proxy.api.annotations.Operation(name = "ResetBossEmail", + type = OperationType.ACTION, + referenceType = org.apache.olingo.ext.proxy.api.PrimitiveCollection.class, + returnType = "Collection(Edm.String)") + org.apache.olingo.ext.proxy.api.PrimitiveCollectionInvoker<org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String>> + resetBossEmail( + @org.apache.olingo.ext.proxy.api.annotations.Parameter(name = "emails", type = "Collection(Edm.String)", + nullable = false) org.apache.olingo.ext.proxy.api.PrimitiveCollection<java.lang.String> emails + ); + + } + + <NE extends EntityType<?>> NE newEntityInstance(Class<NE> ref); + + <T extends EntityType<?>, NEC extends EntityCollection<T, ?, ?>> NEC newEntityCollection(Class<NEC> ref); + + <NE extends ComplexType<?>> NE newComplexInstance(Class<NE> ref); + + <T extends ComplexType<?>, NEC extends ComplexCollection<T, ?, ?>> NEC newComplexCollection(Class<NEC> ref); + + <T extends Serializable, NEC extends PrimitiveCollection<T>> NEC newPrimitiveCollection(Class<T> ref); + + EdmStreamValue newEdmStreamValue(String contentType, InputStream stream); +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/OrderDetails.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/OrderDetails.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/OrderDetails.java new file mode 100644 index 0000000..d9cc5c6 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/OrderDetails.java @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.OrderDetail; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.OrderDetailCollection; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.OrderDetailKey; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "OrderDetails", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface OrderDetails + extends + org.apache.olingo.ext.proxy.api.EntitySet<OrderDetail, OrderDetailCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<OrderDetails>, + AbstractEntitySet<OrderDetail, OrderDetailKey, OrderDetailCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Orders.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Orders.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Orders.java new file mode 100644 index 0000000..5688057 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Orders.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Order; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.OrderCollection; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "Orders", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface Orders + extends + org.apache.olingo.ext.proxy.api.EntitySet<Order, OrderCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<Orders>, + AbstractEntitySet<Order, java.lang.Integer, OrderCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/People.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/People.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/People.java new file mode 100644 index 0000000..80824a8 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/People.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Person; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.PersonCollection; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "People", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface People + extends + org.apache.olingo.ext.proxy.api.EntitySet<Person, PersonCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<People>, + AbstractEntitySet<Person, java.lang.Integer, PersonCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/ProductDetails.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/ProductDetails.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/ProductDetails.java new file mode 100644 index 0000000..e1d8744 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/ProductDetails.java @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductDetail; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductDetailCollection; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductDetailKey; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "ProductDetails", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface ProductDetails + extends + org.apache.olingo.ext.proxy.api.EntitySet<ProductDetail, ProductDetailCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<ProductDetails>, + AbstractEntitySet<ProductDetail, ProductDetailKey, ProductDetailCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/ProductReviews.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/ProductReviews.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/ProductReviews.java new file mode 100644 index 0000000..e488062 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/ProductReviews.java @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductReview; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductReviewCollection; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductReviewKey; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "ProductReviews", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface ProductReviews + extends + org.apache.olingo.ext.proxy.api.EntitySet<ProductReview, ProductReviewCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<ProductReviews>, + AbstractEntitySet<ProductReview, ProductReviewKey, ProductReviewCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Products.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Products.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Products.java new file mode 100644 index 0000000..683896b --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/Products.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.Product; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.ProductCollection; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "Products", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface Products + extends + org.apache.olingo.ext.proxy.api.EntitySet<Product, ProductCollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<Products>, + AbstractEntitySet<Product, java.lang.Integer, ProductCollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +} http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d16d2b9c/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/StoredPIs.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/StoredPIs.java b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/StoredPIs.java new file mode 100644 index 0000000..98fc945 --- /dev/null +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/staticservice/odatawcfservice/StoredPIs.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.olingo.fit.proxy.staticservice.odatawcfservice; + +// CHECKSTYLE:OFF (Maven checkstyle) +import org.apache.olingo.ext.proxy.api.AbstractEntitySet; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.StoredPI; +import org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types.StoredPICollection; + +// CHECKSTYLE:ON (Maven checkstyle) + [email protected](name = "StoredPIs", + container = "Microsoft.Test.OData.Services.ODataWCFService.InMemoryEntities") +public interface StoredPIs + extends + org.apache.olingo.ext.proxy.api.EntitySet<StoredPI, StoredPICollection>, + org.apache.olingo.ext.proxy.api.StructuredCollectionQuery<StoredPIs>, + AbstractEntitySet<StoredPI, java.lang.Integer, StoredPICollection> { + + Operations operations(); + + interface Operations extends org.apache.olingo.ext.proxy.api.Operations { + // No additional methods needed for now. + } +}
