public class IndividualObservationBatchRowModel extends AbstractTuttiBeanUIModel<IndividualObservationBatch,IndividualObservationBatchRowModel> implements AttachmentModelAware, IndividualObservationBatch, CaracteristicMapColumnRowModel
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachment
Attachments (should never be null).
|
protected CaracteristicMap |
defaultCaracteristics
Map of default caracteristics (used if filled in the protocol.
|
protected IndividualObservationBatch |
editObject
Delegate edit object.
|
protected static org.nuiton.util.beans.Binder<IndividualObservationBatch,IndividualObservationBatchRowModel> |
fromBeanBinder |
static String |
PROPERTY_DEFAULT_CARACTERISTICS |
protected static org.nuiton.util.beans.Binder<IndividualObservationBatchRowModel,IndividualObservationBatch> |
toBeanBinder |
protected WeightUnit |
weightUnit
Weight unit.
|
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_IDPROPERTY_CARACTERISTICS, PROPERTY_LENGTH_STEP_CARACTERISTIC, PROPERTY_SIZE, PROPERTY_SPECIESPROPERTY_COMMENT, PROPERTY_FISHING_OPERATION, PROPERTY_RANK_ORDER, PROPERTY_WEIGHTPROPERTY_ID| Constructor and Description |
|---|
IndividualObservationBatchRowModel(WeightUnit weightUnit) |
IndividualObservationBatchRowModel(WeightUnit weightUnit,
IndividualObservationBatch entity,
Collection<Caracteristic> defaultCaracteristicsSet) |
firePropertyChanged, 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, removeVetoableChangeListenerequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdAsInt, setId, setIdpublic static final String PROPERTY_DEFAULT_CARACTERISTICS
protected final IndividualObservationBatch editObject
protected final List<Attachment> attachment
protected CaracteristicMap defaultCaracteristics
protected final WeightUnit weightUnit
protected static final org.nuiton.util.beans.Binder<IndividualObservationBatch,IndividualObservationBatchRowModel> fromBeanBinder
protected static final org.nuiton.util.beans.Binder<IndividualObservationBatchRowModel,IndividualObservationBatch> toBeanBinder
public IndividualObservationBatchRowModel(WeightUnit weightUnit)
public IndividualObservationBatchRowModel(WeightUnit weightUnit, IndividualObservationBatch entity, Collection<Caracteristic> defaultCaracteristicsSet)
public CaracteristicMap getDefaultCaracteristics()
public void setDefaultCaracteristics(CaracteristicMap defaultCaracteristics)
public void fromEntity(IndividualObservationBatch entity)
fromEntity in class AbstractTuttiBeanUIModel<IndividualObservationBatch,IndividualObservationBatchRowModel>public IndividualObservationBatch toEntity()
toEntity in class AbstractTuttiBeanUIModel<IndividualObservationBatch,IndividualObservationBatchRowModel>protected IndividualObservationBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<IndividualObservationBatch,IndividualObservationBatchRowModel>public FishingOperation getFishingOperation()
getFishingOperation in interface TuttiBatchEntitypublic void setFishingOperation(FishingOperation fishingOperation)
setFishingOperation in interface TuttiBatchEntitypublic Float getWeight()
getWeight in interface TuttiBatchEntitypublic void setWeight(Float weight)
setWeight in interface TuttiBatchEntitypublic Species getSpecies()
getSpecies in interface IndividualObservationBatchgetSpecies in interface CaracteristicMapColumnRowModelpublic void setSpecies(Species species)
setSpecies in interface IndividualObservationBatchpublic Float getSize()
getSize in interface IndividualObservationBatchpublic void setSize(Float size)
setSize in interface IndividualObservationBatchpublic Caracteristic getLengthStepCaracteristic()
getLengthStepCaracteristic in interface IndividualObservationBatchgetLengthStepCaracteristic in interface CaracteristicMapColumnRowModelpublic void setLengthStepCaracteristic(Caracteristic lengthStepCaracteristic)
setLengthStepCaracteristic in interface IndividualObservationBatchpublic CaracteristicMap getCaracteristics()
getCaracteristics in interface IndividualObservationBatchgetCaracteristics in interface CaracteristicMapColumnRowModelpublic void setCaracteristics(CaracteristicMap caracteristics)
setCaracteristics in interface IndividualObservationBatchsetCaracteristics in interface CaracteristicMapColumnRowModelpublic String getComment()
getComment in interface CommentAwaregetComment in interface TuttiBatchEntitypublic void setComment(String comment)
setComment in interface CommentAwaresetComment in interface TuttiBatchEntitypublic Integer getRankOrder()
getRankOrder in interface TuttiBatchEntitypublic void setRankOrder(Integer rankOrder)
setRankOrder in interface TuttiBatchEntitypublic AttachementObjectTypeEnum getObjectType()
getObjectType in interface AttachmentModelAwarepublic Integer getObjectId()
getObjectId in interface AttachmentModelAwarepublic List<Attachment> getAttachment()
getAttachment in interface AttachmentModelAwarepublic void addAllAttachment(Collection<Attachment> attachments)
addAllAttachment in interface AttachmentModelAwarepublic void addAttachment(Attachment attachment)
addAttachment in interface AttachmentModelAwarepublic void removeAllAttachment(Collection<Attachment> attachments)
removeAllAttachment in interface AttachmentModelAwarepublic void removeAttachment(Attachment attachment)
removeAttachment in interface AttachmentModelAwareCopyright © 2012–2013 Ifremer. All rights reserved.