public class PlanktonBatchRowModel extends AbstractTuttiBeanUIModel<PlanktonBatch,PlanktonBatchRowModel> implements AttachmentModelAware, CommentModelAware
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachment
Attachments (should never be null).
|
protected String |
comment
Comment.
|
protected static org.nuiton.util.beans.Binder<PlanktonBatch,PlanktonBatchRowModel> |
fromBeanBinder |
static String |
PROPERTY_SAMPLE_WEIGHT |
static String |
PROPERTY_SPECIES |
static String |
PROPERTY_SPECIES_TO_CONFIRM |
static String |
PROPERTY_WEIGHT |
protected Float |
sampleWeight
Sample weight.
|
protected Species |
species
Species observed.
|
protected boolean |
speciesToConfirm
Is the species need to be confirmed?.
|
protected static org.nuiton.util.beans.Binder<PlanktonBatchRowModel,PlanktonBatch> |
toBeanBinder |
protected Float |
weight
Observed weight.
|
id, modify, PROPERTY_ID, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_IDPROPERTY_COMMENT| Constructor and Description |
|---|
PlanktonBatchRowModel() |
PlanktonBatchRowModel(PlanktonBatch aBatch) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllAttachment(Collection<Attachment> attachments) |
void |
addAttachment(Attachment attachment) |
List<Attachment> |
getAttachment() |
String |
getComment() |
String |
getObjectId() |
AttachementObjectTypeEnum |
getObjectType() |
Float |
getSampleWeight() |
Species |
getSpecies() |
Boolean |
getSpeciesToConfirm() |
Float |
getWeight() |
void |
removeAllAttachment(Collection<Attachment> attachments) |
void |
removeAttachment(Attachment attachment) |
void |
setComment(String comment) |
void |
setSampleWeight(Float sampleWeight) |
void |
setSpecies(Species species) |
void |
setSpeciesToConfirm(Boolean speciesToConfirm) |
void |
setWeight(Float weight) |
firePropertyChanged, fromBean, getId, isCreate, isModify, isValid, newEntity, 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_SPECIES
public static final String PROPERTY_SPECIES_TO_CONFIRM
public static final String PROPERTY_WEIGHT
public static final String PROPERTY_SAMPLE_WEIGHT
protected Species species
protected boolean speciesToConfirm
protected Float weight
protected Float sampleWeight
protected String comment
protected final List<Attachment> attachment
protected static final org.nuiton.util.beans.Binder<PlanktonBatch,PlanktonBatchRowModel> fromBeanBinder
protected static final org.nuiton.util.beans.Binder<PlanktonBatchRowModel,PlanktonBatch> toBeanBinder
public PlanktonBatchRowModel()
public PlanktonBatchRowModel(PlanktonBatch aBatch)
public Species getSpecies()
public void setSpecies(Species species)
public Boolean getSpeciesToConfirm()
public void setSpeciesToConfirm(Boolean speciesToConfirm)
public Float getWeight()
public void setWeight(Float weight)
public Float getSampleWeight()
public void setSampleWeight(Float sampleWeight)
public String getComment()
getComment in interface CommentModelAwarepublic void setComment(String comment)
setComment in interface CommentModelAwarepublic AttachementObjectTypeEnum getObjectType()
getObjectType in interface AttachmentModelAwarepublic String 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.