public class SpeciesBatchUIModel extends AbstractTuttiBatchUIModel<SpeciesBatchRowModel,SpeciesBatchUIModel>
| Modifier and Type | Field and Description |
|---|---|
protected List<Species> |
allSpecies
All usable species (sets by protocol).
|
protected boolean |
createSpeciesBatchEnabled
Can user create a new species batch ?
|
static String |
PROPERTY_ALL_SPECIES |
static String |
PROPERTY_CREATE_SPECIES_BATCH_ENABLED |
static String |
PROPERTY_REMOVE_SPECIES_BATCH_ENABLED |
static String |
PROPERTY_REMOVE_SPECIES_SUB_BATCH_ENABLED |
static String |
PROPERTY_SPLIT_SPECIES_BATCH_ENABLED |
static String |
PROPERTY_TABLE_VIEW_MODE |
static String |
PROPERTY_TABLE_VIEW_MODE_ALL |
static String |
PROPERTY_TABLE_VIEW_MODE_LEAF |
static String |
PROPERTY_TABLE_VIEW_MODE_ROOT |
protected boolean |
removeSpeciesBatchEnabled
Can user remove a selected species batch?
|
protected boolean |
removeSpeciesSubBatchEnabled
Can user remove a selected species sub batches?
|
protected List<SampleCategoryType> |
samplingOrder
Sampling order (sets by protocol).
|
protected com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> |
speciesUsed
Species already used in some batches.
|
protected boolean |
splitSpeciesBatchEnabled
Can user split a selected species batch ?
|
protected TableViewMode |
tableViewMode
What to show in the table.
|
catchesUIModel, propagatePropertiesPROPERTY_ROWS, rowsid, modify, PROPERTY_ID, PROPERTY_MODIFY, PROPERTY_VALID, valid| Constructor and Description |
|---|
SpeciesBatchUIModel(EditCatchesUIModel catchesUIModel) |
getFishingOperationgetRowCount, getRows, setRowsfromBean, getId, getTitle, isCreate, isModify, isValid, newEntity, setId, setModify, setValid, toBeanaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_TABLE_VIEW_MODE
public static final String PROPERTY_ALL_SPECIES
public static final String PROPERTY_CREATE_SPECIES_BATCH_ENABLED
public static final String PROPERTY_SPLIT_SPECIES_BATCH_ENABLED
public static final String PROPERTY_REMOVE_SPECIES_SUB_BATCH_ENABLED
public static final String PROPERTY_REMOVE_SPECIES_BATCH_ENABLED
public static final String PROPERTY_TABLE_VIEW_MODE_ALL
public static final String PROPERTY_TABLE_VIEW_MODE_LEAF
public static final String PROPERTY_TABLE_VIEW_MODE_ROOT
protected List<SampleCategoryType> samplingOrder
protected final com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> speciesUsed
protected TableViewMode tableViewMode
protected boolean createSpeciesBatchEnabled
protected boolean splitSpeciesBatchEnabled
protected boolean removeSpeciesBatchEnabled
protected boolean removeSpeciesSubBatchEnabled
public SpeciesBatchUIModel(EditCatchesUIModel catchesUIModel)
public Float getSpeciesTotalWeight()
public void setSpeciesTotalWeight(Float speciesTotalWeight)
public Float getSpeciesTotalSortedWeight()
public void setSpeciesTotalSortedWeight(Float speciesTotalSortedWeight)
public Float getSpeciesTotalSampleSortedWeight()
public void setSpeciesTotalSampleSortedWeight(Float speciesSampleSortedWeight)
public Float getSpeciesTotalUnsortedWeight()
public void setSpeciesTotalUnsortedWeight(Float speciesTotalUnsortedWeight)
public List<SampleCategoryType> getSamplingOrder()
public void setSamplingOrder(List<SampleCategoryType> samplingOrder)
public TableViewMode getTableViewMode()
public void setTableViewMode(TableViewMode tableViewMode)
public boolean isTableViewModeAll()
public boolean isTableViewModeLeaf()
public boolean isTableViewModeRoot()
public com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> getSpeciesUsed()
public boolean isCreateSpeciesBatchEnabled()
public void setCreateSpeciesBatchEnabled(boolean createSpeciesBatchEnabled)
public boolean isSplitSpeciesBatchEnabled()
public void setSplitSpeciesBatchEnabled(boolean splitSpeciesBatchEnabled)
public boolean isRemoveSpeciesBatchEnabled()
public void setRemoveSpeciesBatchEnabled(boolean removeSpeciesBatchEnabled)
public boolean isRemoveSpeciesSubBatchEnabled()
public void setRemoveSpeciesSubBatchEnabled(boolean removeSpeciesSubBatchEnabled)
Copyright © 2012-2013 Ifremer. All Rights Reserved.