fr.ifremer.isisfish.entities
Class SpeciesAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by 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:
Serialized Form

Field Summary
protected  boolean ageGroupType
          Nom de l'attribut en BD : ageGroupType
protected  int codeCEE
          Nom de l'attribut en BD : codeCEE
protected  String codeRubbin
          Nom de l'attribut en BD : codeRubbin
protected  String comment
          Nom de l'attribut en BD : comment
protected  Collection<TargetSpecies> metierSeasonInfoTargetSpecies
          Nom de l'attribut en BD : metierSeasonInfo
protected  String name
          Nom de l'attribut en BD : name
protected  Collection<Population> population
          Nom de l'attribut en BD : population
protected  String scientificName
          Nom de l'attribut en BD : scientificName
 
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.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.TopiaEntityContextable
TOPIA_CONTEXT
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
SpeciesAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllPopulation(Collection<Population> population)
           
 void addPopulation(Population population)
           
 void clearPopulation()
           
 void delete()
           
 boolean getAgeGroupType()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 int getCodeCEE()
           
 String getCodeRubbin()
           
 String getComment()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 String getName()
           
 Collection<Population> getPopulation()
           
 Population getPopulationByTopiaId(String topiaId)
           
 String getScientificName()
           
 boolean isAgeGroupType()
           
 boolean isPopulationEmpty()
           
 void removePopulation(Population population)
           
 void setAgeGroupType(boolean ageGroupType)
           
 void setCodeCEE(int codeCEE)
           
 void setCodeRubbin(String codeRubbin)
           
 void setComment(String comment)
           
 void setName(String name)
           
 void setPopulation(Collection<Population> population)
           
 void setScientificName(String scientificName)
           
 int sizePopulation()
           
 String 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.TopiaEntityContextable
getTopiaContext, setTopiaContext
 
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
 

Field Detail

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 Detail

SpeciesAbstract

public SpeciesAbstract()
Method Detail

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

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


Copyright © 1999-2012 CodeLutin. All Rights Reserved.