Package fr.ifremer.isisfish.entities
Class PopulationGroupAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.PopulationGroupAbstract
- All Implemented Interfaces:
PopulationGroup
,Serializable
,org.nuiton.topia.persistence.TopiaEntity
,org.nuiton.topia.persistence.TopiaEntityContextable
- Direct Known Subclasses:
PopulationGroupImpl
public abstract class PopulationGroupAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements PopulationGroup
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected double
Nom de l'attribut en BD : ageprotected String
Nom de l'attribut en BD : commentprotected int
Nom de l'attribut en BD : idprotected double
Nom de l'attribut en BD : maxLengthprotected double
Nom de l'attribut en BD : minLengthprotected Population
Nom de l'attribut en BD : populationFields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
Fields inherited from interface fr.ifremer.isisfish.entities.PopulationGroup
PROPERTY_AGE, PROPERTY_COMMENT, PROPERTY_ID, PROPERTY_MAX_LENGTH, PROPERTY_MIN_LENGTH, PROPERTY_POPULATION
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
delete()
double
getAge()
List<org.nuiton.topia.persistence.TopiaEntity>
List<org.nuiton.topia.persistence.TopiaEntity>
int
getId()
double
double
void
setAge
(double age) void
setComment
(String comment) void
setId
(int id) void
setMaxLength
(double maxLength) void
setMinLength
(double minLength) void
setPopulation
(Population population) 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.PopulationGroup
getFishingMortalityOtherFleets, getLength, getMaturityOgive, getMeanWeight, getNaturalDeathRate, getPrice, getReproductionRate, isInLength
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
-
id
protected int idNom de l'attribut en BD : id -
age
protected double ageNom de l'attribut en BD : age -
minLength
protected double minLengthNom de l'attribut en BD : minLength -
maxLength
protected double maxLengthNom de l'attribut en BD : maxLength -
comment
Nom de l'attribut en BD : comment -
population
Nom de l'attribut en BD : population
-
-
Constructor Details
-
PopulationGroupAbstract
public PopulationGroupAbstract()
-
-
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
-
setId
public void setId(int id) - Specified by:
setId
in interfacePopulationGroup
-
getId
public int getId()- Specified by:
getId
in interfacePopulationGroup
-
setAge
public void setAge(double age) - Specified by:
setAge
in interfacePopulationGroup
-
getAge
public double getAge()- Specified by:
getAge
in interfacePopulationGroup
-
setMinLength
public void setMinLength(double minLength) - Specified by:
setMinLength
in interfacePopulationGroup
-
getMinLength
public double getMinLength()- Specified by:
getMinLength
in interfacePopulationGroup
-
setMaxLength
public void setMaxLength(double maxLength) - Specified by:
setMaxLength
in interfacePopulationGroup
-
getMaxLength
public double getMaxLength()- Specified by:
getMaxLength
in interfacePopulationGroup
-
setComment
- Specified by:
setComment
in interfacePopulationGroup
-
getComment
- Specified by:
getComment
in interfacePopulationGroup
-
setPopulation
- Specified by:
setPopulation
in interfacePopulationGroup
-
getPopulation
- Specified by:
getPopulation
in interfacePopulationGroup
-
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
-