public class EditCatchesUIModel extends AbstractTuttiBeanUIModel<CatchBatch,EditCatchesUIModel> implements AttachmentModelAware, org.nuiton.jaxx.application.swing.tab.TabContentModel, CatchBatch
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_IDPROPERTY_BENTHOS_DISTINCT_SORTED_SPECIES_COUNT, PROPERTY_BENTHOS_TOTAL_COMPUTED_WEIGHT, PROPERTY_BENTHOS_TOTAL_INERT_COMPUTED_WEIGHT, PROPERTY_BENTHOS_TOTAL_INERT_WEIGHT, PROPERTY_BENTHOS_TOTAL_LIVING_NOT_ITEMIZED_COMPUTED_WEIGHT, PROPERTY_BENTHOS_TOTAL_LIVING_NOT_ITEMIZED_WEIGHT, PROPERTY_BENTHOS_TOTAL_SAMPLE_SORTED_COMPUTED_WEIGHT, PROPERTY_BENTHOS_TOTAL_SORTED_COMPUTED_WEIGHT, PROPERTY_BENTHOS_TOTAL_SORTED_WEIGHT, PROPERTY_BENTHOS_TOTAL_UNSORTED_COMPUTED_WEIGHT, PROPERTY_CATCH_TOTAL_COMPUTED_WEIGHT, PROPERTY_CATCH_TOTAL_REJECTED_COMPUTED_WEIGHT, PROPERTY_CATCH_TOTAL_REJECTED_WEIGHT, PROPERTY_CATCH_TOTAL_SORTED_CAROUSSEL_WEIGHT, PROPERTY_CATCH_TOTAL_SORTED_COMPUTED_WEIGHT, PROPERTY_CATCH_TOTAL_SORTED_SORTED_COMPUTED_WEIGHT, PROPERTY_CATCH_TOTAL_SORTED_TREMIS_WEIGHT, PROPERTY_CATCH_TOTAL_UNSORTED_COMPUTED_WEIGHT, PROPERTY_CATCH_TOTAL_WEIGHT, PROPERTY_FISHING_OPERATION, PROPERTY_MARINE_LITTER_TOTAL_COMPUTED_WEIGHT, PROPERTY_MARINE_LITTER_TOTAL_WEIGHT, PROPERTY_SPECIES_DISTINCT_SORTED_SPECIES_COUNT, PROPERTY_SPECIES_TOTAL_COMPUTED_WEIGHT, PROPERTY_SPECIES_TOTAL_INERT_COMPUTED_WEIGHT, PROPERTY_SPECIES_TOTAL_INERT_WEIGHT, PROPERTY_SPECIES_TOTAL_LIVING_NOT_ITEMIZED_COMPUTED_WEIGHT, PROPERTY_SPECIES_TOTAL_LIVING_NOT_ITEMIZED_WEIGHT, PROPERTY_SPECIES_TOTAL_SAMPLE_SORTED_COMPUTED_WEIGHT, PROPERTY_SPECIES_TOTAL_SORTED_COMPUTED_WEIGHT, PROPERTY_SPECIES_TOTAL_SORTED_WEIGHT, PROPERTY_SPECIES_TOTAL_UNSORTED_COMPUTED_WEIGHT, PROPERTY_SYNCHRONIZATION_STATUSPROPERTY_ID| Constructor and Description |
|---|
EditCatchesUIModel(WeightUnit speciesWeightUnit,
WeightUnit benthosWeightUnit,
WeightUnit marineLitterWeightUnit,
WeightUnit individualObservationWeightUnit) |
firePropertyChanged, fromBean, getChild, getChild, 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, isValidgetId, getIdAsInt, setId, setIdpublic static final String PROPERTY_VALIDATION_CONTEXT
public static final String PROPERTY_CATCH_BATCH
protected static final org.nuiton.util.beans.Binder<CatchBatch,EditCatchesUIModel> fromBeanBinder
protected static final org.nuiton.util.beans.Binder<EditCatchesUIModel,CatchBatch> toBeanBinder
protected Float speciesTotalComputedWeight
protected ComputableData<Float> speciesTotalSortedComputedOrNotWeight
protected Float speciesTotalUnsortedComputedWeight
protected Float speciesTotalSampleSortedComputedWeight
protected ComputableData<Float> speciesTotalInertComputedOrNotWeight
protected ComputableData<Float> speciesTotalLivingNotItemizedComputedOrNotWeight
protected Float benthosTotalComputedWeight
protected ComputableData<Float> benthosTotalSortedComputedOrNotWeight
protected Float benthosTotalUnsortedComputedWeight
protected Float benthosTotalSampleSortedComputedWeight
protected ComputableData<Float> benthosTotalInertComputedOrNotWeight
protected ComputableData<Float> benthosTotalLivingNotItemizedComputedOrNotWeight
protected ComputableData<Float> marineLitterTotalComputedOrNotWeight
protected ComputableData<Float> catchTotalComputedOrNotWeight
protected Float catchTotalSortedComputedWeight
protected Float catchTotalSortedSortedComputedWeight
protected Float catchTotalUnsortedComputedWeight
protected Float catchTotalSortedTremisWeight
protected Float catchTotalSortedCarousselWeight
protected ComputableData<Float> catchTotalRejectedComputedOrNotWeight
protected FishingOperation fishingOperation
protected String validationContext
protected final CatchBatch editObject
protected final List<Attachment> attachment
protected final com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> speciesUsed
protected final com.google.common.collect.Multimap<CaracteristicQualitativeValue,CaracteristicQualitativeValue> marineLitterCategoriesUsed
protected boolean loadingData
protected final WeightUnit catchWeightUnit
protected final WeightUnit speciesWeightUnit
protected final WeightUnit benthosWeightUnit
protected final WeightUnit marineLitterWeightUnit
protected final WeightUnit individualObservationWeightUnit
public EditCatchesUIModel(WeightUnit speciesWeightUnit, WeightUnit benthosWeightUnit, WeightUnit marineLitterWeightUnit, WeightUnit individualObservationWeightUnit)
public WeightUnit getCatchWeightUnit()
public boolean isLoadingData()
public void setLoadingData(boolean loadingData)
public String getTitle()
getTitle in interface org.nuiton.jaxx.application.swing.tab.TabContentModelprotected CatchBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<CatchBatch,EditCatchesUIModel>public void fromEntity(CatchBatch entity)
fromEntity in class AbstractTuttiBeanUIModel<CatchBatch,EditCatchesUIModel>public CatchBatch toEntity()
toEntity in class AbstractTuttiBeanUIModel<CatchBatch,EditCatchesUIModel>public boolean isEmpty()
isEmpty in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic String getIcon()
getIcon in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic FishingOperation getFishingOperation()
getFishingOperation in interface CatchBatchpublic void setFishingOperation(FishingOperation fishingOperation)
setFishingOperation in interface CatchBatchpublic boolean isCloseable()
isCloseable in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic String getValidationContext()
public void setValidationContext(String validationContext)
public com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> getSpeciesUsed()
public void replaceCaracteristicValue(Species species, CaracteristicQualitativeValue oldValue, CaracteristicQualitativeValue newValue)
public com.google.common.collect.Multimap<CaracteristicQualitativeValue,CaracteristicQualitativeValue> getMarineLitterCategoriesUsed()
public ComputableData<Float> getCatchTotalComputedOrNotWeight()
public Float getCatchTotalWeight()
getCatchTotalWeight in interface CatchBatchpublic void setCatchTotalWeight(Float catchTotalWeight)
setCatchTotalWeight in interface CatchBatchpublic Float getCatchTotalComputedWeight()
getCatchTotalComputedWeight in interface CatchBatchpublic void setCatchTotalComputedWeight(Float catchTotalComputedWeight)
setCatchTotalComputedWeight in interface CatchBatchpublic Float getCatchTotalSortedComputedWeight()
getCatchTotalSortedComputedWeight in interface CatchBatchpublic void setCatchTotalSortedComputedWeight(Float catchTotalSortedComputedWeight)
setCatchTotalSortedComputedWeight in interface CatchBatchpublic Float getCatchTotalUnsortedComputedWeight()
getCatchTotalUnsortedComputedWeight in interface CatchBatchpublic void setCatchTotalUnsortedComputedWeight(Float catchTotalUnsortedComputedWeight)
setCatchTotalUnsortedComputedWeight in interface CatchBatchpublic Float getCatchTotalSortedTremisWeight()
getCatchTotalSortedTremisWeight in interface CatchBatchpublic void setCatchTotalSortedTremisWeight(Float catchTotalSortedTremisWeight)
setCatchTotalSortedTremisWeight in interface CatchBatchpublic Float getCatchTotalSortedCarousselWeight()
getCatchTotalSortedCarousselWeight in interface CatchBatchpublic void setCatchTotalSortedCarousselWeight(Float catchTotalSortedCarousselWeight)
setCatchTotalSortedCarousselWeight in interface CatchBatchpublic ComputableData<Float> getCatchTotalRejectedComputedOrNotWeight()
public Float getCatchTotalRejectedWeight()
getCatchTotalRejectedWeight in interface CatchBatchpublic void setCatchTotalRejectedWeight(Float catchTotalRejectedWeight)
setCatchTotalRejectedWeight in interface CatchBatchpublic Float getCatchTotalRejectedComputedWeight()
getCatchTotalRejectedComputedWeight in interface CatchBatchpublic void setCatchTotalRejectedComputedWeight(Float catchTotalRejectedComputedWeight)
setCatchTotalRejectedComputedWeight in interface CatchBatchpublic Float getSpeciesTotalComputedWeight()
getSpeciesTotalComputedWeight in interface CatchBatchpublic void setSpeciesTotalComputedWeight(Float speciesTotalComputedWeight)
setSpeciesTotalComputedWeight in interface CatchBatchpublic ComputableData<Float> getSpeciesTotalSortedComputedOrNotWeight()
public Float getSpeciesTotalSortedWeight()
getSpeciesTotalSortedWeight in interface CatchBatchpublic void setSpeciesTotalSortedWeight(Float speciesTotalSortedWeight)
setSpeciesTotalSortedWeight in interface CatchBatchpublic Float getSpeciesTotalSortedComputedWeight()
getSpeciesTotalSortedComputedWeight in interface CatchBatchpublic void setSpeciesTotalSortedComputedWeight(Float speciesTotalSortedComputedWeight)
setSpeciesTotalSortedComputedWeight in interface CatchBatchpublic Float getSpeciesTotalSampleSortedComputedWeight()
getSpeciesTotalSampleSortedComputedWeight in interface CatchBatchpublic void setSpeciesTotalSampleSortedComputedWeight(Float speciesTotalSampleSortedComputedWeight)
setSpeciesTotalSampleSortedComputedWeight in interface CatchBatchpublic Float getSpeciesTotalUnsortedComputedWeight()
getSpeciesTotalUnsortedComputedWeight in interface CatchBatchpublic void setSpeciesTotalUnsortedComputedWeight(Float speciesTotalUnsortedComputedWeight)
setSpeciesTotalUnsortedComputedWeight in interface CatchBatchpublic ComputableData<Float> getSpeciesTotalInertComputedOrNotWeight()
public Float getSpeciesTotalInertWeight()
getSpeciesTotalInertWeight in interface CatchBatchpublic void setSpeciesTotalInertWeight(Float speciesTotalInertWeight)
setSpeciesTotalInertWeight in interface CatchBatchpublic Float getSpeciesTotalInertComputedWeight()
getSpeciesTotalInertComputedWeight in interface CatchBatchpublic void setSpeciesTotalInertComputedWeight(Float speciesTotalInertComputedWeight)
setSpeciesTotalInertComputedWeight in interface CatchBatchpublic ComputableData<Float> getSpeciesTotalLivingNotItemizedComputedOrNotWeight()
public Float getSpeciesTotalLivingNotItemizedWeight()
getSpeciesTotalLivingNotItemizedWeight in interface CatchBatchpublic void setSpeciesTotalLivingNotItemizedWeight(Float speciesTotalLivingNotItemizedWeight)
setSpeciesTotalLivingNotItemizedWeight in interface CatchBatchpublic Float getSpeciesTotalLivingNotItemizedComputedWeight()
getSpeciesTotalLivingNotItemizedComputedWeight in interface CatchBatchpublic void setSpeciesTotalLivingNotItemizedComputedWeight(Float speciesTotalLivingNotItemizedComputedWeight)
setSpeciesTotalLivingNotItemizedComputedWeight in interface CatchBatchpublic boolean isSpeciesTotalUnsortedComputedWeightInWarning()
true quand le les espèces observées sont en warning, false dans les autres cas.public Float getBenthosTotalComputedWeight()
getBenthosTotalComputedWeight in interface CatchBatchpublic void setBenthosTotalComputedWeight(Float benthosTotalComputedWeight)
setBenthosTotalComputedWeight in interface CatchBatchpublic ComputableData<Float> getBenthosTotalSortedComputedOrNotWeight()
public Float getBenthosTotalSortedWeight()
getBenthosTotalSortedWeight in interface CatchBatchpublic void setBenthosTotalSortedWeight(Float benthosTotalSortedWeight)
setBenthosTotalSortedWeight in interface CatchBatchpublic Float getBenthosTotalSortedComputedWeight()
getBenthosTotalSortedComputedWeight in interface CatchBatchpublic void setBenthosTotalSortedComputedWeight(Float benthosTotalSortedComputedWeight)
setBenthosTotalSortedComputedWeight in interface CatchBatchpublic Float getBenthosTotalSampleSortedComputedWeight()
getBenthosTotalSampleSortedComputedWeight in interface CatchBatchpublic void setBenthosTotalSampleSortedComputedWeight(Float benthosTotalSampleSortedComputedWeight)
setBenthosTotalSampleSortedComputedWeight in interface CatchBatchpublic Float getBenthosTotalUnsortedComputedWeight()
getBenthosTotalUnsortedComputedWeight in interface CatchBatchpublic void setBenthosTotalUnsortedComputedWeight(Float benthosTotalUnsortedComputedWeight)
setBenthosTotalUnsortedComputedWeight in interface CatchBatchpublic ComputableData<Float> getBenthosTotalInertComputedOrNotWeight()
public Float getBenthosTotalInertWeight()
getBenthosTotalInertWeight in interface CatchBatchpublic void setBenthosTotalInertWeight(Float benthosTotalInertWeight)
setBenthosTotalInertWeight in interface CatchBatchpublic Float getBenthosTotalInertComputedWeight()
getBenthosTotalInertComputedWeight in interface CatchBatchpublic void setBenthosTotalInertComputedWeight(Float benthosTotalInertComputedWeight)
setBenthosTotalInertComputedWeight in interface CatchBatchpublic ComputableData<Float> getBenthosTotalLivingNotItemizedComputedOrNotWeight()
public Float getBenthosTotalLivingNotItemizedWeight()
getBenthosTotalLivingNotItemizedWeight in interface CatchBatchpublic void setBenthosTotalLivingNotItemizedWeight(Float benthosTotalLivingNotItemizedWeight)
setBenthosTotalLivingNotItemizedWeight in interface CatchBatchpublic Float getBenthosTotalLivingNotItemizedComputedWeight()
getBenthosTotalLivingNotItemizedComputedWeight in interface CatchBatchpublic void setBenthosTotalLivingNotItemizedComputedWeight(Float benthosTotalLivingNotItemizedComputedWeight)
setBenthosTotalLivingNotItemizedComputedWeight in interface CatchBatchpublic boolean isBenthosTotalUnsortedComputedWeightInWarning()
true quand le le benthos est en warning, false dans les autres cas.public ComputableData<Float> getMarineLitterTotalComputedOrNotWeight()
public Float getMarineLitterTotalWeight()
getMarineLitterTotalWeight in interface CatchBatchpublic void setMarineLitterTotalWeight(Float marineLitterTotalWeight)
setMarineLitterTotalWeight in interface CatchBatchpublic Float getMarineLitterTotalComputedWeight()
getMarineLitterTotalComputedWeight in interface CatchBatchpublic void setMarineLitterTotalComputedWeight(Float marineLitterTotalComputedWeight)
setMarineLitterTotalComputedWeight in interface CatchBatchpublic fr.ifremer.adagio.core.dao.referential.ObjectTypeCode 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 AttachmentModelAwarepublic String getSynchronizationStatus()
getSynchronizationStatus in interface CatchBatchgetSynchronizationStatus in interface SynchronizableEntitypublic void setSynchronizationStatus(String synchronizationStatus)
setSynchronizationStatus in interface CatchBatchsetSynchronizationStatus in interface SynchronizableEntitypublic Float getCatchTotalSortedSortedComputedWeight()
getCatchTotalSortedSortedComputedWeight in interface CatchBatchpublic void setCatchTotalSortedSortedComputedWeight(Float catchTotalSortedSortedComputedWeight)
setCatchTotalSortedSortedComputedWeight in interface CatchBatchpublic Integer getSpeciesDistinctSortedSpeciesCount()
getSpeciesDistinctSortedSpeciesCount in interface CatchBatchpublic void setSpeciesDistinctSortedSpeciesCount(Integer speciesDistinctSortedSpeciesCount)
setSpeciesDistinctSortedSpeciesCount in interface CatchBatchpublic Integer getBenthosDistinctSortedSpeciesCount()
getBenthosDistinctSortedSpeciesCount in interface CatchBatchpublic void setBenthosDistinctSortedSpeciesCount(Integer benthosDistinctSortedSpeciesCount)
setBenthosDistinctSortedSpeciesCount in interface CatchBatchpublic void reset()
Copyright © 2012–2015 Ifremer. All rights reserved.