public class BenthosBatchUIModel extends AbstractTuttiBatchUIModel<BenthosBatchRowModel,BenthosBatchUIModel> implements AttachmentModelAware, TabContentModel
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachment |
protected boolean |
createBatchEnabled
Can user create a new species batch ?
|
protected boolean |
createMelagEnabled
Can user create a melag from the selected species?
|
protected int |
leafNumber |
static String |
PROPERTY_CREATE_BATCH_ENABLED |
static String |
PROPERTY_CREATE_MELAG_ENABLED |
static String |
PROPERTY_LEAF_NUMBER |
static String |
PROPERTY_REMOVE_BATCH_ENABLED |
static String |
PROPERTY_REMOVE_SUB_BATCH_ENABLED |
static String |
PROPERTY_RENAME_BATCH_ENABLED |
static String |
PROPERTY_ROOT_NUMBER |
static String |
PROPERTY_SPLIT_BATCH_ENABLED |
static String |
PROPERTY_TABLE_VIEW_MODE |
static String |
PROPERTY_TABLE_VIEW_MODE_ALL |
static String |
PROPERTY_TABLE_VIEW_MODE_LEAF |
static String |
PROPERTY_TABLE_VIEW_MODE_ROOT |
protected boolean |
removeBatchEnabled
Can user remove a selected species batch?
|
protected boolean |
removeSubBatchEnabled
Can user remove a selected species sub batches?
|
protected boolean |
renameBatchEnabled
Can user rename the selected species?
|
protected int |
rootNumber |
protected boolean |
splitBatchEnabled
Can user split a selected species batch ?
|
protected TableViewMode |
tableViewMode
What to show in the table.
|
catchesUIModel, propagatePropertiesPROPERTY_ROWS, PROPERTY_ROWS_IN_ERROR, rows, rowsInErrorid, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_IDPROPERTY_ID| Constructor and Description |
|---|
BenthosBatchUIModel(EditCatchesUIModel catchesUIModel) |
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_TABLE_VIEW_MODE
public static final String PROPERTY_CREATE_BATCH_ENABLED
public static final String PROPERTY_SPLIT_BATCH_ENABLED
public static final String PROPERTY_REMOVE_SUB_BATCH_ENABLED
public static final String PROPERTY_RENAME_BATCH_ENABLED
public static final String PROPERTY_REMOVE_BATCH_ENABLED
public static final String PROPERTY_CREATE_MELAG_ENABLED
public static final String PROPERTY_TABLE_VIEW_MODE_ALL
public static final String PROPERTY_TABLE_VIEW_MODE_LEAF
public static final String PROPERTY_TABLE_VIEW_MODE_ROOT
public static final String PROPERTY_ROOT_NUMBER
public static final String PROPERTY_LEAF_NUMBER
protected boolean createBatchEnabled
protected boolean splitBatchEnabled
protected boolean removeBatchEnabled
protected boolean removeSubBatchEnabled
protected boolean createMelagEnabled
protected boolean renameBatchEnabled
protected TableViewMode tableViewMode
protected int rootNumber
protected int leafNumber
protected final List<Attachment> attachment
public BenthosBatchUIModel(EditCatchesUIModel catchesUIModel)
public boolean isEmpty()
isEmpty in interface TabContentModelpublic String getTitle()
getTitle in interface TabContentModelpublic String getIcon()
getIcon in interface TabContentModelpublic Float getBenthosTotalComputedWeight()
public void setBenthosTotalComputedWeight(Float speciesTotalComputedWeight)
public TuttiComputedOrNotData<Float> getBenthosTotalSortedComputedOrNotWeight()
public Float getBenthosTotalSortedWeight()
public void setBenthosTotalSortedWeight(Float speciesTotalSortedWeight)
public Float getBenthosTotalSortedComputedWeight()
public void setBenthosTotalSortedComputedWeight(Float speciesTotalSortedComputedWeight)
public Float getBenthosTotalUnsortedComputedWeight()
public void setBenthosTotalUnsortedComputedWeight(Float speciesTotalUnsortedComputedWeight)
public Float getBenthosTotalSampleSortedComputedWeight()
public void setBenthosTotalSampleSortedComputedWeight(Float speciesTotalSampleSortedComputedWeight)
public TuttiComputedOrNotData<Float> getBenthosTotalInertComputedOrNotWeight()
public Float getBenthosTotalInertWeight()
public void setBenthosTotalInertWeight(Float speciesTotalInertWeight)
public Float getBenthosTotalInertComputedWeight()
public void setBenthosTotalInertComputedWeight(Float speciesTotalInertComputedWeight)
public TuttiComputedOrNotData<Float> getBenthosTotalLivingNotItemizedComputedOrNotWeight()
public Float getBenthosTotalLivingNotItemizedWeight()
public void setBenthosTotalLivingNotItemizedWeight(Float speciesTotalLivingNotItemizedWeight)
public Float getBenthosTotalLivingNotItemizedComputedWeight()
public void setBenthosTotalLivingNotItemizedComputedWeight(Float speciesTotalLivingNotItemizedComputedWeight)
public TableViewMode getTableViewMode()
public void setTableViewMode(TableViewMode tableViewMode)
public boolean isTableViewModeAll()
public boolean isTableViewModeLeaf()
public boolean isTableViewModeRoot()
public com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> getSpeciesUsed()
public int getRootNumber()
public void setRootNumber(int rootNumber)
public int getLeafNumber()
public void setLeafNumber(int leafNumber)
public boolean isCreateBatchEnabled()
public void setCreateBatchEnabled(boolean createBatchEnabled)
public boolean isSplitBatchEnabled()
public void setSplitBatchEnabled(boolean splitBatchEnabled)
public boolean isRemoveBatchEnabled()
public void setRemoveBatchEnabled(boolean removeBatchEnabled)
public boolean isRemoveSubBatchEnabled()
public void setRemoveSubBatchEnabled(boolean removeSubBatchEnabled)
public void setRenameBatchEnabled(boolean renameBatchEnabled)
public boolean isRenameBatchEnabled()
public boolean isCreateMelagEnabled()
public void setCreateMelagEnabled(boolean createMelagEnabled)
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 AttachmentModelAwareCopyright © 2012-2013 Ifremer. All Rights Reserved.