Package fr.ifremer.isisfish.entities
Class SpeciesAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.SpeciesAbstract
- All Implemented Interfaces:
Species
,Serializable
,org.nuiton.topia.persistence.TopiaEntity
,org.nuiton.topia.persistence.TopiaEntityContextable
- Direct Known Subclasses:
SpeciesImpl
public abstract class SpeciesAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Species
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Nom de l'attribut en BD : ageGroupTypeprotected int
Nom de l'attribut en BD : codeCEEprotected String
Nom de l'attribut en BD : codeRubbinprotected String
Nom de l'attribut en BD : commentprotected Collection<TargetSpecies>
Nom de l'attribut en BD : metierSeasonInfoprotected String
Nom de l'attribut en BD : nameprotected Collection<Population>
Nom de l'attribut en BD : populationprotected String
Nom de l'attribut en BD : scientificNameFields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
Fields inherited from interface fr.ifremer.isisfish.entities.Species
PROPERTY_AGE_GROUP_TYPE, PROPERTY_CODE_CEE, PROPERTY_CODE_RUBBIN, PROPERTY_COMMENT, PROPERTY_METIER_SEASON_INFO_TARGET_SPECIES, PROPERTY_NAME, PROPERTY_POPULATION, PROPERTY_SCIENTIFIC_NAME
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
TOPIA_CONTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(org.nuiton.topia.persistence.EntityVisitor visitor) protected void
accept0
(org.nuiton.topia.persistence.EntityVisitor visitor) void
addAllPopulation
(Collection<Population> population) void
addPopulation
(Population population) void
void
delete()
boolean
List<org.nuiton.topia.persistence.TopiaEntity>
int
List<org.nuiton.topia.persistence.TopiaEntity>
getName()
getPopulationByTopiaId
(String topiaId) boolean
boolean
void
removePopulation
(Population population) void
setAgeGroupType
(boolean ageGroupType) void
setCodeCEE
(int codeCEE) void
setCodeRubbin
(String codeRubbin) void
setComment
(String comment) void
void
setPopulation
(Collection<Population> population) void
setScientificName
(String scientificName) int
toString()
void
update()
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface fr.ifremer.isisfish.entities.Species
getFisheryRegion
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
getTopiaContext, setTopiaContext
-
Field Details
-
name
Nom de l'attribut en BD : name -
scientificName
Nom de l'attribut en BD : scientificName -
codeRubbin
Nom de l'attribut en BD : codeRubbin -
codeCEE
protected int codeCEENom de l'attribut en BD : codeCEE -
ageGroupType
protected boolean ageGroupTypeNom de l'attribut en BD : ageGroupType -
comment
Nom de l'attribut en BD : comment -
metierSeasonInfoTargetSpecies
Nom de l'attribut en BD : metierSeasonInfo -
population
Nom de l'attribut en BD : population
-
-
Constructor Details
-
SpeciesAbstract
public SpeciesAbstract()
-
-
Method Details
-
update
public void update() throws org.nuiton.topia.TopiaException- Specified by:
update
in interfaceorg.nuiton.topia.persistence.TopiaEntityContextable
- Throws:
org.nuiton.topia.TopiaException
-
delete
public void delete() throws org.nuiton.topia.TopiaException- Specified by:
delete
in interfaceorg.nuiton.topia.persistence.TopiaEntityContextable
- Throws:
org.nuiton.topia.TopiaException
-
accept
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException - Specified by:
accept
in interfaceorg.nuiton.topia.persistence.TopiaEntity
- Throws:
org.nuiton.topia.TopiaException
-
accept0
protected void accept0(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException - Throws:
org.nuiton.topia.TopiaException
-
setName
-
getName
-
setScientificName
- Specified by:
setScientificName
in interfaceSpecies
-
getScientificName
- Specified by:
getScientificName
in interfaceSpecies
-
setCodeRubbin
- Specified by:
setCodeRubbin
in interfaceSpecies
-
getCodeRubbin
- Specified by:
getCodeRubbin
in interfaceSpecies
-
setCodeCEE
public void setCodeCEE(int codeCEE) - Specified by:
setCodeCEE
in interfaceSpecies
-
getCodeCEE
public int getCodeCEE()- Specified by:
getCodeCEE
in interfaceSpecies
-
setAgeGroupType
public void setAgeGroupType(boolean ageGroupType) - Specified by:
setAgeGroupType
in interfaceSpecies
-
isAgeGroupType
public boolean isAgeGroupType()- Specified by:
isAgeGroupType
in interfaceSpecies
-
getAgeGroupType
public boolean getAgeGroupType()- Specified by:
getAgeGroupType
in interfaceSpecies
-
setComment
- Specified by:
setComment
in interfaceSpecies
-
getComment
- Specified by:
getComment
in interfaceSpecies
-
addPopulation
- Specified by:
addPopulation
in interfaceSpecies
-
addAllPopulation
- Specified by:
addAllPopulation
in interfaceSpecies
-
setPopulation
- Specified by:
setPopulation
in interfaceSpecies
-
removePopulation
- Specified by:
removePopulation
in interfaceSpecies
-
clearPopulation
public void clearPopulation()- Specified by:
clearPopulation
in interfaceSpecies
-
getPopulation
- Specified by:
getPopulation
in interfaceSpecies
-
getPopulationByTopiaId
- Specified by:
getPopulationByTopiaId
in interfaceSpecies
-
sizePopulation
public int sizePopulation()- Specified by:
sizePopulation
in interfaceSpecies
-
isPopulationEmpty
public boolean isPopulationEmpty()- Specified by:
isPopulationEmpty
in interfaceSpecies
-
getAggregate
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException- Specified by:
getAggregate
in interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getAggregate
in classorg.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
-
getComposite
public List<org.nuiton.topia.persistence.TopiaEntity> getComposite() throws org.nuiton.topia.TopiaException- Specified by:
getComposite
in interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getComposite
in classorg.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
-
toString
-