public class BenthosBatchRowModel extends AbstractTuttiBeanUIModel<SpeciesBatch,BenthosBatchRowModel> implements SpeciesBatch, 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(SpeciesBatch aBatch,
List<SpeciesBatchFrequency> frequencies,
List<Attachment> attachments) |
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<SpeciesBatch,BenthosBatchRowModel> fromBeanBinder
protected static final org.nuiton.util.beans.Binder<BenthosBatchRowModel,SpeciesBatch> toBeanBinder
public BenthosBatchRowModel()
public BenthosBatchRowModel(SpeciesBatch aBatch, List<SpeciesBatchFrequency> frequencies, List<Attachment> attachments)
protected SpeciesBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<SpeciesBatch,BenthosBatchRowModel>public SampleCategory<?> getSampleCategory()
public void setSampleCategory(SampleCategory<?> sampleCategory)
public SampleCategory<?> getSampleCategory(SampleCategoryEnum sampleCategoryEnum)
public SampleCategory getFinestCategory()
public Species getSpecies()
getSpecies in interface SpeciesBatchpublic void setSpecies(Species species)
setSpecies in interface SpeciesBatchpublic 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 SpeciesBatchpublic 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 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 isSpeciesToConfirm()
isSpeciesToConfirm in interface SpeciesBatchpublic void setSpeciesToConfirm(boolean speciesToConfirm)
setSpeciesToConfirm in interface SpeciesBatchpublic Float getWeight()
getWeight in interface TuttiBatchEntitypublic void setWeight(Float weight)
setWeight in interface TuttiBatchEntitypublic Integer getNumber()
getNumber in interface SpeciesBatchpublic void setNumber(Integer number)
setNumber in interface SpeciesBatchpublic List<BenthosFrequencyRowModel> getFrequency()
public void setFrequency(List<BenthosFrequencyRowModel> frequency)
public Integer getComputedNumber()
getComputedNumber in interface SpeciesBatchpublic void setComputedNumber(Integer computedNumber)
setComputedNumber in interface SpeciesBatchpublic Float getComputedWeight()
getComputedWeight in interface SpeciesBatchpublic void setComputedWeight(Float computedWeight)
setComputedWeight in interface SpeciesBatchpublic 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 SpeciesBatchpublic void setSampleCategoryType(SampleCategoryEnum sampleCategoryType)
setSampleCategoryType in interface SpeciesBatchpublic Serializable getSampleCategoryValue()
getSampleCategoryValue in interface SpeciesBatchpublic void setSampleCategoryValue(Serializable sampleCategoryValue)
setSampleCategoryValue in interface SpeciesBatchpublic Float getSampleCategoryWeight()
getSampleCategoryWeight in interface SpeciesBatchpublic void setSampleCategoryWeight(Float sampleCategoryWeight)
setSampleCategoryWeight in interface SpeciesBatchpublic Float getSampleCategoryComputedWeight()
getSampleCategoryComputedWeight in interface SpeciesBatchpublic void setSampleCategoryComputedWeight(Float sampleCategoryComputedWeight)
setSampleCategoryComputedWeight in interface SpeciesBatchpublic SpeciesBatch getChildBatchs(int index)
getChildBatchs in interface SpeciesBatchpublic boolean isChildBatchsEmpty()
isChildBatchsEmpty in interface SpeciesBatchpublic int sizeChildBatchs()
sizeChildBatchs in interface SpeciesBatchpublic void addChildBatchs(SpeciesBatch childBatchs)
addChildBatchs in interface SpeciesBatchpublic void addAllChildBatchs(Collection<SpeciesBatch> childBatchs)
addAllChildBatchs in interface SpeciesBatchpublic boolean removeChildBatchs(SpeciesBatch childBatchs)
removeChildBatchs in interface SpeciesBatchpublic boolean removeAllChildBatchs(Collection<SpeciesBatch> childBatchs)
removeAllChildBatchs in interface SpeciesBatchpublic boolean containsChildBatchs(SpeciesBatch childBatchs)
containsChildBatchs in interface SpeciesBatchpublic boolean containsAllChildBatchs(Collection<SpeciesBatch> childBatchs)
containsAllChildBatchs in interface SpeciesBatchpublic List<SpeciesBatch> getChildBatchs()
getChildBatchs in interface SpeciesBatchpublic void setChildBatchs(List<SpeciesBatch> childBatchs)
setChildBatchs in interface SpeciesBatchpublic void setParentBatch(SpeciesBatch parentBatch)
setParentBatch in interface SpeciesBatchpublic FishingOperation getFishingOperation()
getFishingOperation in interface TuttiBatchEntitypublic void setFishingOperation(FishingOperation fishingOperation)
setFishingOperation in interface TuttiBatchEntityCopyright © 2012-2013 Ifremer. All Rights Reserved.