View Javadoc
1   package fr.ifremer.tutti.persistence.entities.data;
2   
3   /*
4    * #%L
5    * Tutti :: Persistence
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2012 - 2017 Ifremer
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  import fr.ifremer.tutti.persistence.entities.CommentAware;
28  import fr.ifremer.tutti.persistence.entities.TuttiEntity;
29  import fr.ifremer.tutti.persistence.entities.referential.GearWithOriginalRankOrder;
30  import fr.ifremer.tutti.persistence.entities.referential.Person;
31  import fr.ifremer.tutti.persistence.entities.referential.TuttiLocation;
32  import fr.ifremer.tutti.persistence.entities.referential.Vessel;
33  import java.util.Collection;
34  import java.util.Date;
35  import java.util.List;
36  import javax.annotation.Generated;
37  
38  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Fri Jan 06 18:31:47 CET 2017")
39  public interface Cruise extends CommentAware, SynchronizableEntity, TuttiEntity {
40  
41      String PROPERTY_NAME = "name";
42  
43      String PROPERTY_SURVEY_PART = "surveyPart";
44  
45      String PROPERTY_BEGIN_DATE = "beginDate";
46  
47      String PROPERTY_END_DATE = "endDate";
48  
49      String PROPERTY_MULTIRIG_NUMBER = "multirigNumber";
50  
51      String PROPERTY_COMMENT = "comment";
52  
53      String PROPERTY_SYNCHRONIZATION_STATUS = "synchronizationStatus";
54  
55      String PROPERTY_PROGRAM = "program";
56  
57      String PROPERTY_HEAD_OF_MISSION = "headOfMission";
58  
59      String PROPERTY_HEAD_OF_SORT_ROOM = "headOfSortRoom";
60  
61      String PROPERTY_VESSEL = "vessel";
62  
63      String PROPERTY_DEPARTURE_LOCATION = "departureLocation";
64  
65      String PROPERTY_RETURN_LOCATION = "returnLocation";
66  
67      String PROPERTY_GEAR = "gear";
68  
69      String getName();
70  
71      void setName(String name);
72  
73      String getSurveyPart();
74  
75      void setSurveyPart(String surveyPart);
76  
77      Date getBeginDate();
78  
79      void setBeginDate(Date beginDate);
80  
81      Date getEndDate();
82  
83      void setEndDate(Date endDate);
84  
85      Integer getMultirigNumber();
86  
87      void setMultirigNumber(Integer multirigNumber);
88  
89      String getComment();
90  
91      void setComment(String comment);
92  
93      String getSynchronizationStatus();
94  
95      void setSynchronizationStatus(String synchronizationStatus);
96  
97      Program getProgram();
98  
99      void setProgram(Program program);
100 
101     Person getHeadOfMission(int index);
102 
103     boolean isHeadOfMissionEmpty();
104 
105     int sizeHeadOfMission();
106 
107     void addHeadOfMission(Person headOfMission);
108 
109     void addAllHeadOfMission(Collection<Person> headOfMission);
110 
111     boolean removeHeadOfMission(Person headOfMission);
112 
113     boolean removeAllHeadOfMission(Collection<Person> headOfMission);
114 
115     boolean containsHeadOfMission(Person headOfMission);
116 
117     boolean containsAllHeadOfMission(Collection<Person> headOfMission);
118 
119     List<Person> getHeadOfMission();
120 
121     void setHeadOfMission(List<Person> headOfMission);
122 
123     Person getHeadOfSortRoom(int index);
124 
125     boolean isHeadOfSortRoomEmpty();
126 
127     int sizeHeadOfSortRoom();
128 
129     void addHeadOfSortRoom(Person headOfSortRoom);
130 
131     void addAllHeadOfSortRoom(Collection<Person> headOfSortRoom);
132 
133     boolean removeHeadOfSortRoom(Person headOfSortRoom);
134 
135     boolean removeAllHeadOfSortRoom(Collection<Person> headOfSortRoom);
136 
137     boolean containsHeadOfSortRoom(Person headOfSortRoom);
138 
139     boolean containsAllHeadOfSortRoom(Collection<Person> headOfSortRoom);
140 
141     List<Person> getHeadOfSortRoom();
142 
143     void setHeadOfSortRoom(List<Person> headOfSortRoom);
144 
145     Vessel getVessel();
146 
147     void setVessel(Vessel vessel);
148 
149     TuttiLocation getDepartureLocation();
150 
151     void setDepartureLocation(TuttiLocation departureLocation);
152 
153     TuttiLocation getReturnLocation();
154 
155     void setReturnLocation(TuttiLocation returnLocation);
156 
157     GearWithOriginalRankOrder getGear(int index);
158 
159     boolean isGearEmpty();
160 
161     int sizeGear();
162 
163     void addGear(GearWithOriginalRankOrder gear);
164 
165     void addAllGear(Collection<GearWithOriginalRankOrder> gear);
166 
167     boolean removeGear(GearWithOriginalRankOrder gear);
168 
169     boolean removeAllGear(Collection<GearWithOriginalRankOrder> gear);
170 
171     boolean containsGear(GearWithOriginalRankOrder gear);
172 
173     boolean containsAllGear(Collection<GearWithOriginalRankOrder> gear);
174 
175     List<GearWithOriginalRankOrder> getGear();
176 
177     void setGear(List<GearWithOriginalRankOrder> gear);
178 
179 } //Cruise