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<CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor> |
caracteristicEditors
Default caracteristics editors.
|
protected List<Caracteristic> |
defaultCaracteristic
Default caracteristics coming from protocol.
|
protected IndividualObservationBatch |
editObject
Delegate edit object.
|
static String |
PROPERTY_AVAILABLE_SPECIES |
static String |
PROPERTY_CARACTERISTICS |
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ID| Constructor and Description |
|---|
CreateIndividualObservationBatchUIModel(List<Caracteristic> defaultCaracteristic) |
| Modifier and Type | Method and Description |
|---|---|
List<Species> |
getAvailableSpecies() |
CaracteristicMap |
getCaracteristics() |
Caracteristic |
getLengthStepCaracteristic() |
Float |
getSize() |
Species |
getSpecies() |
Float |
getWeight() |
CreateIndividualObservationBatchUIModel.CaracteristicMapPropertyEditor |
newCaracteristicEditor(Caracteristic caracteristic) |
protected IndividualObservationBatch |
newEntity() |
void |
reset() |
void |
setAvailableSpecies(List<Species> availableSpecies) |
void |
setCaracteristics(CaracteristicMap caracteristics) |
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_CARACTERISTICS
protected List<Species> availableSpecies
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)
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.