public class SplitSpeciesBatchUIModel extends AbstractTuttiTableUIModel<SpeciesBatchRowModel,SplitSpeciesBatchRowModel,SplitSpeciesBatchUIModel>
SplitSpeciesBatchUI.| Modifier and Type | Field and Description |
|---|---|
protected SpeciesBatchRowModel |
batch
Batch which fires the editor.
|
protected List<SampleCategoryModelEntry> |
category
Sample categories.
|
static String |
PROPERTY_BATCH_WEIGHT |
static String |
PROPERTY_CATEGORY |
static String |
PROPERTY_SAMPLE_WEIGHT |
static String |
PROPERTY_SELECTED_CATEGORY |
static String |
PROPERTY_SPECIES |
protected SampleCategoryModel |
sampleCategoryModel |
protected Float |
sampleWeight
Sample weight of split batches.
|
protected SampleCategoryModelEntry |
selectedCategory
Selected Sample category.
|
PROPERTY_ROWS, PROPERTY_ROWS_IN_ERROR, rows, rowsInErrorid, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ID| Constructor and Description |
|---|
SplitSpeciesBatchUIModel(SampleCategoryModel sampleCategoryModel) |
| Modifier and Type | Method and Description |
|---|---|
SpeciesBatchRowModel |
getBatch() |
Float |
getBatchWeight() |
List<SampleCategoryModelEntry> |
getCategory() |
SampleCategoryModel |
getSampleCategoryModel() |
Float |
getSampleWeight() |
SampleCategoryModelEntry |
getSelectedCategory() |
Species |
getSpecies() |
protected SpeciesBatchRowModel |
newEntity() |
void |
setBatch(SpeciesBatchRowModel batch) |
void |
setCategory(List<SampleCategoryModelEntry> category) |
void |
setSampleWeight(Float sampleWeight) |
void |
setSelectedCategory(SampleCategoryModelEntry selectedCategory) |
addRowInError, getRowCount, getRows, getRowsInError, removeRowInError, setRows, setRowsInErrorfirePropertyChanged, fromBean, getChild, getChild, getId, getIdAsInt, isCreate, isModify, isValid, setId, 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_CATEGORY
public static final String PROPERTY_SPECIES
public static final String PROPERTY_SELECTED_CATEGORY
public static final String PROPERTY_BATCH_WEIGHT
public static final String PROPERTY_SAMPLE_WEIGHT
protected SpeciesBatchRowModel batch
protected List<SampleCategoryModelEntry> category
protected SampleCategoryModelEntry selectedCategory
protected Float sampleWeight
protected SampleCategoryModel sampleCategoryModel
public SplitSpeciesBatchUIModel(SampleCategoryModel sampleCategoryModel)
public SpeciesBatchRowModel getBatch()
public void setBatch(SpeciesBatchRowModel batch)
public Species getSpecies()
public List<SampleCategoryModelEntry> getCategory()
public void setCategory(List<SampleCategoryModelEntry> category)
public SampleCategoryModelEntry getSelectedCategory()
public void setSelectedCategory(SampleCategoryModelEntry selectedCategory)
public Float getBatchWeight()
public Float getSampleWeight()
public void setSampleWeight(Float sampleWeight)
protected SpeciesBatchRowModel newEntity()
newEntity in class AbstractTuttiBeanUIModel<SpeciesBatchRowModel,SplitSpeciesBatchUIModel>public SampleCategoryModel getSampleCategoryModel()
Copyright © 2012–2013 Ifremer. All rights reserved.