public class AccidentalBatchRowModel extends AbstractTuttiBeanUIModel<AccidentalBatch,AccidentalBatchRowModel> implements AttachmentModelAware, CommentModelAware
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachment
Attachments.
|
protected String |
comment
Comment.
|
protected static org.nuiton.util.beans.Binder<AccidentalBatch,AccidentalBatchRowModel> |
fromBeanBinder |
static String |
PROPERTY_SPECIES |
static String |
PROPERTY_WEIGHT |
protected Species |
species
Species observed.
|
protected static org.nuiton.util.beans.Binder<AccidentalBatchRowModel,AccidentalBatch> |
toBeanBinder |
protected Float |
weight
Observed weight.
|
id, modify, PROPERTY_ID, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_IDPROPERTY_COMMENT| Constructor and Description |
|---|
AccidentalBatchRowModel() |
AccidentalBatchRowModel(AccidentalBatch 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() |
Species |
getSpecies() |
Float |
getWeight() |
void |
removeAllAttachment(Collection<Attachment> attachments) |
void |
removeAttachment(Attachment attachment) |
void |
setComment(String comment) |
void |
setSpecies(Species species) |
void |
setWeight(Float weight) |
fromBean, getIcon, getId, getTitle, 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_WEIGHT
protected Species species
protected Float weight
protected String comment
protected List<Attachment> attachment
protected static final org.nuiton.util.beans.Binder<AccidentalBatch,AccidentalBatchRowModel> fromBeanBinder
protected static final org.nuiton.util.beans.Binder<AccidentalBatchRowModel,AccidentalBatch> toBeanBinder
public AccidentalBatchRowModel()
public AccidentalBatchRowModel(AccidentalBatch aBatch)
public Species getSpecies()
public void setSpecies(Species species)
public Float getWeight()
public void setWeight(Float weight)
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.