fr.ifremer.isisfish.entities
Class MetierSeasonInfoAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by fr.ifremer.isisfish.entities.SeasonAbstract
          extended by fr.ifremer.isisfish.entities.SeasonImpl
              extended by fr.ifremer.isisfish.entities.MetierSeasonInfoAbstract
All Implemented Interfaces:
MetierSeasonInfo, Season, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable
Direct Known Subclasses:
MetierSeasonInfoImpl

public abstract class MetierSeasonInfoAbstract
extends SeasonImpl
implements MetierSeasonInfo

See Also:
Serialized Form

Field Summary
protected  String comment
          Nom de l'attribut en BD : comment
protected  Metier metier
          Nom de l'attribut en BD : metier
protected  String seasonZoneComment
          Nom de l'attribut en BD : seasonZoneComment
protected  Collection<TargetSpecies> speciesTargetSpecies
          Nom de l'attribut en BD : species
protected  Collection<Zone> zone
          Nom de l'attribut en BD : zone
 
Fields inherited from class fr.ifremer.isisfish.entities.SeasonAbstract
firstMonth, lastMonth
 
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.MetierSeasonInfo
PROPERTY_COMMENT, PROPERTY_METIER, PROPERTY_SEASON_ZONE_COMMENT, PROPERTY_SPECIES_TARGET_SPECIES, PROPERTY_ZONE
 
Fields inherited from interface fr.ifremer.isisfish.entities.Season
PROPERTY_FIRST_MONTH, PROPERTY_LAST_MONTH
 
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
MetierSeasonInfoAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllSpeciesTargetSpecies(Collection<TargetSpecies> speciesTargetSpecies)
           
 void addAllZone(Collection<Zone> zone)
           
 void addSpeciesTargetSpecies(TargetSpecies speciesTargetSpecies)
           
 void addZone(Zone zone)
           
 void clearSpeciesTargetSpecies()
           
 void clearZone()
           
 void delete()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 String getComment()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 Metier getMetier()
           
 String getSeasonZoneComment()
           
 Collection<TargetSpecies> getSpeciesTargetSpecies()
           
 TargetSpecies getSpeciesTargetSpecies(Species species)
           
 TargetSpecies getSpeciesTargetSpeciesByTopiaId(String topiaId)
           
 Collection<Zone> getZone()
           
 Zone getZoneByTopiaId(String topiaId)
           
 boolean isSpeciesTargetSpeciesEmpty()
           
 boolean isZoneEmpty()
           
 void removeSpeciesTargetSpecies(TargetSpecies speciesTargetSpecies)
           
 void removeZone(Zone zone)
           
 void setComment(String comment)
           
 void setMetier(Metier metier)
           
 void setSeasonZoneComment(String seasonZoneComment)
           
 void setSpeciesTargetSpecies(Collection<TargetSpecies> speciesTargetSpecies)
           
 void setZone(Collection<Zone> zone)
           
 int sizeSpeciesTargetSpecies()
           
 int sizeZone()
           
 String toString()
           
 void update()
           
 
Methods inherited from class fr.ifremer.isisfish.entities.SeasonImpl
containsMonth, getMonths, setMonths
 
Methods inherited from class fr.ifremer.isisfish.entities.SeasonAbstract
getFirstMonth, getLastMonth, setFirstMonth, setLastMonth
 
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.MetierSeasonInfo
getCells, getTargetFactor
 
Methods inherited from interface fr.ifremer.isisfish.entities.Season
containsMonth, getFirstMonth, getLastMonth, getMonths, setFirstMonth, setLastMonth, setMonths
 
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

seasonZoneComment

protected String seasonZoneComment
Nom de l'attribut en BD : seasonZoneComment


comment

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


speciesTargetSpecies

protected Collection<TargetSpecies> speciesTargetSpecies
Nom de l'attribut en BD : species


metier

protected Metier metier
Nom de l'attribut en BD : metier


zone

protected Collection<Zone> zone
Nom de l'attribut en BD : zone

Constructor Detail

MetierSeasonInfoAbstract

public MetierSeasonInfoAbstract()
Method Detail

update

public void update()
            throws org.nuiton.topia.TopiaException
Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntityContextable
Overrides:
update in class SeasonAbstract
Throws:
org.nuiton.topia.TopiaException

