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, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable
Direct Known Subclasses:
StrategyImpl

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

See Also:
Serialized Form

Field Summary
protected  String comment
          Nom de l'attribut en BD : comment
protected  Equation inactivityEquation
          Nom de l'attribut en BD : inactivityEquation
protected  boolean inactivityEquationUsed
          Nom de l'attribut en BD : inactivityEquationUsed
protected  String name
          Nom de l'attribut en BD : name
protected  double proportionSetOfVessels
          Nom de l'attribut en BD : proportionSetOfVessels
protected  SetOfVessels setOfVessels
          Nom de l'attribut en BD : setOfVessels
protected  List<StrategyMonthInfo> strategyMonthInfo
          Nom de l'attribut en BD : 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
PROPERTY_COMMENT, PROPERTY_INACTIVITY_EQUATION, PROPERTY_INACTIVITY_EQUATION_USED, PROPERTY_NAME, PROPERTY_PROPORTION_SET_OF_VESSELS, PROPERTY_SET_OF_VESSELS, PROPERTY_STRATEGY_MONTH_INFO
 
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
StrategyAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllStrategyMonthInfo(List<StrategyMonthInfo> strategyMonthInfo)
           
 void addStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo)
           
 void clearStrategyMonthInfo()
           
 void delete()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 String getComment()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 Equation getInactivityEquation()
           
 boolean getInactivityEquationUsed()
           
 String getName()
           
 double getProportionSetOfVessels()
           
 SetOfVessels getSetOfVessels()
           
 List<StrategyMonthInfo> getStrategyMonthInfo()
           
 StrategyMonthInfo getStrategyMonthInfoByTopiaId(String topiaId)
           
 boolean isInactivityEquationUsed()
           
 boolean isStrategyMonthInfoEmpty()
           
 void removeStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo)
           
 void setComment(String comment)
           
 void setInactivityEquation(Equation inactivityEquation)
           
 void setInactivityEquationUsed(boolean inactivityEquationUsed)
           
 void setName(String name)
           
 void setProportionSetOfVessels(double proportionSetOfVessels)
           
 void setSetOfVessels(SetOfVessels setOfVessels)
           
 void setStrategyMonthInfo(List<StrategyMonthInfo> strategyMonthInfo)
           
 int sizeStrategyMonthInfo()
           
 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.Strategy
getFisheryRegion, getInactivityDays, getProportionMetier, getStrategyMonthInfo, setProportionMetier
 
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


proportionSetOfVessels

protected double proportionSetOfVessels
Nom de l'attribut en BD : proportionSetOfVessels


comment

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


inactivityEquationUsed

protected boolean inactivityEquationUsed
Nom de l'attribut en BD : inactivityEquationUsed


inactivityEquation

protected Equation inactivityEquation
Nom de l'attribut en BD : inactivityEquation


setOfVessels

protected SetOfVessels setOfVessels
Nom de l'attribut en BD : setOfVessels


strategyMonthInfo

protected List<StrategyMonthInfo> strategyMonthInfo
Nom de l'attribut en BD : strategyMonthInfo

Constructor Detail

StrategyAbstract

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

getName

public String getName()
Specified by:
getName in interface Strategy

setProportionSetOfVessels

public void setProportionSetOfVessels(double proportionSetOfVessels)
Specified by:
setProportionSetOfVessels in interface Strategy

getProportionSetOfVessels

public double getProportionSetOfVessels()
Specified by:
getProportionSetOfVessels in interface Strategy

setComment

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

getComment

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

setInactivityEquationUsed

public void setInactivityEquationUsed(boolean inactivityEquationUsed)
Specified by:
setInactivityEquationUsed in interface Strategy

isInactivityEquationUsed

public boolean isInactivityEquationUsed()
Specified by:
isInactivityEquationUsed in interface Strategy

getInactivityEquationUsed

public boolean getInactivityEquationUsed()
Specified by:
getInactivityEquationUsed in interface Strategy

setInactivityEquation

public void setInactivityEquation(Equation inactivityEquation)
Specified by:
setInactivityEquation in interface Strategy

getInactivityEquation

public Equation getInactivityEquation()
Specified by:
getInactivityEquation in interface Strategy

setSetOfVessels

public void setSetOfVessels(SetOfVessels setOfVessels)
Specified by:
setSetOfVessels in interface Strategy

getSetOfVessels

public SetOfVessels getSetOfVessels()
Specified by:
getSetOfVessels in interface Strategy

addStrategyMonthInfo

public void addStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo)
Specified by:
addStrategyMonthInfo in interface Strategy

addAllStrategyMonthInfo

public void addAllStrategyMonthInfo(List<StrategyMonthInfo> strategyMonthInfo)
Specified by:
addAllStrategyMonthInfo in interface Strategy

setStrategyMonthInfo

public void setStrategyMonthInfo(List<StrategyMonthInfo> strategyMonthInfo)
Specified by:
setStrategyMonthInfo in interface Strategy

removeStrategyMonthInfo

public void removeStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo)
Specified by:
removeStrategyMonthInfo in interface Strategy

clearStrategyMonthInfo

public void clearStrategyMonthInfo()
Specified by:
clearStrategyMonthInfo in interface Strategy

getStrategyMonthInfo

public List<StrategyMonthInfo> getStrategyMonthInfo()
Specified by:
getStrategyMonthInfo in interface Strategy

getStrategyMonthInfoByTopiaId

public StrategyMonthInfo getStrategyMonthInfoByTopiaId(String topiaId)
Specified by:
getStrategyMonthInfoByTopiaId in interface Strategy

sizeStrategyMonthInfo

public int sizeStrategyMonthInfo()
Specified by:
sizeStrategyMonthInfo in interface Strategy

isStrategyMonthInfoEmpty

public boolean isStrategyMonthInfoEmpty()
Specified by:
isStrategyMonthInfoEmpty in interface Strategy

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.