public class AccidentalBatchRowModel extends AbstractTuttiBeanUIModel<AccidentalBatch,AccidentalBatchRowModel> implements AccidentalBatch, AttachmentModelAware
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachment
Attachments.
|
protected AccidentalBatch |
editObject
Delegate edit object.
|
protected static org.nuiton.util.beans.Binder<AccidentalBatch,AccidentalBatchRowModel> |
fromBeanBinder |
protected static org.nuiton.util.beans.Binder<AccidentalBatchRowModel,AccidentalBatch> |
toBeanBinder |
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_SPECIESPROPERTY_COMMENT, PROPERTY_FISHING_OPERATION, PROPERTY_WEIGHTPROPERTY_IDPROPERTY_ATTACHMENT, PROPERTY_OBJECT_ID| 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() |
FishingOperation |
getFishingOperation() |
String |
getObjectId() |
AttachementObjectTypeEnum |
getObjectType() |
Species |
getSpecies() |
Float |
getWeight() |
protected AccidentalBatch |
newEntity() |
void |
removeAllAttachment(Collection<Attachment> attachments) |
void |
removeAttachment(Attachment attachment) |
void |
setComment(String comment) |
void |
setFishingOperation(FishingOperation fishingOperation) |
void |
setSpecies(Species species) |
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, setIdprotected final AccidentalBatch editObject
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)
protected AccidentalBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<AccidentalBatch,AccidentalBatchRowModel>public Species getSpecies()
getSpecies in interface AccidentalBatchpublic void setSpecies(Species species)
setSpecies in interface AccidentalBatchpublic 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 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 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.