public class SpeciesBatchRowModel extends AbstractTuttiBeanUIModel<SpeciesBatch,SpeciesBatchRowModel> implements SpeciesBatch, AttachmentModelAware, SampleCategoryAble<SpeciesBatchRowModel>
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_CHILD_BATCHS, PROPERTY_NUMBER, PROPERTY_PARENT_BATCH, PROPERTY_SAMPLE_CATEGORY_ID, PROPERTY_SPECIES, PROPERTY_SPECIES_TO_CONFIRMPROPERTY_COMMENT, PROPERTY_FISHING_OPERATION, PROPERTY_RANK_ORDER, PROPERTY_WEIGHTPROPERTY_IDPROPERTY_ATTACHMENT, PROPERTY_OBJECT_ID| Constructor and Description |
|---|
SpeciesBatchRowModel(WeightUnit weightUnit,
SampleCategoryModel sampleCategoryModel) |
SpeciesBatchRowModel(WeightUnit weightUnit,
SampleCategoryModel sampleCategoryModel,
SpeciesBatch aBatch,
List<SpeciesBatchFrequency> 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_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_FREQUENCY
public static final String PROPERTY_COMPUTED_NUMBER
public static final String PROPERTY_COMPUTED_WEIGHT
public static final String PROPERTY_CHILD_BATCH
public static final String PROPERTY_BATCH_LEAF
public static final String PROPERTY_BATCH_ROOT
protected final SpeciesBatch editObject
protected final SampleCategory<?>[] categories
protected TuttiComputedOrNotData<Float> computedOrNotWeight
protected TuttiComputedOrNotData<Integer> computedOrNotNumber
protected final List<Attachment> attachment
protected List<SpeciesFrequencyRowModel> frequency
protected List<SpeciesBatchRowModel> childBatch
isBatchLeaf()protected final SampleCategoryModel sampleCategoryModel
protected final WeightUnit weightUnit
protected static final org.nuiton.util.beans.Binder<SpeciesBatch,SpeciesBatchRowModel> fromBeanBinder
protected static final org.nuiton.util.beans.Binder<SpeciesBatchRowModel,SpeciesBatch> toBeanBinder
public SpeciesBatchRowModel(WeightUnit weightUnit, SampleCategoryModel sampleCategoryModel)
public SpeciesBatchRowModel(WeightUnit weightUnit, SampleCategoryModel sampleCategoryModel, SpeciesBatch aBatch, List<SpeciesBatchFrequency> frequencies)
public SpeciesBatchRowModel getSpeciesRow()
protected SpeciesBatch newEntity()
newEntity in class AbstractTuttiBeanUIModel<SpeciesBatch,SpeciesBatchRowModel>public void fromEntity(SpeciesBatch entity)
fromEntity in class AbstractTuttiBeanUIModel<SpeciesBatch,SpeciesBatchRowModel>public SpeciesBatch toEntity()
toEntity in class AbstractTuttiBeanUIModel<SpeciesBatch,SpeciesBatchRowModel>public Species getSpecies()
getSpecies in interface SpeciesAbleBatchgetSpecies in interface SpeciesBatchpublic void setSpecies(Species species)
setSpecies in interface SpeciesBatchpublic 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 SpeciesAbleBatchisSpeciesToConfirm in interface SpeciesBatchpublic void setSpeciesToConfirm(boolean speciesToConfirm)
setSpeciesToConfirm in interface SpeciesAbleBatchsetSpeciesToConfirm in interface SpeciesBatchpublic Integer getComputedNumber()
getComputedNumber in interface SpeciesAbleBatchgetComputedNumber in interface SpeciesBatchpublic void setComputedNumber(Integer computedNumber)
setComputedNumber in interface SpeciesAbleBatchsetComputedNumber in interface SpeciesBatchpublic Float getComputedWeight()
getComputedWeight in interface SpeciesAbleBatchgetComputedWeight in interface SpeciesBatchpublic void setComputedWeight(Float computedWeight)
setComputedWeight in interface SpeciesAbleBatchsetComputedWeight in interface SpeciesBatchpublic FishingOperation getFishingOperation()
getFishingOperation in interface TuttiBatchEntitypublic void setFishingOperation(FishingOperation fishingOperation)
setFishingOperation in interface TuttiBatchEntitypublic SpeciesBatchRowModel getParentBatch()
getParentBatch in interface SpeciesAbleBatchgetParentBatch in interface SpeciesBatchpublic void setParentBatch(SpeciesBatch parentBatch)
setParentBatch in interface SpeciesBatchpublic 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 SpeciesAbleBatchgetSampleCategoryId in interface SpeciesBatchpublic void setSampleCategoryId(Integer sampleCategoryId)
setSampleCategoryId in interface SpeciesAbleBatchsetSampleCategoryId in interface SpeciesBatchpublic Serializable getSampleCategoryValue()
getSampleCategoryValue in interface SpeciesAbleBatchgetSampleCategoryValue in interface SpeciesBatchpublic void setSampleCategoryValue(Serializable sampleCategoryValue)
setSampleCategoryValue in interface SpeciesAbleBatchsetSampleCategoryValue in interface SpeciesBatchpublic Float getSampleCategoryWeight()
getSampleCategoryWeight in interface SpeciesAbleBatchgetSampleCategoryWeight in interface SpeciesBatchpublic void setSampleCategoryWeight(Float sampleCategoryWeight)
setSampleCategoryWeight in interface SpeciesAbleBatchsetSampleCategoryWeight in interface SpeciesBatchpublic Integer getNumber()
getNumber in interface SpeciesAbleBatchgetNumber in interface SpeciesBatchpublic void setNumber(Integer number)
setNumber in interface SpeciesAbleBatchsetNumber in interface SpeciesBatchpublic Float getSampleCategoryComputedWeight()
getSampleCategoryComputedWeight in interface SpeciesAbleBatchgetSampleCategoryComputedWeight in interface SpeciesBatchpublic void setSampleCategoryComputedWeight(Float sampleCategoryComputedWeight)
setSampleCategoryComputedWeight in interface SpeciesAbleBatchsetSampleCategoryComputedWeight in interface SpeciesBatchpublic SpeciesBatch getChildBatchs(int index)
getChildBatchs in interface SpeciesBatchpublic boolean isChildBatchsEmpty()
isChildBatchsEmpty in interface SpeciesAbleBatchisChildBatchsEmpty 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 SpeciesAbleBatchgetChildBatchs in interface SpeciesBatchpublic void setChildBatchs(List<SpeciesBatch> childBatchs)
setChildBatchs in interface SpeciesBatchpublic Integer getRankOrder()
getRankOrder in interface TuttiBatchEntitypublic void setRankOrder(Integer rankOrder)
setRankOrder in interface TuttiBatchEntitypublic Integer getCategoryIndex(Integer id)
getCategoryIndex in interface SampleCategoryAble<SpeciesBatchRowModel>public void setSampleCategory(SampleCategory sampleCategory)
setSampleCategory in interface SampleCategoryAble<SpeciesBatchRowModel>public SampleCategory<?> getSampleCategoryById(Integer sampleCategoryId)
getSampleCategoryById in interface SampleCategoryAble<SpeciesBatchRowModel>public SampleCategory<?> getSampleCategoryByIndex(int sampleCategoryIndex)
getSampleCategoryByIndex in interface SampleCategoryAble<SpeciesBatchRowModel>public void setSampleCategoryValue(Integer sampleCategoryId, Serializable value)
setSampleCategoryValue in interface SampleCategoryAble<SpeciesBatchRowModel>public void setSampleCategoryWeight(Integer sampleCategoryId, Object value)
setSampleCategoryWeight in interface SampleCategoryAble<SpeciesBatchRowModel>public SampleCategory getFinestCategory()
getFinestCategory in interface SampleCategoryAble<SpeciesBatchRowModel>public SampleCategory<?> getFirstSampleCategory()
getFirstSampleCategory in interface SampleCategoryAble<SpeciesBatchRowModel>public SpeciesBatchRowModel getFirstAncestor(SampleCategory<?> entrySampleCategory)
getFirstAncestor in interface SampleCategoryAble<SpeciesBatchRowModel>public Iterator<SampleCategory<?>> iterator()
iterator in interface Iterable<SampleCategory<?>>public 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 SpeciesBatchRowModel getFirstAncestor(Integer sampleCategoryId)
public List<SpeciesBatchRowModel> getChildBatch()
public void setChildBatch(List<SpeciesBatchRowModel> childBatch)
public boolean isBatchLeaf()
public boolean isBatchRoot()
public List<SpeciesFrequencyRowModel> getFrequency()
public void setFrequency(List<SpeciesFrequencyRowModel> frequency)
public TuttiComputedOrNotData<Integer> getComputedOrNotNumber()
public void setComputedOrNotNumber(TuttiComputedOrNotData<Integer> computedOrNotNumber)
public TuttiComputedOrNotData<Float> getComputedOrNotWeight()
public void setComputedOrNotWeight(TuttiComputedOrNotData<Float> computedOrNotWeight)
public void collectShell(Set<SpeciesBatchRowModel> collectedRows)
Copyright © 2012–2013 Ifremer. All rights reserved.