public class EditProtocolUIModel extends AbstractTuttiBeanUIModel<TuttiProtocol,EditProtocolUIModel> implements TuttiProtocol
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Caracteristic> |
allCaracteristic |
protected Map<String,Species> |
allReferentSpeciesByTaxonId |
protected List<Species> |
allSpecies |
protected com.google.common.collect.Multimap<String,Species> |
allSpeciesByTaxonId |
protected List<Species> |
allSynonyms |
protected List<EditProtocolSpeciesRowModel> |
benthosRow |
protected List<Caracteristic> |
caracteristics |
protected boolean |
cleaned
Flag when a incoming protocol is cleaned.
|
protected boolean |
cloned
Flag when a incoming protocol is cloned.
|
protected TuttiProtocol |
editObject
Delegate edit object.
|
protected static org.nuiton.util.beans.Binder<TuttiProtocol,EditProtocolUIModel> |
fromBeanBinder |
protected boolean |
imported
Flag when a incoming protocol is imported.
|
static String |
PROPERTY_BENTHOS_ROW |
static String |
PROPERTY_CLEANED |
static String |
PROPERTY_CLONED |
static String |
PROPERTY_IMPORTED |
static String |
PROPERTY_REMOVE_BENTHOS_ENABLED |
static String |
PROPERTY_REMOVE_SPECIES_ENABLED |
static String |
PROPERTY_SPECIES_ROW |
protected boolean |
removeBenthosEnabled
Can user remove a selected benthos?
|
protected boolean |
removeSpeciesEnabled
Can user remove a selected species?
|
protected List<EditProtocolSpeciesRowModel> |
speciesRow |
protected static org.nuiton.util.beans.Binder<EditProtocolUIModel,TuttiProtocol> |
toBeanBinder |
id, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_BENTHOS, PROPERTY_COMMENT, PROPERTY_GEAR_USE_FEATURE_PMFM_ID, PROPERTY_INDIVIDUAL_OBSERVATION_PMFM_ID, PROPERTY_LENGTH_CLASSES_PMFM_ID, PROPERTY_NAME, PROPERTY_SPECIES, PROPERTY_VERSION, PROPERTY_VESSEL_USE_FEATURE_PMFM_IDPROPERTY_ID| Constructor and Description |
|---|
EditProtocolUIModel() |
firePropertyChanged, fromBean, fromEntity, getChild, getChild, getId, getIdAsInt, isCreate, isModify, isValid, setId, setId, setModify, setValid, toBean, toEntityaddPropertyChangeListener, 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_BENTHOS_ROW
public static final String PROPERTY_REMOVE_SPECIES_ENABLED
public static final String PROPERTY_REMOVE_BENTHOS_ENABLED
public static final String PROPERTY_IMPORTED
public static final String PROPERTY_CLONED
public static final String PROPERTY_CLEANED
protected final TuttiProtocol editObject
protected boolean imported
protected boolean cloned
protected boolean cleaned
protected boolean removeSpeciesEnabled
protected boolean removeBenthosEnabled
protected com.google.common.collect.Multimap<String,Species> allSpeciesByTaxonId
protected List<Caracteristic> caracteristics
protected Map<String,Caracteristic> allCaracteristic
protected List<EditProtocolSpeciesRowModel> speciesRow
protected List<EditProtocolSpeciesRowModel> benthosRow
protected static org.nuiton.util.beans.Binder<EditProtocolUIModel,TuttiProtocol> toBeanBinder
protected static org.nuiton.util.beans.Binder<TuttiProtocol,EditProtocolUIModel> fromBeanBinder
protected TuttiProtocol newEntity()
newEntity in class AbstractTuttiBeanUIModel<TuttiProtocol,EditProtocolUIModel>public void setLengthClassesPmfm(List<Caracteristic> lengthClassesPmfm)
public void setGearUseFeaturePmfm(List<Caracteristic> gearUseFeaturePmfm)
public void setVesselUseFeaturePmfm(List<Caracteristic> vesselUseFeaturePmfm)
public void setIndividualObservationPmfm(List<Caracteristic> individualObservationPmfm)
public List<EditProtocolSpeciesRowModel> getSpeciesRow()
public void setSpeciesRow(List<EditProtocolSpeciesRowModel> speciesRow)
public List<EditProtocolSpeciesRowModel> getBenthosRow()
public void setBenthosRow(List<EditProtocolSpeciesRowModel> benthosRow)
public boolean isRemoveSpeciesEnabled()
public void setRemoveSpeciesEnabled(boolean removeSpeciesEnabled)
public boolean isRemoveBenthosEnabled()
public void setRemoveBenthosEnabled(boolean removeBenthosEnabled)
public boolean isImported()
public void setImported(boolean imported)
public boolean isCloned()
public void setCloned(boolean cloned)
public boolean isCleaned()
public void setCleaned(boolean cleaned)
public com.google.common.collect.Multimap<String,Species> getAllSpeciesByTaxonId()
public Collection<Species> getAllSynonyms(String taxonId)
public void setAllSpeciesByTaxonId(com.google.common.collect.Multimap<String,Species> allSpeciesByTaxonId)
public void setAllReferentSpeciesByTaxonId(Map<String,Species> allReferentSpeciesByTaxonId)
public List<Caracteristic> getCaracteristics()
public void setCaracteristics(List<Caracteristic> caracteristics)
public Map<String,Caracteristic> getAllCaracteristic()
public void setAllCaracteristic(Map<String,Caracteristic> allCaracteristic)
public String getName()
getName in interface TuttiProtocolpublic void setName(String name)
setName in interface TuttiProtocolpublic String getComment()
getComment in interface CommentAwaregetComment in interface TuttiProtocolpublic void setComment(String comment)
setComment in interface CommentAwaresetComment in interface TuttiProtocolpublic List<String> getLengthClassesPmfmId()
getLengthClassesPmfmId in interface TuttiProtocolpublic void setLengthClassesPmfmId(List<String> lengthClassesPmfmId)
setLengthClassesPmfmId in interface TuttiProtocolpublic List<String> getGearUseFeaturePmfmId()
getGearUseFeaturePmfmId in interface TuttiProtocolpublic void setGearUseFeaturePmfmId(List<String> gearUseFeaturePmfmId)
setGearUseFeaturePmfmId in interface TuttiProtocolpublic List<String> getVesselUseFeaturePmfmId()
getVesselUseFeaturePmfmId in interface TuttiProtocolpublic void setVesselUseFeaturePmfmId(List<String> vesselUseFeaturePmfmId)
setVesselUseFeaturePmfmId in interface TuttiProtocolpublic List<String> getIndividualObservationPmfmId()
getIndividualObservationPmfmId in interface TuttiProtocolpublic void setIndividualObservationPmfmId(List<String> individualObservationPmfmId)
setIndividualObservationPmfmId in interface TuttiProtocolpublic String getGearUseFeaturePmfmId(int index)
getGearUseFeaturePmfmId in interface TuttiProtocolpublic boolean isGearUseFeaturePmfmIdEmpty()
isGearUseFeaturePmfmIdEmpty in interface TuttiProtocolpublic int sizeGearUseFeaturePmfmId()
sizeGearUseFeaturePmfmId in interface TuttiProtocolpublic void addGearUseFeaturePmfmId(String gearUseFeaturePmfmId)
addGearUseFeaturePmfmId in interface TuttiProtocolpublic void addAllGearUseFeaturePmfmId(Collection<String> gearUseFeaturePmfmId)
addAllGearUseFeaturePmfmId in interface TuttiProtocolpublic boolean removeGearUseFeaturePmfmId(String gearUseFeaturePmfmId)
removeGearUseFeaturePmfmId in interface TuttiProtocolpublic boolean removeAllGearUseFeaturePmfmId(Collection<String> gearUseFeaturePmfmId)
removeAllGearUseFeaturePmfmId in interface TuttiProtocolpublic boolean containsGearUseFeaturePmfmId(String gearUseFeaturePmfmId)
containsGearUseFeaturePmfmId in interface TuttiProtocolpublic boolean containsAllGearUseFeaturePmfmId(Collection<String> gearUseFeaturePmfmId)
containsAllGearUseFeaturePmfmId in interface TuttiProtocolpublic String getVesselUseFeaturePmfmId(int index)
getVesselUseFeaturePmfmId in interface TuttiProtocolpublic boolean isVesselUseFeaturePmfmIdEmpty()
isVesselUseFeaturePmfmIdEmpty in interface TuttiProtocolpublic int sizeVesselUseFeaturePmfmId()
sizeVesselUseFeaturePmfmId in interface TuttiProtocolpublic void addVesselUseFeaturePmfmId(String vesselUseFeaturePmfmId)
addVesselUseFeaturePmfmId in interface TuttiProtocolpublic void addAllVesselUseFeaturePmfmId(Collection<String> vesselUseFeaturePmfmId)
addAllVesselUseFeaturePmfmId in interface TuttiProtocolpublic boolean removeVesselUseFeaturePmfmId(String vesselUseFeaturePmfmId)
removeVesselUseFeaturePmfmId in interface TuttiProtocolpublic boolean removeAllVesselUseFeaturePmfmId(Collection<String> vesselUseFeaturePmfmId)
removeAllVesselUseFeaturePmfmId in interface TuttiProtocolpublic boolean containsVesselUseFeaturePmfmId(String vesselUseFeaturePmfmId)
containsVesselUseFeaturePmfmId in interface TuttiProtocolpublic boolean containsAllVesselUseFeaturePmfmId(Collection<String> vesselUseFeaturePmfmId)
containsAllVesselUseFeaturePmfmId in interface TuttiProtocolpublic String getIndividualObservationPmfmId(int index)
getIndividualObservationPmfmId in interface TuttiProtocolpublic boolean isIndividualObservationPmfmIdEmpty()
isIndividualObservationPmfmIdEmpty in interface TuttiProtocolpublic int sizeIndividualObservationPmfmId()
sizeIndividualObservationPmfmId in interface TuttiProtocolpublic void addIndividualObservationPmfmId(String individualObservationPmfmId)
addIndividualObservationPmfmId in interface TuttiProtocolpublic void addAllIndividualObservationPmfmId(Collection<String> individualObservationPmfmId)
addAllIndividualObservationPmfmId in interface TuttiProtocolpublic boolean removeIndividualObservationPmfmId(String individualObservationPmfmId)
removeIndividualObservationPmfmId in interface TuttiProtocolpublic boolean removeAllIndividualObservationPmfmId(Collection<String> individualObservationPmfmId)
removeAllIndividualObservationPmfmId in interface TuttiProtocolpublic boolean containsIndividualObservationPmfmId(String individualObservationPmfmId)
containsIndividualObservationPmfmId in interface TuttiProtocolpublic boolean containsAllIndividualObservationPmfmId(Collection<String> individualObservationPmfmId)
containsAllIndividualObservationPmfmId in interface TuttiProtocolpublic String getLengthClassesPmfmId(int index)
getLengthClassesPmfmId in interface TuttiProtocolpublic boolean isLengthClassesPmfmIdEmpty()
isLengthClassesPmfmIdEmpty in interface TuttiProtocolpublic int sizeLengthClassesPmfmId()
sizeLengthClassesPmfmId in interface TuttiProtocolpublic void addLengthClassesPmfmId(String lengthClassesPmfmId)
addLengthClassesPmfmId in interface TuttiProtocolpublic void addAllLengthClassesPmfmId(Collection<String> lengthClassesPmfmId)
addAllLengthClassesPmfmId in interface TuttiProtocolpublic boolean removeLengthClassesPmfmId(String lengthClassesPmfmId)
removeLengthClassesPmfmId in interface TuttiProtocolpublic boolean removeAllLengthClassesPmfmId(Collection<String> lengthClassesPmfmId)
removeAllLengthClassesPmfmId in interface TuttiProtocolpublic boolean containsLengthClassesPmfmId(String lengthClassesPmfmId)
containsLengthClassesPmfmId in interface TuttiProtocolpublic boolean containsAllLengthClassesPmfmId(Collection<String> lengthClassesPmfmId)
containsAllLengthClassesPmfmId in interface TuttiProtocolpublic SpeciesProtocol getSpecies(int index)
getSpecies in interface TuttiProtocolpublic boolean isSpeciesEmpty()
isSpeciesEmpty in interface TuttiProtocolpublic int sizeSpecies()
sizeSpecies in interface TuttiProtocolpublic void addSpecies(SpeciesProtocol species)
addSpecies in interface TuttiProtocolpublic void addAllSpecies(Collection<SpeciesProtocol> species)
addAllSpecies in interface TuttiProtocolpublic boolean removeSpecies(SpeciesProtocol species)
removeSpecies in interface TuttiProtocolpublic boolean removeAllSpecies(Collection<SpeciesProtocol> species)
removeAllSpecies in interface TuttiProtocolpublic boolean containsSpecies(SpeciesProtocol species)
containsSpecies in interface TuttiProtocolpublic boolean containsAllSpecies(Collection<SpeciesProtocol> species)
containsAllSpecies in interface TuttiProtocolpublic List<SpeciesProtocol> getSpecies()
getSpecies in interface TuttiProtocolpublic void setSpecies(List<SpeciesProtocol> species)
setSpecies in interface TuttiProtocolpublic SpeciesProtocol getBenthos(int index)
getBenthos in interface TuttiProtocolpublic boolean isBenthosEmpty()
isBenthosEmpty in interface TuttiProtocolpublic int sizeBenthos()
sizeBenthos in interface TuttiProtocolpublic void addBenthos(SpeciesProtocol benthos)
addBenthos in interface TuttiProtocolpublic void addAllBenthos(Collection<SpeciesProtocol> benthos)
addAllBenthos in interface TuttiProtocolpublic boolean removeBenthos(SpeciesProtocol benthos)
removeBenthos in interface TuttiProtocolpublic boolean removeAllBenthos(Collection<SpeciesProtocol> benthos)
removeAllBenthos in interface TuttiProtocolpublic boolean containsBenthos(SpeciesProtocol benthos)
containsBenthos in interface TuttiProtocolpublic boolean containsAllBenthos(Collection<SpeciesProtocol> benthos)
containsAllBenthos in interface TuttiProtocolpublic List<SpeciesProtocol> getBenthos()
getBenthos in interface TuttiProtocolpublic void setBenthos(List<SpeciesProtocol> benthos)
setBenthos in interface TuttiProtocolpublic Integer getVersion()
getVersion in interface TuttiProtocolpublic void setVersion(Integer version)
setVersion in interface TuttiProtocolCopyright © 2012–2013 Ifremer. All rights reserved.