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

    Fields
    Modifier and Type
    Field
    Description
    protected double
    Nom de l'attribut en BD : age
    protected String
    Nom de l'attribut en BD : comment
    protected int
    Nom de l'attribut en BD : id
    protected double
    Nom de l'attribut en BD : maxLength
    protected double
    Nom de l'attribut en BD : minLength
    protected Population
    Nom de l'attribut en BD : population

    Fields 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.nuiton.topia.persistence.EntityVisitor visitor)
     
    protected void
    accept0(org.nuiton.topia.persistence.EntityVisitor visitor)
     
    void
     
    double
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
    int
     
    double
     
    double
     
     
    void
    setAge(double age)
     
    void
    setComment(String comment)
     
    void
    setId(int id)
     
    void
    setMaxLength(double maxLength)
     
    void
    setMinLength(double minLength)
     
    void
     
     
    void
     

    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 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 id
      Nom de l'attribut en BD : id
    • age

      protected double age
      Nom de l'attribut en BD : age
    • minLength

      protected double minLength
      Nom de l'attribut en BD : minLength
    • maxLength

      protected double maxLength
      Nom de l'attribut en BD : maxLength
    • comment

      protected String comment
      Nom de l'attribut en BD : comment
    • population

      protected Population 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 interface org.nuiton.topia.persistence.TopiaEntityContextable
      Throws:
      org.nuiton.topia.TopiaException
    • delete

      public void delete() throws org.nuiton.topia.TopiaException
      Specified by:
      delete in interface org.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 interface org.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 interface PopulationGroup
    • getId

      public int getId()
      Specified by:
      getId in interface PopulationGroup
    • setAge

      public void setAge(double age)
      Specified by:
      setAge in interface PopulationGroup
    • getAge

      public double getAge()
      Specified by:
      getAge in interface PopulationGroup
    • setMinLength

      public void setMinLength(double minLength)
      Specified by:
      setMinLength in interface PopulationGroup
    • getMinLength

      public double getMinLength()
      Specified by:
      getMinLength in interface PopulationGroup
    • setMaxLength

      public void setMaxLength(double maxLength)
      Specified by:
      setMaxLength in interface PopulationGroup
    • getMaxLength

      public double getMaxLength()
      Specified by:
      getMaxLength in interface PopulationGroup
    • setComment

      public void setComment(String comment)
      Specified by:
      setComment in interface PopulationGroup
    • getComment

      public String getComment()
      Specified by:
      getComment in interface PopulationGroup
    • setPopulation

      public void setPopulation(Population population)
      Specified by:
      setPopulation in interface PopulationGroup
    • getPopulation

      public Population getPopulation()
      Specified by:
      getPopulation in interface PopulationGroup
    • getAggregate

      public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException
      Specified by:
      getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
      Overrides:
      getAggregate in class org.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 interface org.nuiton.topia.persistence.TopiaEntity
      Overrides:
      getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
      Throws:
      org.nuiton.topia.TopiaException
    • toString

      public String toString()
      Overrides:
      toString in class Object