public class CreateIndividualObservationBatchUIModel extends AbstractTuttiBeanUIModel<IndividualObservationBatch,CreateIndividualObservationBatchUIModel>
| Modifier and Type | Class and Description |
|---|---|
class |
CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor
Model to edit a caracteristic and flush it in the caracteristc map of
the global model.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Species> |
availableSpecies
All available species (sets by protocol).
|
protected List<Species> |
batchSpecies
All species used in batches.
|
protected List<CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor> |
caracteristicEditors
Default caracteristics editors.
|
protected boolean |
createFromBatch
Does we want to create rows from batch?
|
protected List<Caracteristic> |
defaultCaracteristic
Default caracteristics coming from protocol.
|
protected IndividualObservationBatch |
editObject
Delegate edit object.
|
static String |
PROPERTY_AVAILABLE_SPECIES |
static String |
PROPERTY_BATCH_SPECIES |
static String |
PROPERTY_CARACTERISTICS |
static String |
PROPERTY_CREATE_FROM_BATCH |
static String |
PROPERTY_SPECIES_FROM_BATCH |
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ID| Constructor and Description |
|---|
CreateIndividualObservationBatchUIModel(List<Caracteristic> defaultCaracteristic) |
| Modifier and Type | Method and Description |
|---|---|
List<Species> |
getAvailableSpecies() |
List<Species> |
getBatchSpecies() |
CaracteristicMap |
getCaracteristics() |
Caracteristic |
getLengthStepCaracteristic() |
Float |
getSize() |
Species |
getSpecies() |
Float |
getWeight() |
boolean |
isCreateFromBatch() |
boolean |
isSpeciesFromBatch() |
CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor |
newCaracteristicEditor(Caracteristic caracteristic) |
protected IndividualObservationBatch |
newEntity() |
void |
reset() |
void |
setAvailableSpecies(List<Species> availableSpecies) |
void |
setBatchSpecies(List<Species> batchSpecies) |
void |
setCaracteristics(CaracteristicMap caracteristics) |
void |
setCreateFromBatch(boolean createFromBatch) |
void |
setLengthStepCaracteristic(Caracteristic individualObservationLengthStepCaracteristic) |
void |
setSize(Float individualObservationSize) |
void |
setSpecies(Species individualObservationSpecies) |
void |
setWeight(Float individualObservationWeight) |
firePropertyChanged, 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_BATCH_SPECIES
public static final String PROPERTY_SPECIES_FROM_BATCH
public static final String PROPERTY_CREATE_FROM_BATCH
public static final String PROPERTY_CARACTERISTICS
protected List<Species> availableSpecies
protected boolean createFromBatch
protected final IndividualObservationBatch editObject
protected final List<Caracteristic> defaultCaracteristic
protected final List<CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor> caracteristicEditors
public CreateIndividualObservationBatchUIModel(List<Caracteristic> defaultCaracteristic)
public Species getSpecies()
public void setSpecies(Species individualObservationSpecies)
public Float getWeight()
public void setWeight(Float individualObservationWeight)
public Float getSize()
public void setSize(Float individualObservationSize)
public Caracteristic getLengthStepCaracteristic()
public void setLengthStepCaracteristic(Caracteristic individualObservationLengthStepCaracteristic)
public CaracteristicMap getCaracteristics()
public void setCaracteristics(CaracteristicMap caracteristics)
public boolean isSpeciesFromBatch()
public boolean isCreateFromBatch()
public void setCreateFromBatch(boolean createFromBatch)
protected IndividualObservationBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<IndividualObservationBatch,CreateIndividualObservationBatchUIModel>public void reset()
public CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor newCaracteristicEditor(Caracteristic caracteristic)
Copyright © 2012–2013 Ifremer. All rights reserved.