fr.ifremer.isisfish.entities
Class EffortDescriptionAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by fr.ifremer.isisfish.entities.EffortDescriptionAbstract
All Implemented Interfaces:
EffortDescription, java.io.Serializable, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
EffortDescriptionImpl

public abstract class EffortDescriptionAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements EffortDescription

See Also:
Serialized Form

Field Summary
 Metier possibleMetiers
           
 SetOfVessels setOfVessels
           
 
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.EffortDescription
CREW_FOOD_COST, CREW_SHARE_RATE, CREW_SIZE, FISHING_OPERATION, FISHING_OPERATION_DURATION, FIXED_CREW_SALARY, GEARS_NUMBER_PER_OPERATION, LANDING_COSTS, OTHER_RUNNING_COST, POSSIBLE_METIERS, REPAIR_AND_MAINTENANCE_GEAR_COST, SET_OF_VESSELS, UNIT_COST_OF_FISHING
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
EffortDescriptionAbstract()
           
 
Method Summary
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> accept()
          accept :
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
          accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.
 void delete()
          delete :
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
          getComposite :
 double getCrewFoodCost()
          getCrewFoodCost :
 double getCrewShareRate()
          getCrewShareRate :
 int getCrewSize()
          getCrewSize :
 int getFishingOperation()
          getFishingOperation :
 TimeUnit getFishingOperationDuration()
          getFishingOperationDuration :
 double getFixedCrewSalary()
          getFixedCrewSalary :
 int getGearsNumberPerOperation()
          getGearsNumberPerOperation :
 double getLandingCosts()
          getLandingCosts :
 double getOtherRunningCost()
          getOtherRunningCost :
 Metier getPossibleMetiers()
          getPossibleMetiers :
 double getRepairAndMaintenanceGearCost()
          getRepairAndMaintenanceGearCost :
 SetOfVessels getSetOfVessels()
          getSetOfVessels :
 double getUnitCostOfFishing()
          getUnitCostOfFishing :
 void setCrewFoodCost(double value)
          setCrewFoodCost :
 void setCrewShareRate(double value)
          setCrewShareRate :
 void setCrewSize(int value)
          setCrewSize :
 void setFishingOperation(int value)
          setFishingOperation :
 void setFishingOperationDuration(TimeUnit value)
          setFishingOperationDuration :
 void setFixedCrewSalary(double value)
          setFixedCrewSalary :
 void setGearsNumberPerOperation(int value)
          setGearsNumberPerOperation :
 void setLandingCosts(double value)
          setLandingCosts :
 void setOtherRunningCost(double value)
          setOtherRunningCost :
 void setPossibleMetiers(Metier value)
          setPossibleMetiers :
 void setRepairAndMaintenanceGearCost(double value)
          setRepairAndMaintenanceGearCost :
 void setSetOfVessels(SetOfVessels value)
          setSetOfVessels :
 void setUnitCostOfFishing(double value)
          setUnitCostOfFishing :
 java.lang.String toString()
          toString :
 void update()
          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, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, postCreate, 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, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

setOfVessels

public SetOfVessels setOfVessels

possibleMetiers

public Metier possibleMetiers
Constructor Detail

EffortDescriptionAbstract

public EffortDescriptionAbstract()
Method Detail

update

public void update()
            throws org.nuiton.topia.TopiaException
update :

Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
update in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

delete

public void delete()
            throws org.nuiton.topia.TopiaException
delete :

Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
delete in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.

Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Parameters:
visitor - le visiteur de l'entite.
Throws:
org.nuiton.topia.TopiaException

accept

public java.util.List<org.nuiton.topia.persistence.TopiaEntity> accept()
                                                                throws org.nuiton.topia.TopiaException
accept :

Returns:
List
Throws:
org.nuiton.topia.TopiaException

getComposite

public java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
                                                                      throws org.nuiton.topia.TopiaException
getComposite :

Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
Returns:
List
Throws:
org.nuiton.topia.TopiaException

setFishingOperation

public void setFishingOperation(int value)
setFishingOperation :

Specified by:
setFishingOperation in interface EffortDescription
Parameters:
value -

getFishingOperation

public int getFishingOperation()
getFishingOperation :

Specified by:
getFishingOperation in interface EffortDescription
Returns:
int

setFishingOperationDuration

public void setFishingOperationDuration(TimeUnit value)
setFishingOperationDuration :

Specified by:
setFishingOperationDuration in interface EffortDescription
Parameters:
value -

getFishingOperationDuration

