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.referential.Species;
28  import java.io.Serializable;
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 SpeciesBatch extends TuttiBatchEntity, Serializable {
35  
36      String PROPERTY_SAMPLE_CATEGORY_ID = "sampleCategoryId";
37  
38      String PROPERTY_SAMPLE_CATEGORY_VALUE = "sampleCategoryValue";
39  
40      String PROPERTY_SAMPLE_CATEGORY_WEIGHT = "sampleCategoryWeight";
41  
42      String PROPERTY_NUMBER = "number";
43  
44      String PROPERTY_SPECIES_TO_CONFIRM = "speciesToConfirm";
45  
46      String PROPERTY_SAMPLE_CATEGORY_COMPUTED_WEIGHT = "sampleCategoryComputedWeight";
47  
48      String PROPERTY_COMPUTED_NUMBER = "computedNumber";
49  
50      String PROPERTY_COMPUTED_WEIGHT = "computedWeight";
51  
52      String PROPERTY_BENTHOS_BATCH = "benthosBatch";
53  
54      String PROPERTY_CHILD_BATCHS = "childBatchs";
55  
56      String PROPERTY_PARENT_BATCH = "parentBatch";
57  
58      String PROPERTY_SPECIES = "species";
59  
60      Integer getSampleCategoryId();
61  
62      void setSampleCategoryId(Integer sampleCategoryId);
63  
64      Serializable getSampleCategoryValue();
65  
66      void setSampleCategoryValue(Serializable sampleCategoryValue);
67  
68      Float getSampleCategoryWeight();
69  
70      void setSampleCategoryWeight(Float sampleCategoryWeight);
71  
72      Integer getNumber();
73  
74      void setNumber(Integer number);
75  
76      boolean isSpeciesToConfirm();
77  
78      void setSpeciesToConfirm(boolean speciesToConfirm);
79  
80      Float getSampleCategoryComputedWeight();
81  
82      void setSampleCategoryComputedWeight(Float sampleCategoryComputedWeight);
83  
84      Integer getComputedNumber();
85  
86      void setComputedNumber(Integer computedNumber);
87  
88      Float getComputedWeight();
89  
90      void setComputedWeight(Float computedWeight);
91  
92      boolean isBenthosBatch();
93  
94      void setBenthosBatch(boolean benthosBatch);
95  
96      SpeciesBatch getChildBatchs(int index);
97  
98      boolean isChildBatchsEmpty();
99  
100     int sizeChildBatchs();
101 
102     void addChildBatchs(SpeciesBatch childBatchs);
103 
104     void addAllChildBatchs(Collection<SpeciesBatch> childBatchs);
105 
106     boolean removeChildBatchs(SpeciesBatch childBatchs);
107 
108     boolean removeAllChildBatchs(Collection<SpeciesBatch> childBatchs);
109 
110     boolean containsChildBatchs(SpeciesBatch childBatchs);
111 
112     boolean containsAllChildBatchs(Collection<SpeciesBatch> childBatchs);
113 
114     List<SpeciesBatch> getChildBatchs();
115 
116     void setChildBatchs(List<SpeciesBatch> childBatchs);
117 
118     SpeciesBatch getParentBatch();
119 
120     void setParentBatch(SpeciesBatch parentBatch);
121 
122     Species getSpecies();
123 
124     void setSpecies(Species species);
125 
126 } //SpeciesBatch