public class PlanktonBatchRowModel extends AbstractTuttiBeanUIModel<PlanktonBatch,PlanktonBatchRowModel> implements AttachmentModelAware, PlanktonBatch
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachment
Attachments (should never be null).
|
protected PlanktonBatch |
editObject
Delegate edit object.
|
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 boolean |
speciesToConfirm
Is the species need to be confirmed?.
|
protected static org.nuiton.util.beans.Binder<PlanktonBatchRowModel,PlanktonBatch> |
toBeanBinder |
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_IDPROPERTY_COMMENT, PROPERTY_FISHING_OPERATIONPROPERTY_ID| 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() |
FishingOperation |
getFishingOperation() |
Integer |
getObjectId() |
AttachementObjectTypeEnum |
getObjectType() |
Float |
getSampleWeight() |
Species |
getSpecies() |
Float |
getWeight() |
boolean |
isSpeciesToConfirm() |
protected PlanktonBatch |
newEntity() |
void |
removeAllAttachment(Collection<Attachment> attachments) |
void |
removeAttachment(Attachment attachment) |
void |
setComment(String comment) |
void |
setFishingOperation(FishingOperation fishingOperation) |
void |
setSampleWeight(Float sampleWeight) |
void |
setSpecies(Species species) |
void |
setSpeciesToConfirm(boolean speciesToConfirm) |
void |
setWeight(Float weight) |
firePropertyChanged, fromBean, 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_SPECIES
public static final String PROPERTY_SPECIES_TO_CONFIRM
public static final String PROPERTY_WEIGHT
public static final String PROPERTY_SAMPLE_WEIGHT
protected final PlanktonBatch editObject
protected boolean speciesToConfirm
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)
protected PlanktonBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<PlanktonBatch,PlanktonBatchRowModel>public boolean isSpeciesToConfirm()
public void setSpeciesToConfirm(boolean speciesToConfirm)
public Species getSpecies()
getSpecies in interface PlanktonBatchpublic void setSpecies(Species species)
setSpecies in interface PlanktonBatchpublic 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 Float getSampleWeight()
getSampleWeight in interface PlanktonBatchpublic void setSampleWeight(Float sampleWeight)
setSampleWeight in interface PlanktonBatchpublic String getComment()
getComment in interface CommentAwaregetComment in interface TuttiBatchEntitypublic void setComment(String comment)
setComment in interface CommentAwaresetComment 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.