Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe
Commits:
-
cd9c6480
by Tony CHEMIT at 2018-06-18T06:20:16Z
-
d87ac584
by Tony CHEMIT at 2018-06-18T06:20:20Z
-
f19cd6ae
by Tony CHEMIT at 2018-06-18T06:20:20Z
-
278ec3b2
by Tony CHEMIT at 2018-06-18T06:20:20Z
-
082bcd3b
by Tony CHEMIT at 2018-06-18T06:20:20Z
-
be8c5bd7
by Tony CHEMIT at 2018-06-18T06:20:20Z
-
6ec84ad6
by Tony CHEMIT at 2018-06-18T06:20:21Z
-
69353356
by Tony CHEMIT at 2018-06-18T06:20:21Z
-
9403cc67
by Tony CHEMIT at 2018-06-18T06:20:21Z
-
3092f707
by Tony CHEMIT at 2018-06-18T06:20:21Z
-
e13fd1b5
by Tony CHEMIT at 2018-06-18T06:20:22Z
-
d7d83052
by Tony CHEMIT at 2018-06-18T06:20:22Z
-
c0b988cd
by Tony CHEMIT at 2018-06-18T06:20:22Z
-
235cefdd
by Tony CHEMIT at 2018-06-18T06:20:22Z
-
239a81c2
by Tony CHEMIT at 2018-06-18T06:20:22Z
-
4dce4812
by Tony CHEMIT at 2018-06-18T06:20:22Z
-
29225f10
by Tony CHEMIT at 2018-06-18T06:20:23Z
-
e17076c3
by Tony CHEMIT at 2018-06-18T06:22:17Z
-
3c7b1111
by Tony CHEMIT at 2018-06-18T06:35:41Z
-
3d84bb94
by Tony CHEMIT at 2018-06-18T06:36:14Z
-
04c33164
by Tony CHEMIT at 2018-06-18T06:36:16Z
-
3db4c72a
by Tony CHEMIT at 2018-06-18T06:38:12Z
30 changed files:
- .mvn/pom.gitflow.develop
- .mvn/pom.gitflow.master
- client-configuration/.mvn/pom.gitflow.develop
- client-configuration/.mvn/pom.gitflow.master
- client/.mvn/pom.gitflow.develop
- client/.mvn/pom.gitflow.master
- dto/.mvn/pom.gitflow.develop
- dto/.mvn/pom.gitflow.master
- dto/src/main/java/fr/ird/observe/dto/decoration/decorators/GearCaracteristicDtoDecorator.java
- + dto/src/main/java/fr/ird/observe/dto/decoration/decorators/GearCaracteristicDtoDecorator.java~
- dto/src/main/java/fr/ird/observe/dto/decoration/decorators/GeatCaracteristicReferenceDecorator.java
- + dto/src/main/java/fr/ird/observe/dto/decoration/decorators/GeatCaracteristicReferenceDecorator.java~
- observe/.mvn/pom.gitflow.develop
- observe/.mvn/pom.gitflow.master
- persistence/.mvn/pom.gitflow.develop
- persistence/.mvn/pom.gitflow.master
- server-configuration/.mvn/pom.gitflow.develop
- server-configuration/.mvn/pom.gitflow.master
- server/.mvn/pom.gitflow.develop
- server/.mvn/pom.gitflow.master
- services-client/.mvn/pom.gitflow.develop
- services-client/.mvn/pom.gitflow.master
- services-local/.mvn/pom.gitflow.develop
- services-local/.mvn/pom.gitflow.master
- services/.mvn/pom.gitflow.develop
- services/.mvn/pom.gitflow.master
- test/.mvn/pom.gitflow.develop
- test/.mvn/pom.gitflow.master
- validation/.mvn/pom.gitflow.develop
- validation/.mvn/pom.gitflow.master
Changes:
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 | 1 |
package fr.ird.observe.dto.decoration.decorators;
|
| 2 | 2 |
|
| 3 |
+/*-
|
|
| 4 |
+ * #%L
|
|
| 5 |
+ * ObServe :: Dto
|
|
| 6 |
+ * %%
|
|
| 7 |
+ * Copyright (C) 2008 - 2018 IRD, Code Lutin, Ultreia.io
|
|
| 8 |
+ * %%
|
|
| 9 |
+ * This program is free software: you can redistribute it and/or modify
|
|
| 10 |
+ * it under the terms of the GNU General Public License as
|
|
| 11 |
+ * published by the Free Software Foundation, either version 3 of the
|
|
| 12 |
+ * License, or (at your option) any later version.
|
|
| 13 |
+ *
|
|
| 14 |
+ * This program is distributed in the hope that it will be useful,
|
|
| 15 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 16 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 17 |
+ * GNU General Public License for more details.
|
|
| 18 |
+ *
|
|
| 19 |
+ * You should have received a copy of the GNU General Public
|
|
| 20 |
+ * License along with this program. If not, see
|
|
| 21 |
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 22 |
+ * #L%
|
|
| 23 |
+ */
|
|
| 24 |
+ |
|
| 3 | 25 |
import fr.ird.observe.dto.referential.GearCaracteristicDto;
|
| 4 | 26 |
|
| 5 | 27 |
import static org.nuiton.i18n.I18n.t;
|
| 1 |
+package fr.ird.observe.dto.decoration.decorators;
|
|
| 2 |
+ |
|
| 3 |
+<<<<<<< HEAD
|
|
| 4 |
+=======
|
|
| 5 |
+/*-
|
|
| 6 |
+ * #%L
|
|
| 7 |
+ * ObServe :: Dto
|
|
| 8 |
+ * %%
|
|
| 9 |
+ * Copyright (C) 2008 - 2018 IRD, Code Lutin, Ultreia.io
|
|
| 10 |
+ * %%
|
|
| 11 |
+ * This program is free software: you can redistribute it and/or modify
|
|
| 12 |
+ * it under the terms of the GNU General Public License as
|
|
| 13 |
+ * published by the Free Software Foundation, either version 3 of the
|
|
| 14 |
+ * License, or (at your option) any later version.
|
|
| 15 |
+ *
|
|
| 16 |
+ * This program is distributed in the hope that it will be useful,
|
|
| 17 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 18 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 19 |
+ * GNU General Public License for more details.
|
|
| 20 |
+ *
|
|
| 21 |
+ * You should have received a copy of the GNU General Public
|
|
| 22 |
+ * License along with this program. If not, see
|
|
| 23 |
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 24 |
+ * #L%
|
|
| 25 |
+ */
|
|
| 26 |
+ |
|
| 27 |
+>>>>>>> refs/heads/master-7.x
|
|
| 28 |
+import fr.ird.observe.dto.referential.GearCaracteristicDto;
|
|
| 29 |
+ |
|
| 30 |
+import static org.nuiton.i18n.I18n.t;
|
|
| 31 |
+ |
|
| 32 |
+/**
|
|
| 33 |
+ * Created by tchemit on 13/06/2018.
|
|
| 34 |
+ *
|
|
| 35 |
+ * @author Tony Chemit - dev@tchemit.fr
|
|
| 36 |
+ */
|
|
| 37 |
+public class GearCaracteristicDtoDecorator extends ObserveDecorator<GearCaracteristicDto> {
|
|
| 38 |
+ |
|
| 39 |
+ public GearCaracteristicDtoDecorator(String libelle) {
|
|
| 40 |
+ super(GearCaracteristicDto.class, "${code}$s##${" + libelle + "}$s##${unit}$s", " ");
|
|
| 41 |
+ }
|
|
| 42 |
+ |
|
| 43 |
+ @Override
|
|
| 44 |
+ protected Comparable<?> getDefaultNullValue(String token) {
|
|
| 45 |
+ Comparable<?> defaultNullValue = super.getDefaultNullValue(token);
|
|
| 46 |
+ if (defaultNullValue == null && token.equals(GearCaracteristicDto.PROPERTY_UNIT)) {
|
|
| 47 |
+ return t("observe.common.no.unit");
|
|
| 48 |
+ }
|
|
| 49 |
+ return defaultNullValue;
|
|
| 50 |
+ }
|
|
| 51 |
+}
|
| 1 | 1 |
package fr.ird.observe.dto.decoration.decorators;
|
| 2 | 2 |
|
| 3 |
+/*-
|
|
| 4 |
+ * #%L
|
|
| 5 |
+ * ObServe :: Dto
|
|
| 6 |
+ * %%
|
|
| 7 |
+ * Copyright (C) 2008 - 2018 IRD, Code Lutin, Ultreia.io
|
|
| 8 |
+ * %%
|
|
| 9 |
+ * This program is free software: you can redistribute it and/or modify
|
|
| 10 |
+ * it under the terms of the GNU General Public License as
|
|
| 11 |
+ * published by the Free Software Foundation, either version 3 of the
|
|
| 12 |
+ * License, or (at your option) any later version.
|
|
| 13 |
+ *
|
|
| 14 |
+ * This program is distributed in the hope that it will be useful,
|
|
| 15 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 16 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 17 |
+ * GNU General Public License for more details.
|
|
| 18 |
+ *
|
|
| 19 |
+ * You should have received a copy of the GNU General Public
|
|
| 20 |
+ * License along with this program. If not, see
|
|
| 21 |
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 22 |
+ * #L%
|
|
| 23 |
+ */
|
|
| 24 |
+ |
|
| 3 | 25 |
import fr.ird.observe.dto.referential.GearCaracteristicDto;
|
| 4 | 26 |
import fr.ird.observe.dto.referential.GearCaracteristicReference;
|
| 5 | 27 |
|
| 1 |
+package fr.ird.observe.dto.decoration.decorators;
|
|
| 2 |
+ |
|
| 3 |
+<<<<<<< HEAD
|
|
| 4 |
+=======
|
|
| 5 |
+/*-
|
|
| 6 |
+ * #%L
|
|
| 7 |
+ * ObServe :: Dto
|
|
| 8 |
+ * %%
|
|
| 9 |
+ * Copyright (C) 2008 - 2018 IRD, Code Lutin, Ultreia.io
|
|
| 10 |
+ * %%
|
|
| 11 |
+ * This program is free software: you can redistribute it and/or modify
|
|
| 12 |
+ * it under the terms of the GNU General Public License as
|
|
| 13 |
+ * published by the Free Software Foundation, either version 3 of the
|
|
| 14 |
+ * License, or (at your option) any later version.
|
|
| 15 |
+ *
|
|
| 16 |
+ * This program is distributed in the hope that it will be useful,
|
|
| 17 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 18 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 19 |
+ * GNU General Public License for more details.
|
|
| 20 |
+ *
|
|
| 21 |
+ * You should have received a copy of the GNU General Public
|
|
| 22 |
+ * License along with this program. If not, see
|
|
| 23 |
+ * <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 24 |
+ * #L%
|
|
| 25 |
+ */
|
|
| 26 |
+ |
|
| 27 |
+>>>>>>> refs/heads/master-7.x
|
|
| 28 |
+import fr.ird.observe.dto.referential.GearCaracteristicDto;
|
|
| 29 |
+import fr.ird.observe.dto.referential.GearCaracteristicReference;
|
|
| 30 |
+ |
|
| 31 |
+import static org.nuiton.i18n.I18n.t;
|
|
| 32 |
+ |
|
| 33 |
+/**
|
|
| 34 |
+ * Created by tchemit on 13/06/2018.
|
|
| 35 |
+ *
|
|
| 36 |
+ * @author Tony Chemit - dev@tchemit.fr
|
|
| 37 |
+ */
|
|
| 38 |
+public class GeatCaracteristicReferenceDecorator extends ReferentialReferenceDecorator<GearCaracteristicReference> {
|
|
| 39 |
+ public GeatCaracteristicReferenceDecorator( ) {
|
|
| 40 |
+ super(GearCaracteristicReference.class, "${code}$s##${label}$s##${unit}$s");
|
|
| 41 |
+ }
|
|
| 42 |
+ |
|
| 43 |
+ @Override
|
|
| 44 |
+ protected Comparable<?> getDefaultNullValue(String token) {
|
|
| 45 |
+ Comparable<?> defaultNullValue = super.getDefaultNullValue(token);
|
|
| 46 |
+ if (defaultNullValue == null && token.equals(GearCaracteristicDto.PROPERTY_UNIT)) {
|
|
| 47 |
+ return t("observe.common.no.unit");
|
|
| 48 |
+ }
|
|
| 49 |
+ return defaultNullValue;
|
|
| 50 |
+ }
|
|
| 51 |
+}
|
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |
| 1 |
-develop
|
|
| \ No newline at end of file | ||
| 1 |
+develop-7.x
|
|
| \ No newline at end of file |
| 1 |
-master
|
|
| \ No newline at end of file | ||
| 1 |
+master-7.x
|
|
| \ No newline at end of file |