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 Map<Species,Integer> |
batchSpecies
All species used in batches with their count.
|
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 |
protected boolean |
valueIsAdjusting
Flag to stop fires when flag is on.
|
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ID| Constructor and Description |
|---|
CreateIndividualObservationBatchUIModel(List<Caracteristic> defaultCaracteristic) |
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 Map<Species,Integer> batchSpecies
protected boolean createFromBatch
protected boolean valueIsAdjusting
protected final IndividualObservationBatch editObject
protected final List<Caracteristic> defaultCaracteristic
protected final List<CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor> caracteristicEditors
public CreateIndividualObservationBatchUIModel(List<Caracteristic> defaultCaracteristic)
public boolean isValueIsAdjusting()
public void setValueIsAdjusting(boolean valueIsAdjusting)
public Species getSpecies()
public void setSpecies(Species species)
public Float getWeight()
public void setWeight(Float weight)
public Float getSize()
public void setSize(Float size)
public Caracteristic getLengthStepCaracteristic()
public void setLengthStepCaracteristic(Caracteristic lengthStepCaracteristic)
public CaracteristicMap getCaracteristics()
public void setCaracteristics(CaracteristicMap caracteristics)
public boolean isSpeciesFromBatch()
public boolean isSpeciesFromBatchWithCount()
public boolean isCreateFromBatch()
public void setCreateFromBatch(boolean createFromBatch)
public List<Caracteristic> getDefaultCaracteristic()
protected IndividualObservationBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<IndividualObservationBatch,CreateIndividualObservationBatchUIModel>public void reset()
public CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor newCaracteristicEditor(Caracteristic caracteristic)
public void firePropertyChanged(String propertyName, Object oldValue, Object newValue)
firePropertyChanged in interface fr.ifremer.shared.application.listener.PropagatePropertyChangeListener.PropagatePropertyChangefirePropertyChanged in class AbstractTuttiBeanUIModel<IndividualObservationBatch,CreateIndividualObservationBatchUIModel>Copyright © 2012–2014 Ifremer. All rights reserved.