public class CreateSpeciesBatchUIModel extends AbstractTuttiBeanUIModel<CreateSpeciesBatchUIModel,CreateSpeciesBatchUIModel>
CreateSpeciesBatchUI.| Modifier and Type | Field and Description |
|---|---|
protected List<Species> |
availableSpecies
All available species (sets by protocol).
|
protected Float |
batchWeight
Incoming batch weight to split.
|
static String |
PROPERTY_AVAILABLE_SPECIES |
static String |
PROPERTY_BATCH_WEIGHT |
static String |
PROPERTY_SORTED_UNSORTED_CATEGORY |
static String |
PROPERTY_SPECIES |
protected CaracteristicQualitativeValue |
sortedUnsortedCategory
Sorted Unsorted category.
|
protected Species |
species
Species to select.
|
protected com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> |
speciesUsed
Already used species by sortedUnsorted category.
|
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ID| Constructor and Description |
|---|
CreateSpeciesBatchUIModel() |
| Modifier and Type | Method and Description |
|---|---|
List<Species> |
getAvailableSpecies() |
Float |
getBatchWeight() |
CaracteristicQualitativeValue |
getSortedUnsortedCategory() |
Species |
getSpecies() |
com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> |
getSpeciesUsed() |
boolean |
isSpeciesAndCategoryAvailable() |
boolean |
isSpeciesAndCategoryAvailable(Species species,
CaracteristicQualitativeValue sortedUnsortedCategory) |
protected CreateSpeciesBatchUIModel |
newEntity() |
void |
setAvailableSpecies(List<Species> availableSpecies) |
void |
setBatchWeight(Float batchWeight) |
void |
setSortedUnsortedCategory(CaracteristicQualitativeValue sortedUnsortedCategory) |
void |
setSpecies(Species species) |
firePropertyChanged, fromBean, 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_AVAILABLE_SPECIES
public static final String PROPERTY_SPECIES
public static final String PROPERTY_SORTED_UNSORTED_CATEGORY
public static final String PROPERTY_BATCH_WEIGHT
protected List<Species> availableSpecies
protected Species species
protected CaracteristicQualitativeValue sortedUnsortedCategory
protected Float batchWeight
protected final com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> speciesUsed
public Species getSpecies()
public void setSpecies(Species species)
public CaracteristicQualitativeValue getSortedUnsortedCategory()
public void setSortedUnsortedCategory(CaracteristicQualitativeValue sortedUnsortedCategory)
public Float getBatchWeight()
public void setBatchWeight(Float batchWeight)
public com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> getSpeciesUsed()
public boolean isSpeciesAndCategoryAvailable()
public boolean isSpeciesAndCategoryAvailable(Species species, CaracteristicQualitativeValue sortedUnsortedCategory)
protected CreateSpeciesBatchUIModel newEntity()
newEntity in class AbstractTuttiBeanUIModel<CreateSpeciesBatchUIModel,CreateSpeciesBatchUIModel>Copyright © 2012–2013 Ifremer. All rights reserved.