public class BenthosBatchRowModel extends AbstractTuttiBeanUIModel<SpeciesBatch,BenthosBatchRowModel> implements AttachmentModelAware
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachment
Attachments (should never be null).
|
protected List<BenthosBatchRowModel> |
childBatch
List of child batches (can be null or empty if batch is a leaf).
|
protected String |
comment
Comment on this catches.
|
protected static org.nuiton.util.beans.Binder<SpeciesBatch,BenthosBatchRowModel> |
fromBeanBinder |
protected Integer |
number
Observed number.
|
protected BenthosBatchRowModel |
parentBatch
Parent of this batch (can be null if batch is root).
|
static String |
PROPERTY_ATTACHMENTS |
static String |
PROPERTY_BATCH_LEAF |
static String |
PROPERTY_BATCH_ROOT |
static String |
PROPERTY_CHILD_BATCH |
static String |
PROPERTY_COMMENT |
static String |
PROPERTY_NUMBER |
static String |
PROPERTY_PARENT_BATCH |
static String |
PROPERTY_SAMPLE_WEIGHT |
static String |
PROPERTY_SPECIES |
static String |
PROPERTY_SPECIES_TO_CONFIRM |
static String |
PROPERTY_WEIGHT |
protected Float |
sampleWeight
Sample weight.
|
protected Species |
species
Species observed.
|
protected boolean |
speciesToConfirm
Is the species need to be confirmed?.
|
protected static org.nuiton.util.beans.Binder<BenthosBatchRowModel,SpeciesBatch> |
toBeanBinder |
protected Float |
weight
Observed weight.
|
id, modify, PROPERTY_ID, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_ID| Constructor and Description |
|---|
BenthosBatchRowModel() |
BenthosBatchRowModel(SpeciesBatch aBatch) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllAttachment(Collection<Attachment> attachments) |
void |
addAttachment(Attachment attachment) |
List<Attachment> |
getAttachment() |
List<BenthosBatchRowModel> |
getChildBatch() |
String |
getComment() |
Integer |
getNumber() |
String |
getObjectId() |
AttachementObjectTypeEnum |
getObjectType() |
BenthosBatchRowModel |
getParentBatch() |
Float |
getSampleWeight() |
Species |
getSpecies() |
Boolean |
getSpeciesToConfirm() |
Float |
getWeight() |
boolean |
isBatchLeaf() |
boolean |
isBatchRoot() |
void |
removeAllAttachment(Collection<Attachment> attachments) |
void |
removeAttachment(Attachment attachment) |
void |
setChildBatch(List<BenthosBatchRowModel> childBatch) |
void |
setComment(String comment) |
void |
setNumber(Integer number) |
void |
setParentBatch(BenthosBatchRowModel parentBatch) |
void |
setSampleWeight(Float sampleWeight) |
void |
setSpecies(Species species) |
void |
setSpeciesToConfirm(Boolean speciesToConfirm) |
void |
setWeight(Float weight) |
fromBean, getIcon, getId, getTitle, isCreate, isModify, isValid, newEntity, setId, setModify, setValid, toBeanaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_SPECIES
public static final String PROPERTY_SPECIES_TO_CONFIRM
public static final String PROPERTY_WEIGHT
public static final String PROPERTY_NUMBER
public static final String PROPERTY_SAMPLE_WEIGHT
public static final String PROPERTY_COMMENT
public static final String PROPERTY_ATTACHMENTS
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 Species species
protected boolean speciesToConfirm
protected Float weight
protected Integer number
protected Float sampleWeight
protected String comment
protected final List<Attachment> attachment
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)
public Species getSpecies()
public void setSpecies(Species species)
public Boolean getSpeciesToConfirm()
public void setSpeciesToConfirm(Boolean speciesToConfirm)
public Float getWeight()
public void setWeight(Float weight)
public Float getSampleWeight()
public void setSampleWeight(Float sampleWeight)
public BenthosBatchRowModel getParentBatch()
public void setParentBatch(BenthosBatchRowModel parentBatch)
public List<BenthosBatchRowModel> getChildBatch()
public void setChildBatch(List<BenthosBatchRowModel> childBatch)
public boolean isBatchLeaf()
public boolean isBatchRoot()
public Integer getNumber()
public void setNumber(Integer number)
public String getComment()
public void setComment(String comment)
public 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 AttachmentModelAwareCopyright © 2012-2013 Ifremer. All Rights Reserved.