public class CreateBenthosBatchUIModel extends AbstractTuttiTableUIModel<CreateBenthosBatchUIModel,SplitBenthosBatchRowModel,CreateBenthosBatchUIModel> implements SelectedCategoryAble
CreateBenthosBatchUI.| Modifier and Type | Field and Description |
|---|---|
protected List<Species> |
availableSpecies
All available species (sets by protocol).
|
protected Integer |
batchCount
Batch count.
|
protected Float |
batchWeight
Batch weight.
|
protected List<SampleCategoryModelEntry> |
category
Sample categories.
|
static String |
PROPERTY_AVAILABLE_SPECIES |
static String |
PROPERTY_BATCH_COUNT |
static String |
PROPERTY_BATCH_WEIGHT |
static String |
PROPERTY_CATEGORY |
static String |
PROPERTY_SAMPLE_CATEGORY |
static String |
PROPERTY_SAMPLE_WEIGHT |
static String |
PROPERTY_SELECTED_CATEGORY |
static String |
PROPERTY_SPECIES |
protected CaracteristicQualitativeValue |
sampleCategory
First sample category.
|
protected SampleCategoryModel |
sampleCategoryModel
Model of sample categories.
|
protected Float |
sampleWeight
Sample weight of split batches.
|
protected SampleCategoryModelEntry |
selectedCategory
Selected Sample category.
|
protected Species |
species
Species to select.
|
protected com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> |
speciesUsed
Already used species by sample category.
|
PROPERTY_ROWS, PROPERTY_ROWS_IN_ERROR, rows, rowsInErrorid, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ID| Constructor and Description |
|---|
CreateBenthosBatchUIModel(SampleCategoryModel sampleCategoryModel) |
addRowInError, getRowCount, getRows, getRowsInError, removeRowInError, setRows, setRowsInErrorfirePropertyChanged, fromBean, fromEntity, getChild, getChild, getId, getIdAsInt, isCreate, isModify, isValid, setId, setId, setModify, setValid, toBean, toEntityaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_AVAILABLE_SPECIES
public static final String PROPERTY_SPECIES
public static final String PROPERTY_SAMPLE_CATEGORY
public static final String PROPERTY_BATCH_WEIGHT
public static final String PROPERTY_BATCH_COUNT
public static final String PROPERTY_CATEGORY
public static final String PROPERTY_SELECTED_CATEGORY
public static final String PROPERTY_SAMPLE_WEIGHT
protected List<Species> availableSpecies
protected Species species
protected CaracteristicQualitativeValue sampleCategory
protected Float batchWeight
protected Integer batchCount
protected List<SampleCategoryModelEntry> category
protected SampleCategoryModelEntry selectedCategory
protected Float sampleWeight
protected SampleCategoryModel sampleCategoryModel
protected final com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> speciesUsed
public CreateBenthosBatchUIModel(SampleCategoryModel sampleCategoryModel)
public SampleCategoryModel getSampleCategoryModel()
public Species getSpecies()
public void setSpecies(Species species)
public CaracteristicQualitativeValue getSampleCategory()
public void setSampleCategory(CaracteristicQualitativeValue sampleCategory)
public Float getBatchWeight()
public void setBatchWeight(Float batchWeight)
public Integer getBatchCount()
public void setBatchCount(Integer batchCount)
public List<SampleCategoryModelEntry> getCategory()
public void setCategory(List<SampleCategoryModelEntry> category)
public SampleCategoryModelEntry getSelectedCategory()
getSelectedCategory in interface SelectedCategoryAblepublic void setSelectedCategory(SampleCategoryModelEntry selectedCategory)
public Float getSampleWeight()
public void setSampleWeight(Float sampleWeight)
public com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> getSpeciesUsed()
public boolean isSpeciesAndCategoryAvailable()
public boolean isSpeciesAndCategoryAvailable(Species species, CaracteristicQualitativeValue value)
public boolean isCategoryIsFilled()
protected CreateBenthosBatchUIModel newEntity()
newEntity in class AbstractTuttiBeanUIModel<CreateBenthosBatchUIModel,CreateBenthosBatchUIModel>Copyright © 2012–2013 Ifremer. All rights reserved.