delete

public void delete()
            throws org.nuiton.topia.TopiaException
Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntityContextable
Overrides:
delete in class SeasonAbstract
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
Overrides:
accept in class SeasonAbstract
Throws:
org.nuiton.topia.TopiaException

setSeasonZoneComment

public void setSeasonZoneComment(String seasonZoneComment)
Specified by:
setSeasonZoneComment in interface MetierSeasonInfo

getSeasonZoneComment

public String getSeasonZoneComment()
Specified by:
getSeasonZoneComment in interface MetierSeasonInfo

setComment

public void setComment(String comment)
Specified by:
setComment in interface MetierSeasonInfo

getComment

public String getComment()
Specified by:
getComment in interface MetierSeasonInfo

addSpeciesTargetSpecies

public void addSpeciesTargetSpecies(TargetSpecies speciesTargetSpecies)
Specified by:
addSpeciesTargetSpecies in interface MetierSeasonInfo

addAllSpeciesTargetSpecies

public void addAllSpeciesTargetSpecies(Collection<TargetSpecies> speciesTargetSpecies)
Specified by:
addAllSpeciesTargetSpecies in interface MetierSeasonInfo

setSpeciesTargetSpecies

public void setSpeciesTargetSpecies(Collection<TargetSpecies> speciesTargetSpecies)
Specified by:
setSpeciesTargetSpecies in interface MetierSeasonInfo

removeSpeciesTargetSpecies

public void removeSpeciesTargetSpecies(TargetSpecies speciesTargetSpecies)
Specified by:
removeSpeciesTargetSpecies in interface MetierSeasonInfo

clearSpeciesTargetSpecies

public void clearSpeciesTargetSpecies()
Specified by:
clearSpeciesTargetSpecies in interface MetierSeasonInfo

getSpeciesTargetSpecies

public Collection<TargetSpecies> getSpeciesTargetSpecies()
Specified by:
getSpeciesTargetSpecies in interface MetierSeasonInfo

getSpeciesTargetSpeciesByTopiaId

public TargetSpecies getSpeciesTargetSpeciesByTopiaId(String topiaId)
Specified by:
getSpeciesTargetSpeciesByTopiaId in interface MetierSeasonInfo

getSpeciesTargetSpecies

public TargetSpecies getSpeciesTargetSpecies(Species species)
Specified by:
getSpeciesTargetSpecies in interface MetierSeasonInfo

sizeSpeciesTargetSpecies

public int sizeSpeciesTargetSpecies()
Specified by:
sizeSpeciesTargetSpecies in interface MetierSeasonInfo

isSpeciesTargetSpeciesEmpty

public boolean isSpeciesTargetSpeciesEmpty()
Specified by:
isSpeciesTargetSpeciesEmpty in interface MetierSeasonInfo

setMetier

public void setMetier(Metier metier)
Specified by:
setMetier in interface MetierSeasonInfo

getMetier

public Metier getMetier()
Specified by:
getMetier in interface MetierSeasonInfo

addZone

public void addZone(Zone zone)
Specified by:
addZone in interface MetierSeasonInfo

addAllZone

public void addAllZone(Collection<Zone> zone)
Specified by:
addAllZone in interface MetierSeasonInfo

setZone

public void setZone(Collection<Zone> zone)
Specified by:
setZone in interface MetierSeasonInfo

removeZone

public void removeZone(Zone zone)
Specified by:
removeZone in interface MetierSeasonInfo

clearZone

public void clearZone()
Specified by:
clearZone in interface MetierSeasonInfo

getZone

public Collection<Zone> getZone()
Specified by:
getZone in interface MetierSeasonInfo

getZoneByTopiaId

public Zone getZoneByTopiaId(String topiaId)
Specified by:
getZoneByTopiaId in interface MetierSeasonInfo

sizeZone

public int sizeZone()
Specified by:
sizeZone in interface MetierSeasonInfo

isZoneEmpty

public boolean isZoneEmpty()
Specified by:
isZoneEmpty in interface MetierSeasonInfo

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 SeasonAbstract
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 SeasonAbstract
Throws:
org.nuiton.topia.TopiaException

toString

public String toString()
Overrides:
toString in class SeasonImpl


Copyright © 1999-2012 CodeLutin. All Rights Reserved.