http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReview.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReview.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReview.java index 2faa843..32bfa8f 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReview.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReview.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; @@ -82,7 +81,7 @@ public interface ProductReview fcKeepInContent = false) Integer getProductID(); - void setProductID(final Integer _productID); + void setProductID(Integer _productID); @Key @Property(name = "ProductDetailID", @@ -105,7 +104,7 @@ public interface ProductReview fcKeepInContent = false) Integer getProductDetailID(); - void setProductDetailID(final Integer _productDetailID); + void setProductDetailID(Integer _productDetailID); @Key @Property(name = "ReviewTitle", @@ -128,7 +127,7 @@ public interface ProductReview fcKeepInContent = false) String getReviewTitle(); - void setReviewTitle(final String _reviewTitle); + void setReviewTitle(String _reviewTitle); @Key @Property(name = "RevisionID", @@ -151,7 +150,7 @@ public interface ProductReview fcKeepInContent = false) Integer getRevisionID(); - void setRevisionID(final Integer _revisionID); + void setRevisionID(Integer _revisionID); @Property(name = "Comment", @@ -174,7 +173,7 @@ public interface ProductReview fcKeepInContent = false) String getComment(); - void setComment(final String _comment); + void setComment(String _comment); @Property(name = "Author", @@ -197,7 +196,7 @@ public interface ProductReview fcKeepInContent = false) String getAuthor(); - void setAuthor(final String _author); + void setAuthor(String _author);
http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewCollection.java index 745ce9c..9825a70 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewCollection.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewKey.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewKey.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewKey.java index aad0cdd..500624e 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewKey.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/ProductReviewKey.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.ext.proxy.api.annotations.EntityType; @@ -57,7 +56,7 @@ public class ProductReviewKey extends AbstractEntityKey { return _productID; } - public void setProductID(final Integer _productID) { + public void setProductID(Integer _productID) { this._productID = _productID; } @@ -68,7 +67,7 @@ public class ProductReviewKey extends AbstractEntityKey { return _productDetailID; } - public void setProductDetailID(final Integer _productDetailID) { + public void setProductDetailID(Integer _productDetailID) { this._productDetailID = _productDetailID; } @@ -79,7 +78,7 @@ public class ProductReviewKey extends AbstractEntityKey { return _reviewTitle; } - public void setReviewTitle(final String _reviewTitle) { + public void setReviewTitle(String _reviewTitle) { this._reviewTitle = _reviewTitle; } @@ -90,7 +89,7 @@ public class ProductReviewKey extends AbstractEntityKey { return _revisionID; } - public void setRevisionID(final Integer _revisionID) { + public void setRevisionID(Integer _revisionID) { this._revisionID = _revisionID; } } http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompany.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompany.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompany.java index af0484a..a3c9713 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompany.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompany.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; @@ -83,7 +82,7 @@ public interface PublicCompany fcKeepInContent = false) Integer getCompanyID(); - void setCompanyID(final Integer _companyID); + void setCompanyID(Integer _companyID); @Property(name = "CompanyCategory", @@ -106,7 +105,7 @@ public interface PublicCompany fcKeepInContent = false) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCategory getCompanyCategory(); - void setCompanyCategory(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCategory _companyCategory); + void setCompanyCategory(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.CompanyCategory _companyCategory); @Property(name = "Revenue", @@ -129,7 +128,7 @@ public interface PublicCompany fcKeepInContent = false) Long getRevenue(); - void setRevenue(final Long _revenue); + void setRevenue(Long _revenue); @Property(name = "Name", @@ -152,7 +151,7 @@ public interface PublicCompany fcKeepInContent = false) String getName(); - void setName(final String _name); + void setName(String _name); @Property(name = "Address", @@ -175,7 +174,7 @@ public interface PublicCompany fcKeepInContent = false) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address getAddress(); - void setAddress(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address _address); + void setAddress(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Address _address); @Property(name = "StockExchange", @@ -198,7 +197,7 @@ public interface PublicCompany fcKeepInContent = false) String getStockExchange(); - void setStockExchange(final String _stockExchange); + void setStockExchange(String _stockExchange); @@ -206,72 +205,72 @@ public interface PublicCompany type = "Microsoft.Test.OData.Services.ODataWCFService.Employee", targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", targetContainer = "InMemoryEntities", - targetEntitySet = "Employees") + targetEntitySet = "Employees", + containsTarget = false) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection getEmployees(); - void setEmployees(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection _employees); - - + void setEmployees(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.EmployeeCollection _employees); + @NavigationProperty(name = "VipCustomer", type = "Microsoft.Test.OData.Services.ODataWCFService.Customer", targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", targetContainer = "InMemoryEntities", - targetEntitySet = "VipCustomer") + targetEntitySet = "VipCustomer", + containsTarget = false) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Customer getVipCustomer(); - void setVipCustomer(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Customer _vipCustomer); - - + void setVipCustomer(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Customer _vipCustomer); + @NavigationProperty(name = "Departments", type = "Microsoft.Test.OData.Services.ODataWCFService.Department", targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", targetContainer = "InMemoryEntities", - targetEntitySet = "Departments") + targetEntitySet = "Departments", + containsTarget = false) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.DepartmentCollection getDepartments(); - void setDepartments(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.DepartmentCollection _departments); - - + void setDepartments(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.DepartmentCollection _departments); + @NavigationProperty(name = "CoreDepartment", type = "Microsoft.Test.OData.Services.ODataWCFService.Department", targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", targetContainer = "InMemoryEntities", - targetEntitySet = "Departments") + targetEntitySet = "Departments", + containsTarget = false) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Department getCoreDepartment(); - void setCoreDepartment(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Department _coreDepartment); - - + void setCoreDepartment(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Department _coreDepartment); + @NavigationProperty(name = "Assets", type = "Microsoft.Test.OData.Services.ODataWCFService.Asset", targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", targetContainer = "", - targetEntitySet = "") - org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AssetCollection getAssets(); - - void setAssets(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.AssetCollection _assets); - + targetEntitySet = "", + containsTarget = true) + org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.Assets getAssets(); + void setAssets(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.Assets _assets); + @NavigationProperty(name = "Club", type = "Microsoft.Test.OData.Services.ODataWCFService.Club", targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", targetContainer = "", - targetEntitySet = "") + targetEntitySet = "", + containsTarget = true) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Club getClub(); - void setClub(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Club _club); - - + void setClub(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.Club _club); + @NavigationProperty(name = "LabourUnion", type = "Microsoft.Test.OData.Services.ODataWCFService.LabourUnion", targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", targetContainer = "InMemoryEntities", - targetEntitySet = "LabourUnion") + targetEntitySet = "LabourUnion", + containsTarget = false) org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.LabourUnion getLabourUnion(); - void setLabourUnion(final org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.LabourUnion _labourUnion); - - + void setLabourUnion(org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types.LabourUnion _labourUnion); + @Override Operations operations(); http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyCollection.java index f7a149d..b90e82f 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/PublicCompanyCollection.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java index ed3f6ee..4b7e86f 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Statement.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; @@ -82,7 +81,7 @@ public interface Statement fcKeepInContent = false) Integer getStatementID(); - void setStatementID(final Integer _statementID); + void setStatementID(Integer _statementID); @Property(name = "TransactionType", @@ -105,7 +104,7 @@ public interface Statement fcKeepInContent = false) String getTransactionType(); - void setTransactionType(final String _transactionType); + void setTransactionType(String _transactionType); @Property(name = "TransactionDescription", @@ -128,7 +127,7 @@ public interface Statement fcKeepInContent = false) String getTransactionDescription(); - void setTransactionDescription(final String _transactionDescription); + void setTransactionDescription(String _transactionDescription); @Property(name = "Amount", @@ -151,7 +150,7 @@ public interface Statement fcKeepInContent = false) Double getAmount(); - void setAmount(final Double _amount); + void setAmount(Double _amount); http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java index 7a52544..2f4c0a6 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StatementCollection.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java index 4035fed..a99ff85 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPI.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; @@ -82,7 +81,7 @@ public interface StoredPI fcKeepInContent = false) Integer getStoredPIID(); - void setStoredPIID(final Integer _storedPIID); + void setStoredPIID(Integer _storedPIID); @Property(name = "PIName", @@ -105,7 +104,7 @@ public interface StoredPI fcKeepInContent = false) String getPIName(); - void setPIName(final String _pIName); + void setPIName(String _pIName); @Property(name = "PIType", @@ -128,7 +127,7 @@ public interface StoredPI fcKeepInContent = false) String getPIType(); - void setPIType(final String _pIType); + void setPIType(String _pIType); @Property(name = "CreatedDate", @@ -151,7 +150,7 @@ public interface StoredPI fcKeepInContent = false) Calendar getCreatedDate(); - void setCreatedDate(final Calendar _createdDate); + void setCreatedDate(Calendar _createdDate); http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java index 2435a26..ba7ab8f 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/StoredPICollection.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java index 60345e8..de3de5d 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/Subscription.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; @@ -82,7 +81,7 @@ public interface Subscription fcKeepInContent = false) Integer getSubscriptionID(); - void setSubscriptionID(final Integer _subscriptionID); + void setSubscriptionID(Integer _subscriptionID); @Property(name = "TemplateGuid", @@ -105,7 +104,7 @@ public interface Subscription fcKeepInContent = false) String getTemplateGuid(); - void setTemplateGuid(final String _templateGuid); + void setTemplateGuid(String _templateGuid); @Property(name = "Title", @@ -128,7 +127,7 @@ public interface Subscription fcKeepInContent = false) String getTitle(); - void setTitle(final String _title); + void setTitle(String _title); @Property(name = "Category", @@ -151,7 +150,7 @@ public interface Subscription fcKeepInContent = false) String getCategory(); - void setCategory(final String _category); + void setCategory(String _category); @Property(name = "CreatedDate", @@ -174,7 +173,7 @@ public interface Subscription fcKeepInContent = false) Calendar getCreatedDate(); - void setCreatedDate(final Calendar _createdDate); + void setCreatedDate(Calendar _createdDate); http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java index 17885bf..08393e7 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/SubscriptionCollection.java @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; import org.apache.olingo.client.api.http.HttpMethod; http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java index 1b20c6b..4bc5702 100644 --- a/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java +++ b/fit/src/test/java/org/apache/olingo/fit/proxy/v4/staticservice/microsoft/test/odata/services/odatawcfservice/types/package-info.java @@ -16,6 +16,5 @@ * specific language governing permissions and limitations * under the License. */ - package org.apache.olingo.fit.proxy.v4.staticservice.microsoft.test.odata.services.odatawcfservice.types; http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/v4/AsyncTestITCase.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/v4/AsyncTestITCase.java b/fit/src/test/java/org/apache/olingo/fit/v4/AsyncTestITCase.java index 4960a48..bff5993 100644 --- a/fit/src/test/java/org/apache/olingo/fit/v4/AsyncTestITCase.java +++ b/fit/src/test/java/org/apache/olingo/fit/v4/AsyncTestITCase.java @@ -81,7 +81,7 @@ public class AsyncTestITCase extends AbstractTestITCase { assertNotNull(entity); assertEquals("Microsoft.Test.OData.Services.ODataWCFService.Customer", entity.getTypeName().toString()); - assertEquals(testStaticServiceRootURL + "/Customers(PersonID=1)", entity.getEditLink().toASCIIString()); + assertEquals(testStaticServiceRootURL + "/Customers(1)", entity.getEditLink().toASCIIString()); assertEquals(3, entity.getNavigationLinks().size()); http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/fit/src/test/java/org/apache/olingo/fit/v4/EntityRetrieveTestITCase.java ---------------------------------------------------------------------- diff --git a/fit/src/test/java/org/apache/olingo/fit/v4/EntityRetrieveTestITCase.java b/fit/src/test/java/org/apache/olingo/fit/v4/EntityRetrieveTestITCase.java index ec82cca..dafe38c 100644 --- a/fit/src/test/java/org/apache/olingo/fit/v4/EntityRetrieveTestITCase.java +++ b/fit/src/test/java/org/apache/olingo/fit/v4/EntityRetrieveTestITCase.java @@ -310,14 +310,14 @@ public class EntityRetrieveTestITCase extends AbstractTestITCase { private void contained(final ODataClient client, final ODataPubFormat format) throws EdmPrimitiveTypeException { final URI uri = client.getURIBuilder(testStaticServiceRootURL). appendEntitySetSegment("Accounts").appendKeySegment(101). - appendNavigationSegment("MyPaymentInstruments").appendKeySegment(101901).build(); + appendNavigationSegment("MyPaymentInstruments").appendKeySegment(101902).build(); final ODataEntityRequest<ODataEntity> req = client.getRetrieveRequestFactory().getEntityRequest(uri); req.setFormat(format); final ODataEntity contained = req.execute().getBody(); assertNotNull(contained); assertEquals("Microsoft.Test.OData.Services.ODataWCFService.PaymentInstrument", contained.getTypeName().toString()); - assertEquals(101901, + assertEquals(101902, contained.getProperty("PaymentInstrumentID").getPrimitiveValue().toCastValue(Integer.class), 0); assertEquals("Edm.DateTimeOffset", contained.getProperty("CreatedDate").getPrimitiveValue().getTypeName()); } http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/0ef9b0fb/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDuration.java ---------------------------------------------------------------------- diff --git a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDuration.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDuration.java index e39b8e7..cd0aaea 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDuration.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDuration.java @@ -81,7 +81,6 @@ public class EdmDuration extends SingletonPrimitiveType { throw new EdmPrimitiveTypeException( "EdmPrimitiveTypeException.LITERAL_UNCONVERTIBLE_TO_VALUE_TYPE.addContent(value, returnType), e"); } catch (final ClassCastException e) { - e.printStackTrace(); throw new EdmPrimitiveTypeException( "EdmPrimitiveTypeException.VALUE_TYPE_NOT_SUPPORTED.addContent(returnType), e"); }
