fr.ifremer.isisfish.entities
Class StrategyAbstract

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

public abstract class StrategyAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Strategy

See Also:
Serialized Form

Field Summary
 Equation inactivityEquation
           
 boolean inactivityEquationUsed
           
 SetOfVessels setOfVessels
           
 java.util.List<StrategyMonthInfo> strategyMonthInfo
           
 
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.Strategy
COMMENT, INACTIVITY_EQUATION, INACTIVITY_EQUATION_USED, NAME, PROPORTION_SET_OF_VESSELS, SET_OF_VESSELS, STRATEGY_MONTH_INFO
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
StrategyAbstract()
           
 
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 addAllStrategyMonthInfo(java.util.List<StrategyMonthInfo> values)
          addAllStrategyMonthInfo :
 void addStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo)
          addStrategyMonthInfo :
 void clearStrategyMonthInfo()
          clearStrategyMonthInfo :
 void delete()
          delete :
 java.lang.String getComment()
          getComment :
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
          getComposite :
 Equation getInactivityEquation()
          getInactivityEquation :
 boolean getInactivityEquationUsed()
          getInactivityEquationUsed :
 java.lang.String getName()
          getName :
 double getProportionSetOfVessels()
          getProportionSetOfVessels :
 SetOfVessels getSetOfVessels()
          getSetOfVessels :
 java.util.List<StrategyMonthInfo> getStrategyMonthInfo()
          getStrategyMonthInfo :
 StrategyMonthInfo getStrategyMonthInfoByTopiaId(java.lang.String topiaId)
          getStrategyMonthInfoByTopiaId :
 boolean isStrategyMonthInfoEmpty()
          isStrategyMonthInfoEmpty :
 void removeStrategyMonthInfo(StrategyMonthInfo value)
          removeStrategyMonthInfo :
 void setComment(java.lang.String value)
          setComment :
 void setInactivityEquation(Equation value)
          setInactivityEquation :
 void setInactivityEquationUsed(boolean value)
          setInactivityEquationUsed :
 void setName(java.lang.String value)
          setName :
 void setProportionSetOfVessels(double value)
          setProportionSetOfVessels :
 void setSetOfVessels(SetOfVessels value)
          setSetOfVessels :
 void setStrategyMonthInfo(java.util.List<StrategyMonthInfo> values)
          setStrategyMonthInfo :
 int sizeStrategyMonthInfo()
          sizeStrategyMonthInfo :
 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 fr.ifremer.isisfish.entities.Strategy
getFisheryRegion, getInactivityDays, getStrategyMonthInfo
 
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

inactivityEquationUsed

public boolean inactivityEquationUsed

inactivityEquation

public Equation inactivityEquation

setOfVessels

public SetOfVessels setOfVessels

strategyMonthInfo

public java.util.List<StrategyMonthInfo> strategyMonthInfo
Constructor Detail

StrategyAbstract

public StrategyAbstract()
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

setName

public void setName(java.lang.String value)
setName :

Specified by:
setName in interface Strategy
Parameters:
value -

getName

public java.lang.String getName()
getName :

Specified by:
getName in interface Strategy
Returns:
String

setProportionSetOfVessels

public void setProportionSetOfVessels(double value)
setProportionSetOfVessels :

Specified by:
setProportionSetOfVessels in interface Strategy
Parameters:
value -

getProportionSetOfVessels

public double getProportionSetOfVessels()
getProportionSetOfVessels :

Specified by:
getProportionSetOfVessels in interface Strategy
Returns:
double

setComment

public void setComment(java.lang.String value)
setComment :

Specified by:
setComment in interface Strategy
Parameters:
value -

getComment

public java.lang.String getComment()
getComment :

Specified by:
getComment in interface Strategy
Returns:
String

setInactivityEquationUsed

public void setInactivityEquationUsed(boolean value)
setInactivityEquationUsed :

Specified by:
setInactivityEquationUsed in interface Strategy
Parameters:
value -

getInactivityEquationUsed

public boolean getInactivityEquationUsed()
getInactivityEquationUsed :

Specified by:
getInactivityEquationUsed in interface Strategy
Returns:
boolean

setInactivityEquation

public void setInactivityEquation(Equation value)
setInactivityEquation :

Specified by:
setInactivityEquation in interface Strategy
Parameters:
value -

getInactivityEquation

public Equation getInactivityEquation()
getInactivityEquation :

Specified by:
getInactivityEquation in interface Strategy
Returns:
Equation

setSetOfVessels

public void setSetOfVessels(SetOfVessels value)
setSetOfVessels :

Specified by:
setSetOfVessels in interface Strategy
Parameters:
value -

getSetOfVessels

public SetOfVessels getSetOfVessels()
getSetOfVessels :

Specified by:
getSetOfVessels in interface Strategy
Returns:
SetOfVessels

addStrategyMonthInfo

public void addStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo)
addStrategyMonthInfo :

Specified by:
addStrategyMonthInfo in interface Strategy
Parameters:
strategyMonthInfo -

addAllStrategyMonthInfo

public void addAllStrategyMonthInfo(java.util.List<StrategyMonthInfo> values)
addAllStrategyMonthInfo :

Specified by:
addAllStrategyMonthInfo in interface Strategy
Parameters:
values -

getStrategyMonthInfoByTopiaId

public StrategyMonthInfo getStrategyMonthInfoByTopiaId(java.lang.String topiaId)
getStrategyMonthInfoByTopiaId :

Specified by:
getStrategyMonthInfoByTopiaId in interface Strategy
Parameters:
topiaId -
Returns:
StrategyMonthInfo

setStrategyMonthInfo

public void setStrategyMonthInfo(java.util.List<StrategyMonthInfo> values)
setStrategyMonthInfo :

Specified by:
setStrategyMonthInfo in interface Strategy
Parameters:
values -

removeStrategyMonthInfo

public void removeStrategyMonthInfo(StrategyMonthInfo value)
removeStrategyMonthInfo :

Specified by:
removeStrategyMonthInfo in interface Strategy
Parameters:
value -

clearStrategyMonthInfo

public void clearStrategyMonthInfo()
clearStrategyMonthInfo :

Specified by:
clearStrategyMonthInfo in interface Strategy

getStrategyMonthInfo

public java.util.List<StrategyMonthInfo> getStrategyMonthInfo()
getStrategyMonthInfo :

Specified by:
getStrategyMonthInfo in interface Strategy
Returns:
List

sizeStrategyMonthInfo

public int sizeStrategyMonthInfo()
sizeStrategyMonthInfo :

Specified by:
sizeStrategyMonthInfo in interface Strategy
Returns:
int

isStrategyMonthInfoEmpty

public boolean isStrategyMonthInfoEmpty()
isStrategyMonthInfoEmpty :

Specified by:
isStrategyMonthInfoEmpty in interface Strategy
Returns:
boolean

toString

public java.lang.String toString()
toString :

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright © 1999-2010 CodeLutin. All Rights Reserved.