[Lada-commits] [PATCH 6 of 7] Fixed code style
Wald Commits
scm-commit at wald.intevation.org
Wed Jan 27 15:57:41 CET 2016
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1453905237 -3600
# Node ID 2b9fd00bca562be4b6f5b814e3b201bceb3db1ae
# Parent d0a591b3eadec33a0342ff695bb86907e3bb42e2
Fixed code style.
diff -r d0a591b3eade -r 2b9fd00bca56 src/main/java/de/intevation/lada/model/stamm/LadaUser.java
--- a/src/main/java/de/intevation/lada/model/stamm/LadaUser.java Wed Jan 27 15:32:49 2016 +0100
+++ b/src/main/java/de/intevation/lada/model/stamm/LadaUser.java Wed Jan 27 15:33:57 2016 +0100
@@ -1,9 +1,20 @@
+/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
+ * Software engineering by Intevation GmbH
+ *
+ * This file is Free Software under the GNU GPL (v>=3)
+ * and comes with ABSOLUTELY NO WARRANTY! Check out
+ * the documentation coming with IMIS-Labordaten-Application for details.
+ */
package de.intevation.lada.model.stamm;
import java.io.Serializable;
-import javax.persistence.*;
import java.util.List;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+
/**
* The persistent class for the lada_user database table.
@@ -11,84 +22,83 @@
*/
@Entity
@Table(name="lada_user")
- at NamedQuery(name="LadaUser.findAll", query="SELECT l FROM LadaUser l")
public class LadaUser implements Serializable {
- private static final long serialVersionUID = 1L;
+ private static final long serialVersionUID = 1L;
- @Id
- private Integer id;
+ @Id
+ private Integer id;
- private String name;
+ private String name;
- //bi-directional many-to-one association to Favorite
- @OneToMany(mappedBy="ladaUser")
- private List<Favorite> favorites;
+ //bi-directional many-to-one association to Favorite
+ @OneToMany(mappedBy="ladaUser")
+ private List<Favorite> favorites;
- //bi-directional many-to-one association to FilterValue
- @OneToMany(mappedBy="ladaUser")
- private List<FilterValue> filterValues;
+ //bi-directional many-to-one association to FilterValue
+ @OneToMany(mappedBy="ladaUser")
+ private List<FilterValue> filterValues;
- public LadaUser() {
- }
+ public LadaUser() {
+ }
- public Integer getId() {
- return this.id;
- }
+ public Integer getId() {
+ return this.id;
+ }
- public void setId(Integer id) {
- this.id = id;
- }
+ public void setId(Integer id) {
+ this.id = id;
+ }
- public String getName() {
- return this.name;
- }
+ public String getName() {
+ return this.name;
+ }
- public void setName(String name) {
- this.name = name;
- }
+ public void setName(String name) {
+ this.name = name;
+ }
- public List<Favorite> getFavorites() {
- return this.favorites;
- }
+ public List<Favorite> getFavorites() {
+ return this.favorites;
+ }
- public void setFavorites(List<Favorite> favorites) {
- this.favorites = favorites;
- }
+ public void setFavorites(List<Favorite> favorites) {
+ this.favorites = favorites;
+ }
- public Favorite addFavorite(Favorite favorite) {
- getFavorites().add(favorite);
- favorite.setLadaUser(this);
+ public Favorite addFavorite(Favorite favorite) {
+ getFavorites().add(favorite);
+ favorite.setLadaUser(this);
- return favorite;
- }
+ return favorite;
+ }
- public Favorite removeFavorite(Favorite favorite) {
- getFavorites().remove(favorite);
- favorite.setLadaUser(null);
+ public Favorite removeFavorite(Favorite favorite) {
+ getFavorites().remove(favorite);
+ favorite.setLadaUser(null);
- return favorite;
- }
+ return favorite;
+ }
- public List<FilterValue> getFilterValues() {
- return this.filterValues;
- }
+ public List<FilterValue> getFilterValues() {
+ return this.filterValues;
+ }
- public void setFilterValues(List<FilterValue> filterValues) {
- this.filterValues = filterValues;
- }
+ public void setFilterValues(List<FilterValue> filterValues) {
+ this.filterValues = filterValues;
+ }
- public FilterValue addFilterValue(FilterValue filterValue) {
- getFilterValues().add(filterValue);
- filterValue.setLadaUser(this);
+ public FilterValue addFilterValue(FilterValue filterValue) {
+ getFilterValues().add(filterValue);
+ filterValue.setLadaUser(this);
- return filterValue;
- }
+ return filterValue;
+ }
- public FilterValue removeFilterValue(FilterValue filterValue) {
- getFilterValues().remove(filterValue);
- filterValue.setLadaUser(null);
+ public FilterValue removeFilterValue(FilterValue filterValue) {
+ getFilterValues().remove(filterValue);
+ filterValue.setLadaUser(null);
- return filterValue;
- }
+ return filterValue;
+ }
-}
\ No newline at end of file
+}
More information about the Lada-commits
mailing list