public TimeUnit getFishingOperationDuration()
getFishingOperationDuration :

Specified by:
getFishingOperationDuration in interface EffortDescription
Returns:
TimeUnit

setGearsNumberPerOperation

public void setGearsNumberPerOperation(int value)
setGearsNumberPerOperation :

Specified by:
setGearsNumberPerOperation in interface EffortDescription
Parameters:
value -

getGearsNumberPerOperation

public int getGearsNumberPerOperation()
getGearsNumberPerOperation :

Specified by:
getGearsNumberPerOperation in interface EffortDescription
Returns:
int

setCrewSize

public void setCrewSize(int value)
setCrewSize :

Specified by:
setCrewSize in interface EffortDescription
Parameters:
value -

getCrewSize

public int getCrewSize()
getCrewSize :

Specified by:
getCrewSize in interface EffortDescription
Returns:
int

setUnitCostOfFishing

public void setUnitCostOfFishing(double value)
setUnitCostOfFishing :

Specified by:
setUnitCostOfFishing in interface EffortDescription
Parameters:
value -

getUnitCostOfFishing

public double getUnitCostOfFishing()
getUnitCostOfFishing :

Specified by:
getUnitCostOfFishing in interface EffortDescription
Returns:
double

setFixedCrewSalary

public void setFixedCrewSalary(double value)
setFixedCrewSalary :

Specified by:
setFixedCrewSalary in interface EffortDescription
Parameters:
value -

getFixedCrewSalary

public double getFixedCrewSalary()
getFixedCrewSalary :

Specified by:
getFixedCrewSalary in interface EffortDescription
Returns:
double

setCrewShareRate

public void setCrewShareRate(double value)
setCrewShareRate :

Specified by:
setCrewShareRate in interface EffortDescription
Parameters:
value -

getCrewShareRate

public double getCrewShareRate()
getCrewShareRate :

Specified by:
getCrewShareRate in interface EffortDescription
Returns:
double

setCrewFoodCost

public void setCrewFoodCost(double value)
setCrewFoodCost :

Specified by:
setCrewFoodCost in interface EffortDescription
Parameters:
value -

getCrewFoodCost

public double getCrewFoodCost()
getCrewFoodCost :

Specified by:
getCrewFoodCost in interface EffortDescription
Returns:
double

setRepairAndMaintenanceGearCost

public void setRepairAndMaintenanceGearCost(double value)
setRepairAndMaintenanceGearCost :

Specified by:
setRepairAndMaintenanceGearCost in interface EffortDescription
Parameters:
value -

getRepairAndMaintenanceGearCost

public double getRepairAndMaintenanceGearCost()
getRepairAndMaintenanceGearCost :

Specified by:
getRepairAndMaintenanceGearCost in interface EffortDescription
Returns:
double

setOtherRunningCost

public void setOtherRunningCost(double value)
setOtherRunningCost :

Specified by:
setOtherRunningCost in interface EffortDescription
Parameters:
value -

getOtherRunningCost

public double getOtherRunningCost()
getOtherRunningCost :

Specified by:
getOtherRunningCost in interface EffortDescription
Returns:
double

setLandingCosts

public void setLandingCosts(double value)
setLandingCosts :

Specified by:
setLandingCosts in interface EffortDescription
Parameters:
value -

getLandingCosts

public double getLandingCosts()
getLandingCosts :

Specified by:
getLandingCosts in interface EffortDescription
Returns:
double

setSetOfVessels

public void setSetOfVessels(SetOfVessels value)
setSetOfVessels :

Specified by:
setSetOfVessels in interface EffortDescription
Parameters:
value - La valeur de l'attribut setOfVessels à positionner.

getSetOfVessels

public SetOfVessels getSetOfVessels()
getSetOfVessels :

Specified by:
getSetOfVessels in interface EffortDescription
Returns:
SetOfVessels

setPossibleMetiers

public void setPossibleMetiers(Metier value)
setPossibleMetiers :

Specified by:
setPossibleMetiers in interface EffortDescription
Parameters:
value - La valeur de l'attribut possibleMetiers à positionner.

getPossibleMetiers

public Metier getPossibleMetiers()
getPossibleMetiers :

Specified by:
getPossibleMetiers in interface EffortDescription
Returns:
Metier

toString

public java.lang.String toString()
toString :

Specified by:
toString in interface EffortDescription
Overrides:
toString in class java.lang.Object
Returns:
String


Copyright © 1999-2010 CodeLutin. All Rights Reserved.