public class BenthosBatchRowModel extends AbstractTuttiBeanUIModel<BenthosBatch,BenthosBatchRowModel> implements BenthosBatch, AttachmentModelAware
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_CHILD_BATCHS, PROPERTY_SAMPLE_CATEGORY_COMPUTED_WEIGHT, PROPERTY_SAMPLE_CATEGORY_TYPE, PROPERTY_SAMPLE_CATEGORY_VALUE, PROPERTY_SAMPLE_CATEGORY_WEIGHTPROPERTY_COMMENT, PROPERTY_FISHING_OPERATIONPROPERTY_IDPROPERTY_ATTACHMENT, PROPERTY_OBJECT_ID| Constructor and Description |
|---|
BenthosBatchRowModel() |
BenthosBatchRowModel(BenthosBatch aBatch,
List<BenthosBatchFrequency> frequencies) |
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, setIdpublic static final String PROPERTY_SPECIES_TO_CONFIRM
public static final String PROPERTY_SPECIES
public static final String PROPERTY_SORTED_UNSORTED_CATEGORY
public static final String PROPERTY_SORTED_UNSORTED_CATEGORY_VALUE
public static final String PROPERTY_SORTED_UNSORTED_CATEGORY_WEIGHT
public static final String PROPERTY_SORTED_UNSORTED_CATEGORY_COMPUTED_WEIGHT
public static final String PROPERTY_SIZE_CATEGORY
public static final String PROPERTY_SIZE_CATEGORY_VALUE
public static final String PROPERTY_SIZE_CATEGORY_WEIGHT
public static final String PROPERTY_SIZE_CATEGORY_COMPUTED_WEIGHT
public static final String PROPERTY_SEX_CATEGORY
public static final String PROPERTY_SEX_CATEGORY_VALUE
public static final String PROPERTY_SEX_CATEGORY_WEIGHT
public static final String PROPERTY_SEX_CATEGORY_COMPUTED_WEIGHT
public static final String PROPERTY_MATURITY_CATEGORY
public static final String PROPERTY_MATURITY_CATEGORY_VALUE
public static final String PROPERTY_MATURITY_CATEGORY_COMPUTED_WEIGHT
public static final String PROPERTY_MATURITY_CATEGORY_WEIGHT
public static final String PROPERTY_AGE_CATEGORY
public static final String PROPERTY_AGE_CATEGORY_VALUE
public static final String PROPERTY_AGE_CATEGORY_COMPUTED_WEIGHT
public static final String PROPERTY_AGE_CATEGORY_WEIGHT
public static final String PROPERTY_WEIGHT
public static final String PROPERTY_NUMBER
public static final String PROPERTY_FREQUENCY
public static final String PROPERTY_COMPUTED_NUMBER
public static final String PROPERTY_COMPUTED_WEIGHT
public static final String PROPERTY_PARENT_BATCH
public static final String PROPERTY_CHILD_BATCH
public static final String PROPERTY_BATCH_LEAF
public static final String PROPERTY_BATCH_ROOT
public static final String PROPERTY_SAMPLE_CATEGORY
protected Species species
protected SampleCategory<CaracteristicQualitativeValue> sortedUnsortedCategory
protected SampleCategory<CaracteristicQualitativeValue> sizeCategory
protected SampleCategory<CaracteristicQualitativeValue> sexCategory
protected SampleCategory<CaracteristicQualitativeValue> maturityCategory
protected SampleCategory<Float> ageCategory
protected boolean speciesToConfirm
protected TuttiComputedOrNotData<Float> computedOrNotWeight
protected TuttiComputedOrNotData<Integer> computedOrNotNumber
protected String comment
protected final List<Attachment> attachment
protected List<BenthosFrequencyRowModel> frequency
protected BenthosBatchRowModel parentBatch
isBatchRoot()protected List<BenthosBatchRowModel> childBatch
isBatchLeaf()protected static final org.nuiton.util.beans.Binder<BenthosBatch,BenthosBatchRowModel> fromBeanBinder
protected static final org.nuiton.util.beans.Binder<BenthosBatchRowModel,BenthosBatch> toBeanBinder
public BenthosBatchRowModel()
public BenthosBatchRowModel(BenthosBatch aBatch, List<BenthosBatchFrequency> frequencies)
protected BenthosBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<BenthosBatch,BenthosBatchRowModel>public SampleCategory<?> getSampleCategory()
public void setSampleCategory(SampleCategory<?> sampleCategory)
public SampleCategory<?> getSampleCategory(SampleCategoryEnum sampleCategoryEnum)
public SampleCategory getFinestCategory()
public Species getSpecies()
getSpecies in interface BenthosBatchpublic void setSpecies(Species species)
setSpecies in interface BenthosBatchpublic SampleCategory<CaracteristicQualitativeValue> getSortedUnsortedCategory()
public void setSortedUnsortedCategory(SampleCategory<CaracteristicQualitativeValue> sortedUnsortedCategory)
public CaracteristicQualitativeValue getSortedUnsortedCategoryValue()
public Float getSortedUnsortedCategoryWeight()
public void setSortedUnsortedCategoryWeight(Float sortedUnsortedCategoryWeight)
public Float getSortedUnsortedCategoryComputedWeight()
public void setSortedUnsortedCategoryComputedWeight(Float sortedUnsortedCategoryComputedWeight)
public SampleCategory<CaracteristicQualitativeValue> getSizeCategory()
public void setSizeCategory(SampleCategory<CaracteristicQualitativeValue> sizeCategory)
public CaracteristicQualitativeValue getSizeCategoryValue()
public Float getSizeCategoryWeight()
public void setSizeCategoryWeight(Float sizeCategoryWeight)
public Float getSizeCategoryComputedWeight()
public void setSizeCategoryComputedWeight(Float sizeCategoryComputedWeight)
public SampleCategory<CaracteristicQualitativeValue> getSexCategory()
public void setSexCategory(SampleCategory<CaracteristicQualitativeValue> sexCategory)
public CaracteristicQualitativeValue getSexCategoryValue()
public Float getSexCategoryWeight()
public void setSexCategoryWeight(Float sexCategoryWeight)
public Float getSexCategoryComputedWeight()
public void setSexCategoryComputedWeight(Float sexCategoryComputedWeight)
public SampleCategory<CaracteristicQualitativeValue> getMaturityCategory()
public void setMaturityCategory(SampleCategory<CaracteristicQualitativeValue> maturityCategory)
public CaracteristicQualitativeValue getMaturityCategoryValue()
public Float getMaturityCategoryWeight()
public void setMaturityCategoryWeight(Float maturityCategoryWeight)
public Float getMaturityCategoryComputedWeight()
public void setMaturityCategoryComputedWeight(Float maturityCategoryComputedWeight)
public SampleCategory<Float> getAgeCategory()
public void setAgeCategory(SampleCategory<Float> ageCategory)
public Float getAgeCategoryValue()
public Float getAgeCategoryWeight()
public void setAgeCategoryWeight(Float ageCategoryWeight)
public Float getAgeCategoryComputedWeight()
public void setAgeCategoryComputedWeight(Float ageCategoryComputedWeight)
public BenthosBatchRowModel getParentBatch()
getParentBatch in interface BenthosBatchpublic void setParentBatch(BenthosBatchRowModel parentBatch)
public List<BenthosBatchRowModel> getChildBatch()
public void setChildBatch(List<BenthosBatchRowModel> childBatch)
public boolean isBatchLeaf()
public boolean isBatchRoot()
public 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 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 boolean isSpeciesToConfirm()
isSpeciesToConfirm in interface BenthosBatchpublic void setSpeciesToConfirm(boolean speciesToConfirm)
setSpeciesToConfirm in interface BenthosBatchpublic Float getWeight()
getWeight in interface TuttiBatchEntitypublic void setWeight(Float weight)
setWeight in interface TuttiBatchEntitypublic Integer getNumber()
getNumber in interface BenthosBatchpublic void setNumber(Integer number)
setNumber in interface BenthosBatchpublic List<BenthosFrequencyRowModel> getFrequency()
public void setFrequency(List<BenthosFrequencyRowModel> frequency)
public Integer getComputedNumber()
getComputedNumber in interface BenthosBatchpublic void setComputedNumber(Integer computedNumber)
setComputedNumber in interface BenthosBatchpublic Float getComputedWeight()
getComputedWeight in interface BenthosBatchpublic void setComputedWeight(Float computedWeight)
setComputedWeight in interface BenthosBatchpublic TuttiComputedOrNotData<Integer> getComputedOrNotNumber()
public void setComputedOrNotNumber(TuttiComputedOrNotData<Integer> computedOrNotNumber)
public TuttiComputedOrNotData<Float> getComputedOrNotWeight()
public void setComputedOrNotWeight(TuttiComputedOrNotData<Float> computedOrNotWeight)
public SampleCategoryEnum getSampleCategoryType()
getSampleCategoryType in interface BenthosBatchpublic void setSampleCategoryType(SampleCategoryEnum sampleCategoryType)
setSampleCategoryType in interface BenthosBatchpublic Serializable getSampleCategoryValue()
getSampleCategoryValue in interface BenthosBatchpublic void setSampleCategoryValue(Serializable sampleCategoryValue)
setSampleCategoryValue in interface BenthosBatchpublic Float getSampleCategoryWeight()
getSampleCategoryWeight in interface BenthosBatchpublic void setSampleCategoryWeight(Float sampleCategoryWeight)
setSampleCategoryWeight in interface BenthosBatchpublic Float getSampleCategoryComputedWeight()
getSampleCategoryComputedWeight in interface BenthosBatchpublic void setSampleCategoryComputedWeight(Float sampleCategoryComputedWeight)
setSampleCategoryComputedWeight in interface BenthosBatchpublic BenthosBatch getChildBatchs(int index)
getChildBatchs in interface BenthosBatchpublic boolean isChildBatchsEmpty()
isChildBatchsEmpty in interface BenthosBatchpublic int sizeChildBatchs()
sizeChildBatchs in interface BenthosBatchpublic void addChildBatchs(BenthosBatch childBatchs)
addChildBatchs in interface BenthosBatchpublic void addAllChildBatchs(Collection<BenthosBatch> childBatchs)
addAllChildBatchs in interface BenthosBatchpublic boolean removeChildBatchs(BenthosBatch childBatchs)
removeChildBatchs in interface BenthosBatchpublic boolean removeAllChildBatchs(Collection<BenthosBatch> childBatchs)
removeAllChildBatchs in interface BenthosBatchpublic boolean containsChildBatchs(BenthosBatch childBatchs)
containsChildBatchs in interface BenthosBatchpublic boolean containsAllChildBatchs(Collection<BenthosBatch> childBatchs)
containsAllChildBatchs in interface BenthosBatchpublic List<BenthosBatch> getChildBatchs()
getChildBatchs in interface BenthosBatchpublic void setChildBatchs(List<BenthosBatch> childBatchs)
setChildBatchs in interface BenthosBatchpublic void setParentBatch(BenthosBatch parentBatch)
setParentBatch in interface BenthosBatchpublic FishingOperation getFishingOperation()
getFishingOperation in interface TuttiBatchEntitypublic void setFishingOperation(FishingOperation fishingOperation)
setFishingOperation in interface TuttiBatchEntitypublic void collectShell(Set<BenthosBatchRowModel> collectedRows)
public BenthosBatchRowModel getFirstAncestor(SampleCategory<?> entrySampleCategory)
Copyright © 2012-2013 Ifremer. All Rights Reserved.