Line ending issue commit
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata2/repo Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/2ffedec7 Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata2/tree/2ffedec7 Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata2/diff/2ffedec7 Branch: refs/heads/Olingo-129_PocJpaDataStore Commit: 2ffedec7d4d95a6765caed6434c6e623f3607b6a Parents: 8cbf306 Author: Christian Amend <[email protected]> Authored: Wed Dec 3 16:31:29 2014 +0100 Committer: Christian Amend <[email protected]> Committed: Wed Dec 3 16:37:12 2014 +0100 ---------------------------------------------------------------------- .../jpa/processor/ref/model/CustomerBase.java | 80 ++++++++++---------- 1 file changed, 40 insertions(+), 40 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/2ffedec7/odata2-jpa-processor/jpa-ref/src/main/java/org/apache/olingo/odata2/jpa/processor/ref/model/CustomerBase.java ---------------------------------------------------------------------- diff --git a/odata2-jpa-processor/jpa-ref/src/main/java/org/apache/olingo/odata2/jpa/processor/ref/model/CustomerBase.java b/odata2-jpa-processor/jpa-ref/src/main/java/org/apache/olingo/odata2/jpa/processor/ref/model/CustomerBase.java index f740c59..bc60aa2 100644 --- a/odata2-jpa-processor/jpa-ref/src/main/java/org/apache/olingo/odata2/jpa/processor/ref/model/CustomerBase.java +++ b/odata2-jpa-processor/jpa-ref/src/main/java/org/apache/olingo/odata2/jpa/processor/ref/model/CustomerBase.java @@ -1,40 +1,40 @@ -/******************************************************************************* - * 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.odata2.jpa.processor.ref.model; - -import java.util.ArrayList; -import java.util.List; - -import javax.persistence.CascadeType; -import javax.persistence.MappedSuperclass; -import javax.persistence.OneToMany; - -@MappedSuperclass -public class CustomerBase { - @OneToMany(mappedBy = "customer", cascade = CascadeType.ALL) - private List<SalesOrderHeader> orders = new ArrayList<SalesOrderHeader>(); - - public List<SalesOrderHeader> getOrders() { - return orders; - } - - public void setOrders(final List<SalesOrderHeader> orders) { - this.orders = orders; - } -} +/******************************************************************************* + * 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.odata2.jpa.processor.ref.model; + +import java.util.ArrayList; +import java.util.List; + +import javax.persistence.CascadeType; +import javax.persistence.MappedSuperclass; +import javax.persistence.OneToMany; + +@MappedSuperclass +public class CustomerBase { + @OneToMany(mappedBy = "customer", cascade = CascadeType.ALL) + private List<SalesOrderHeader> orders = new ArrayList<SalesOrderHeader>(); + + public List<SalesOrderHeader> getOrders() { + return orders; + } + + public void setOrders(final List<SalesOrderHeader> orders) { + this.orders = orders; + } +}
