public class MarineLitterBatchUIModel extends AbstractTuttiBatchUIModel<MarineLitterBatchRowModel,MarineLitterBatchUIModel> implements AttachmentModelAware, TabContentModel
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachment |
static String |
PROPERTY_REMOVE_BATCH_ENABLED |
protected boolean |
removeBatchEnabled
Can user remove a selected marineLitter batch?
|
catchesUIModel, propagatePropertiesPROPERTY_ROWS, PROPERTY_ROWS_IN_ERROR, rows, rowsInErrorid, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_IDPROPERTY_ID| Constructor and Description |
|---|
MarineLitterBatchUIModel(EditCatchesUIModel catchesUIModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllAttachment(Collection<Attachment> attachments) |
void |
addAttachment(Attachment attachment) |
List<Attachment> |
getAttachment() |
String |
getIcon() |
Float |
getMarineLitterTotalWeight() |
String |
getObjectId() |
AttachementObjectTypeEnum |
getObjectType() |
String |
getRootBatchId() |
String |
getTitle() |
boolean |
isEmpty() |
boolean |
isRemoveBatchEnabled() |
void |
removeAllAttachment(Collection<Attachment> attachments) |
void |
removeAttachment(Attachment attachment) |
void |
setMarineLitterTotalWeight(Float marineLitterTotalWeight) |
void |
setRemoveBatchEnabled(boolean removeBatchEnabled) |
void |
setRootBatchId(String rootBatchId) |
getFishingOperation, newEntityaddRowInError, getRowCount, getRows, getRowsInError, removeRowInError, setRows, setRowsInErrorfirePropertyChanged, 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, waitisModify, isValidpublic static final String PROPERTY_REMOVE_BATCH_ENABLED
protected final List<Attachment> attachment
protected boolean removeBatchEnabled
public MarineLitterBatchUIModel(EditCatchesUIModel catchesUIModel)
public Float getMarineLitterTotalWeight()
public void setMarineLitterTotalWeight(Float marineLitterTotalWeight)
public boolean isRemoveBatchEnabled()
public void setRemoveBatchEnabled(boolean removeBatchEnabled)
public void setRootBatchId(String rootBatchId)
public String getRootBatchId()
public 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 AttachmentModelAwarepublic boolean isEmpty()
isEmpty in interface TabContentModelpublic String getTitle()
getTitle in interface TabContentModelpublic String getIcon()
getIcon in interface TabContentModelCopyright © 2012-2013 Ifremer. All Rights Reserved.