public class BenthosBatchRowModel extends AbstractTuttiBeanUIModel<BenthosBatch,BenthosBatchRowModel> implements BenthosBatch, AttachmentModelAware, SampleCategoryAble<BenthosBatchRowModel>
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_CHILD_BATCHS, PROPERTY_SAMPLE_CATEGORY_IDPROPERTY_COMMENT, PROPERTY_FISHING_OPERATION, PROPERTY_RANK_ORDERPROPERTY_IDPROPERTY_ATTACHMENT, PROPERTY_OBJECT_ID| Constructor and Description |
|---|
BenthosBatchRowModel(WeightUnit weightUnit,
SampleCategoryModel sampleCategoryModel) |
BenthosBatchRowModel(WeightUnit weightUnit,
SampleCategoryModel sampleCategoryModel,
BenthosBatch entity,
List<BenthosBatchFrequency> frequencies) |
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, waitgetId, getIdAsInt, setId, setIdpublic static final String PROPERTY_SPECIES_ROW
public static final String PROPERTY_SPECIES_TO_CONFIRM
public static final String PROPERTY_SPECIES
public static final String PROPERTY_SAMPLE_CATEGORY
public static final String PROPERTY_SAMPLE_CATEGORY_VALUE
public static final String PROPERTY_SAMPLE_CATEGORY_WEIGHT
public static final String PROPERTY_SAMPLE_CATEGORY_COMPUTED_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
protected final BenthosBatch editObject
protected final SampleCategory<?>[] categories
protected ComputableData<Float> computedOrNotWeight
protected ComputableData<Integer> computedOrNotNumber
protected final List<Attachment> attachment
protected List<BenthosFrequencyRowModel> frequency
protected List<BenthosBatchRowModel> childBatch
isBatchLeaf()protected final SampleCategoryModel sampleCategoryModel
protected final WeightUnit weightUnit
protected static final org.nuiton.util.beans.Binder<BenthosBatch,BenthosBatchRowModel> fromBeanBinder
protected static final org.nuiton.util.beans.Binder<BenthosBatchRowModel,BenthosBatch> toBeanBinder
public BenthosBatchRowModel(WeightUnit weightUnit, SampleCategoryModel sampleCategoryModel)
public BenthosBatchRowModel(WeightUnit weightUnit, SampleCategoryModel sampleCategoryModel, BenthosBatch entity, List<BenthosBatchFrequency> frequencies)
public BenthosBatchRowModel getSpeciesRow()
protected BenthosBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<BenthosBatch,BenthosBatchRowModel>public void fromEntity(BenthosBatch entity)
fromEntity in class AbstractTuttiBeanUIModel<BenthosBatch,BenthosBatchRowModel>public BenthosBatch toEntity()
toEntity in class AbstractTuttiBeanUIModel<BenthosBatch,BenthosBatchRowModel>public Species getSpecies()
getSpecies in interface BenthosBatchgetSpecies in interface SpeciesAbleBatchpublic void setSpecies(Species species)
setSpecies in interface BenthosBatchsetSpecies in interface SpeciesAbleBatchpublic String getComment()
getComment in interface CommentAwaregetComment in interface TuttiBatchEntitypublic void setComment(String comment)
setComment in interface CommentAwaresetComment in interface TuttiBatchEntitypublic boolean isSpeciesToConfirm()
isSpeciesToConfirm in interface BenthosBatchisSpeciesToConfirm in interface SpeciesAbleBatchpublic void setSpeciesToConfirm(boolean speciesToConfirm)
setSpeciesToConfirm in interface BenthosBatchsetSpeciesToConfirm in interface SpeciesAbleBatchpublic Integer getComputedNumber()
getComputedNumber in interface BenthosBatchgetComputedNumber in interface SpeciesAbleBatchpublic void setComputedNumber(Integer computedNumber)
setComputedNumber in interface BenthosBatchsetComputedNumber in interface SpeciesAbleBatchpublic Float getComputedWeight()
getComputedWeight in interface BenthosBatchgetComputedWeight in interface SpeciesAbleBatchpublic void setComputedWeight(Float computedWeight)
setComputedWeight in interface BenthosBatchsetComputedWeight in interface SpeciesAbleBatchpublic FishingOperation getFishingOperation()
getFishingOperation in interface SpeciesAbleBatchgetFishingOperation in interface TuttiBatchEntitypublic void setFishingOperation(FishingOperation fishingOperation)
setFishingOperation in interface SpeciesAbleBatchsetFishingOperation in interface TuttiBatchEntitypublic BenthosBatchRowModel getParentBatch()
getParentBatch in interface BenthosBatchgetParentBatch in interface SpeciesAbleBatchpublic void setParentBatch(BenthosBatch parentBatch)
setParentBatch in interface BenthosBatchpublic Float getWeight()
getWeight in interface SpeciesAbleBatchgetWeight in interface TuttiBatchEntitypublic void setWeight(Float weight)
setWeight in interface SpeciesAbleBatchsetWeight in interface TuttiBatchEntitypublic Integer getSampleCategoryId()
getSampleCategoryId in interface BenthosBatchgetSampleCategoryId in interface SpeciesAbleBatchpublic void setSampleCategoryId(Integer sampleCategoryId)
setSampleCategoryId in interface BenthosBatchsetSampleCategoryId in interface SpeciesAbleBatchpublic Serializable getSampleCategoryValue()
getSampleCategoryValue in interface BenthosBatchgetSampleCategoryValue in interface SpeciesAbleBatchpublic void setSampleCategoryValue(Serializable sampleCategoryValue)
setSampleCategoryValue in interface BenthosBatchsetSampleCategoryValue in interface SpeciesAbleBatchpublic Float getSampleCategoryWeight()
getSampleCategoryWeight in interface BenthosBatchgetSampleCategoryWeight in interface SpeciesAbleBatchpublic void setSampleCategoryWeight(Float sampleCategoryWeight)
setSampleCategoryWeight in interface BenthosBatchsetSampleCategoryWeight in interface SpeciesAbleBatchpublic Integer getNumber()
getNumber in interface BenthosBatchgetNumber in interface SpeciesAbleBatchpublic void setNumber(Integer number)
setNumber in interface BenthosBatchsetNumber in interface SpeciesAbleBatchpublic Float getSampleCategoryComputedWeight()
getSampleCategoryComputedWeight in interface BenthosBatchgetSampleCategoryComputedWeight in interface SpeciesAbleBatchpublic void setSampleCategoryComputedWeight(Float sampleCategoryComputedWeight)
setSampleCategoryComputedWeight in interface BenthosBatchsetSampleCategoryComputedWeight in interface SpeciesAbleBatchpublic BenthosBatch getChildBatchs(int index)
getChildBatchs in interface BenthosBatchpublic boolean isChildBatchsEmpty()
isChildBatchsEmpty in interface BenthosBatchisChildBatchsEmpty in interface SpeciesAbleBatchpublic 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 BenthosBatchgetChildBatchs in interface SpeciesAbleBatchpublic void setChildBatchs(List childBatchs)
setChildBatchs in interface BenthosBatchpublic Integer getRankOrder()
getRankOrder in interface SpeciesAbleBatchgetRankOrder in interface TuttiBatchEntitypublic void setRankOrder(Integer rankOrder)
setRankOrder in interface SpeciesAbleBatchsetRankOrder in interface TuttiBatchEntitypublic Integer getCategoryIndex(Integer id)
getCategoryIndex in interface SampleCategoryAble<BenthosBatchRowModel>public void setSampleCategory(SampleCategory sampleCategory)
setSampleCategory in interface SampleCategoryAble<BenthosBatchRowModel>public SampleCategory<?> getSampleCategoryById(Integer sampleCategoryId)
getSampleCategoryById in interface SampleCategoryAble<BenthosBatchRowModel>public SampleCategory<?> getSampleCategoryByIndex(int sampleCategoryIndex)
getSampleCategoryByIndex in interface SampleCategoryAble<BenthosBatchRowModel>public Serializable getSampleCategoryValue(Integer sampleCategoryId)
getSampleCategoryValue in interface SampleCategoryAble<BenthosBatchRowModel>public void setSampleCategoryValue(Integer sampleCategoryId, Serializable value)
setSampleCategoryValue in interface SampleCategoryAble<BenthosBatchRowModel>public void setSampleCategoryWeight(Integer sampleCategoryId, Object value)
setSampleCategoryWeight in interface SampleCategoryAble<BenthosBatchRowModel>public SampleCategory getFinestCategory()
getFinestCategory in interface SampleCategoryAble<BenthosBatchRowModel>public SampleCategory<?> getFirstSampleCategory()
getFirstSampleCategory in interface SampleCategoryAble<BenthosBatchRowModel>public BenthosBatchRowModel getFirstAncestor(SampleCategory<?> entrySampleCategory)
getFirstAncestor in interface SampleCategoryAble<BenthosBatchRowModel>public Iterator<SampleCategory<?>> iterator()
iterator in interface Iterable<SampleCategory<?>>public 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 BenthosBatchRowModel getFirstAncestor(Integer sampleCategoryId)
public List<BenthosBatchRowModel> getChildBatch()
public void setChildBatch(List<BenthosBatchRowModel> childBatch)
public boolean isBatchLeaf()
public boolean isBatchRoot()
public List<BenthosFrequencyRowModel> getFrequency()
public void setFrequency(List<BenthosFrequencyRowModel> frequency)
public ComputableData<Integer> getComputedOrNotNumber()
public void setComputedOrNotNumber(ComputableData<Integer> computedOrNotNumber)
public ComputableData<Float> getComputedOrNotWeight()
public void setComputedOrNotWeight(ComputableData<Float> computedOrNotWeight)
public void collectShell(Set<BenthosBatchRowModel> collectedRows)
Copyright © 2012–2015 Ifremer. All rights reserved.