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 Details

    • name

      protected String name
      Nom de l'attribut en BD : name
    • scientificName

      protected String scientificName
      Nom de l'attribut en BD : scientificName
    • codeRubbin

      protected String codeRubbin
      Nom de l'attribut en BD : codeRubbin
    • codeCEE

      protected int codeCEE
      Nom de l'attribut en BD : codeCEE
    • ageGroupType

      protected boolean ageGroupType
      Nom de l'attribut en BD : ageGroupType
    • comment

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

      protected Collection<TargetSpecies> metierSeasonInfoTargetSpecies
      Nom de l'attribut en BD : metierSeasonInfo
    • population

      protected Collection<Population> 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 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
    • setName

      public void setName(String name)
      Specified by:
      setName in interface Species
    • getName

      public String getName()
      Specified by:
      getName in interface Species
    • setScientificName

      public void setScientificName(String scientificName)
      Specified by:
      setScientificName in interface Species
    • getScientificName

      public String getScientificName()
      Specified by:
      getScientificName in interface Species
    • setCodeRubbin

      public void setCodeRubbin(String codeRubbin)
      Specified by:
      setCodeRubbin in interface Species
    • getCodeRubbin

      public String getCodeRubbin()
      Specified by:
      getCodeRubbin in interface Species
    • setCodeCEE

      public void setCodeCEE(int codeCEE)
      Specified by:
      setCodeCEE in interface Species
    • getCodeCEE

      public int getCodeCEE()
      Specified by:
      getCodeCEE in interface Species
    • setAgeGroupType

      public void setAgeGroupType(boolean ageGroupType)
      Specified by:
      setAgeGroupType in interface Species
    • isAgeGroupType

      public boolean isAgeGroupType()
      Specified by:
      isAgeGroupType in interface Species
    • getAgeGroupType

      public boolean getAgeGroupType()
      Specified by:
      getAgeGroupType in interface Species
    • setComment

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

      public String getComment()
      Specified by:
      getComment in interface Species
    • addPopulation

      public void addPopulation(Population population)
      Specified by:
      addPopulation in interface Species
    • addAllPopulation

      public void addAllPopulation(Collection<Population> population)
      Specified by:
      addAllPopulation in interface Species
    • setPopulation

      public void setPopulation(Collection<Population> population)
      Specified by:
      setPopulation in interface Species
    • removePopulation

      public void removePopulation(Population population)
      Specified by:
      removePopulation in interface Species
    • clearPopulation

      public void clearPopulation()
      Specified by:
      clearPopulation in interface Species
    • getPopulation

      public Collection<Population> getPopulation()
      Specified by:
      getPopulation in interface Species
    • getPopulationByTopiaId

      public Population getPopulationByTopiaId(String topiaId)
      Specified by:
      getPopulationByTopiaId in interface Species
    • sizePopulation

      public int sizePopulation()
      Specified by:
      sizePopulation in interface Species
    • isPopulationEmpty

      public boolean isPopulationEmpty()
      Specified by:
      isPopulationEmpty in interface Species
    • 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