Class MetierAbstract

java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.MetierAbstract
All Implemented Interfaces:
Metier, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable
Direct Known Subclasses:
MetierImpl

public abstract class MetierAbstract extends org.nuiton.topia.persistence.TopiaEntityAbstract implements Metier
See Also:
  • Field Details

    • name

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

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

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

      protected String capturableSpeciesComment
      Nom de l'attribut en BD : capturableSpeciesComment
    • gear

      protected Gear gear
      Nom de l'attribut en BD : gear
    • setOfVesselsEffortDescription

      protected Collection<EffortDescription> setOfVesselsEffortDescription
      Nom de l'attribut en BD : setOfVessels
    • metierSeasonInfo

      protected List<MetierSeasonInfo> metierSeasonInfo
      Nom de l'attribut en BD : metierSeasonInfo
  • Constructor Details

    • MetierAbstract

      public MetierAbstract()
  • 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 Metier
    • getName

      public String getName()
      Specified by:
      getName in interface Metier
    • setGearParameterValue

      public void setGearParameterValue(String gearParameterValue)
      Specified by:
      setGearParameterValue in interface Metier
    • getGearParameterValue

      public String getGearParameterValue()
      Specified by:
      getGearParameterValue in interface Metier
    • setComment

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

      public String getComment()
      Specified by:
      getComment in interface Metier
    • setCapturableSpeciesComment

      public void setCapturableSpeciesComment(String capturableSpeciesComment)
      Specified by:
      setCapturableSpeciesComment in interface Metier
    • getCapturableSpeciesComment

      public String getCapturableSpeciesComment()
      Specified by:
      getCapturableSpeciesComment in interface Metier
    • setGear

      public void setGear(Gear gear)
      Specified by:
      setGear in interface Metier
    • getGear

      public Gear getGear()
      Specified by:
      getGear in interface Metier
    • addMetierSeasonInfo

      public void addMetierSeasonInfo(MetierSeasonInfo metierSeasonInfo)
      Specified by:
      addMetierSeasonInfo in interface Metier
    • addAllMetierSeasonInfo

      public void addAllMetierSeasonInfo(List<MetierSeasonInfo> metierSeasonInfo)
      Specified by:
      addAllMetierSeasonInfo in interface Metier
    • setMetierSeasonInfo

      public void setMetierSeasonInfo(List<MetierSeasonInfo> metierSeasonInfo)
      Specified by:
      setMetierSeasonInfo in interface Metier
    • removeMetierSeasonInfo

      public void removeMetierSeasonInfo(MetierSeasonInfo metierSeasonInfo)
      Specified by:
      removeMetierSeasonInfo in interface Metier
    • clearMetierSeasonInfo

      public void clearMetierSeasonInfo()
      Specified by:
      clearMetierSeasonInfo in interface Metier
    • getMetierSeasonInfo

      public List<MetierSeasonInfo> getMetierSeasonInfo()
      Specified by:
      getMetierSeasonInfo in interface Metier
    • getMetierSeasonInfoByTopiaId

      public MetierSeasonInfo getMetierSeasonInfoByTopiaId(String topiaId)
      Specified by:
      getMetierSeasonInfoByTopiaId in interface Metier
    • sizeMetierSeasonInfo

      public int sizeMetierSeasonInfo()
      Specified by:
      sizeMetierSeasonInfo in interface Metier
    • isMetierSeasonInfoEmpty

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