View Javadoc
1   package fr.ifremer.tutti.persistence.entities.protocol;
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.TuttiEntity;
28  import fr.ifremer.tutti.persistence.entities.referential.CaracteristicQualitativeValue;
29  import java.util.Collection;
30  import java.util.List;
31  import javax.annotation.Generated;
32  
33  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Fri Jan 06 18:31:47 CET 2017")
34  public interface SpeciesProtocol extends TuttiEntity {
35  
36      String PROPERTY_SPECIES_REFERENCE_TAXON_ID = "speciesReferenceTaxonId";
37  
38      String PROPERTY_SPECIES_SURVEY_CODE = "speciesSurveyCode";
39  
40      String PROPERTY_LENGTH_STEP_PMFM_ID = "lengthStepPmfmId";
41  
42      String PROPERTY_WEIGHT_ENABLED = "weightEnabled";
43  
44      String PROPERTY_LENGTH_STEP = "lengthStep";
45  
46      String PROPERTY_MADE_FROM_AREFERENT_TAXON = "madeFromAReferentTaxon";
47  
48      String PROPERTY_MANDATORY_SAMPLE_CATEGORY_ID = "mandatorySampleCategoryId";
49  
50      String PROPERTY_RTP_MALE = "rtpMale";
51  
52      String PROPERTY_RTP_FEMALE = "rtpFemale";
53  
54      String PROPERTY_RTP_UNDEFINED = "rtpUndefined";
55  
56      String PROPERTY_INDIVIDUAL_OBSERVATION_ENABLED = "individualObservationEnabled";
57  
58      String PROPERTY_MATURITY_PMFM_ID = "maturityPmfmId";
59  
60      String PROPERTY_CALCIFIED_PIECES_SAMPLING_TYPE = "calcifiedPiecesSamplingType";
61  
62      String PROPERTY_CALCIFIED_PIECES_SAMPLING_DEFINITION = "calcifiedPiecesSamplingDefinition";
63  
64      Integer getSpeciesReferenceTaxonId();
65  
66      void setSpeciesReferenceTaxonId(Integer speciesReferenceTaxonId);
67  
68      String getSpeciesSurveyCode();
69  
70      void setSpeciesSurveyCode(String speciesSurveyCode);
71  
72      String getLengthStepPmfmId();
73  
74      void setLengthStepPmfmId(String lengthStepPmfmId);
75  
76      boolean isWeightEnabled();
77  
78      void setWeightEnabled(boolean weightEnabled);
79  
80      Float getLengthStep();
81  
82      void setLengthStep(Float lengthStep);
83  
84      boolean isMadeFromAReferentTaxon();
85  
86      void setMadeFromAReferentTaxon(boolean madeFromAReferentTaxon);
87  
88      Integer getMandatorySampleCategoryId(int index);
89  
90      boolean isMandatorySampleCategoryIdEmpty();
91  
92      int sizeMandatorySampleCategoryId();
93  
94      void addMandatorySampleCategoryId(Integer mandatorySampleCategoryId);
95  
96      void addAllMandatorySampleCategoryId(Collection<Integer> mandatorySampleCategoryId);
97  
98      boolean removeMandatorySampleCategoryId(Integer mandatorySampleCategoryId);
99  
100     boolean removeAllMandatorySampleCategoryId(Collection<Integer> mandatorySampleCategoryId);
101 
102     boolean containsMandatorySampleCategoryId(Integer mandatorySampleCategoryId);
103 
104     boolean containsAllMandatorySampleCategoryId(Collection<Integer> mandatorySampleCategoryId);
105 
106     List<Integer> getMandatorySampleCategoryId();
107 
108     void setMandatorySampleCategoryId(List<Integer> mandatorySampleCategoryId);
109 
110     Rtp getRtpMale();
111 
112     void setRtpMale(Rtp rtpMale);
113 
114     Rtp getRtpFemale();
115 
116     void setRtpFemale(Rtp rtpFemale);
117 
118     Rtp getRtpUndefined();
119 
120     void setRtpUndefined(Rtp rtpUndefined);
121 
122     boolean isIndividualObservationEnabled();
123 
124     void setIndividualObservationEnabled(boolean individualObservationEnabled);
125 
126     String getMaturityPmfmId();
127 
128     void setMaturityPmfmId(String maturityPmfmId);
129 
130     CaracteristicQualitativeValue getCalcifiedPiecesSamplingType();
131 
132     void setCalcifiedPiecesSamplingType(CaracteristicQualitativeValue calcifiedPiecesSamplingType);
133 
134     CalcifiedPiecesSamplingDefinition getCalcifiedPiecesSamplingDefinition(int index);
135 
136     boolean isCalcifiedPiecesSamplingDefinitionEmpty();
137 
138     int sizeCalcifiedPiecesSamplingDefinition();
139 
140     void addCalcifiedPiecesSamplingDefinition(CalcifiedPiecesSamplingDefinition calcifiedPiecesSamplingDefinition);
141 
142     void addAllCalcifiedPiecesSamplingDefinition(Collection<CalcifiedPiecesSamplingDefinition> calcifiedPiecesSamplingDefinition);
143 
144     boolean removeCalcifiedPiecesSamplingDefinition(CalcifiedPiecesSamplingDefinition calcifiedPiecesSamplingDefinition);
145 
146     boolean removeAllCalcifiedPiecesSamplingDefinition(Collection<CalcifiedPiecesSamplingDefinition> calcifiedPiecesSamplingDefinition);
147 
148     boolean containsCalcifiedPiecesSamplingDefinition(CalcifiedPiecesSamplingDefinition calcifiedPiecesSamplingDefinition);
149 
150     boolean containsAllCalcifiedPiecesSamplingDefinition(Collection<CalcifiedPiecesSamplingDefinition> calcifiedPiecesSamplingDefinition);
151 
152     Collection<CalcifiedPiecesSamplingDefinition> getCalcifiedPiecesSamplingDefinition();
153 
154     void setCalcifiedPiecesSamplingDefinition(Collection<CalcifiedPiecesSamplingDefinition> calcifiedPiecesSamplingDefinition);
155 
156     boolean withRtpMale();
157 
158     boolean withRtpFemale();
159 
160     boolean withRtpUndefined();
161 
162     boolean withLengthStepPmfm();
163 
164     boolean withMaturityPmfm();
165 
166     boolean withCalcifiedPiecesSamplingType();
167 
168 } //SpeciesProtocol