Package fr.ifremer.isisfish.entities
Class StrategyAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
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:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Nom de l'attribut en BD : commentprotected Equation
Nom de l'attribut en BD : inactivityEquationprotected boolean
Nom de l'attribut en BD : inactivityEquationUsedprotected String
Nom de l'attribut en BD : nameprotected double
Nom de l'attribut en BD : proportionSetOfVesselsprotected SetOfVessels
Nom de l'attribut en BD : setOfVesselsprotected List<StrategyMonthInfo>
Nom de l'attribut en BD : strategyMonthInfoFields 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.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
TOPIA_CONTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(org.nuiton.topia.persistence.EntityVisitor visitor) protected void
accept0
(org.nuiton.topia.persistence.EntityVisitor visitor) void
addAllStrategyMonthInfo
(List<StrategyMonthInfo> strategyMonthInfo) void
addStrategyMonthInfo
(StrategyMonthInfo strategyMonthInfo) void
void
delete()
List<org.nuiton.topia.persistence.TopiaEntity>
List<org.nuiton.topia.persistence.TopiaEntity>
boolean
getName()
double
getStrategyMonthInfoByTopiaId
(String topiaId) boolean
boolean
void
removeStrategyMonthInfo
(StrategyMonthInfo strategyMonthInfo) void
setComment
(String comment) void
setInactivityEquation
(Equation inactivityEquation) void
setInactivityEquationUsed
(boolean inactivityEquationUsed) void
void
setProportionSetOfVessels
(double proportionSetOfVessels) void
setSetOfVessels
(SetOfVessels setOfVessels) void
setStrategyMonthInfo
(List<StrategyMonthInfo> strategyMonthInfo) int
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.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
getTopiaContext, setTopiaContext
-
Field Details
-
name
Nom de l'attribut en BD : name -
proportionSetOfVessels
protected double proportionSetOfVesselsNom de l'attribut en BD : proportionSetOfVessels -
comment
Nom de l'attribut en BD : comment -
inactivityEquationUsed
protected boolean inactivityEquationUsedNom de l'attribut en BD : inactivityEquationUsed -
inactivityEquation
Nom de l'attribut en BD : inactivityEquation -
setOfVessels
Nom de l'attribut en BD : setOfVessels -
strategyMonthInfo
Nom de l'attribut en BD : strategyMonthInfo
-
-
Constructor Details
-
StrategyAbstract
public StrategyAbstract()
-
-
Method Details
-
update
public void update() throws org.nuiton.topia.TopiaException- Specified by:
update
in interfaceorg.nuiton.topia.persistence.TopiaEntityContextable
- Throws:
org.nuiton.topia.TopiaException
-
delete
public void delete() throws org.nuiton.topia.TopiaException- Specified by:
delete
in interfaceorg.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 interfaceorg.nuiton.topia.persistence.TopiaEntity
- Throws:
org.nuiton.topia.TopiaException
-
accept0
protected void accept0(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException - Throws:
org.nuiton.topia.TopiaException
-
setName
-
getName
-
setProportionSetOfVessels
public void setProportionSetOfVessels(double proportionSetOfVessels) - Specified by:
setProportionSetOfVessels
in interfaceStrategy
-
getProportionSetOfVessels
public double getProportionSetOfVessels()- Specified by:
getProportionSetOfVessels
in interfaceStrategy
-
setComment
- Specified by:
setComment
in interfaceStrategy
-
getComment
- Specified by:
getComment
in interfaceStrategy
-
setInactivityEquationUsed
public void setInactivityEquationUsed(boolean inactivityEquationUsed) - Specified by:
setInactivityEquationUsed
in interfaceStrategy
-
isInactivityEquationUsed
public boolean isInactivityEquationUsed()- Specified by:
isInactivityEquationUsed
in interfaceStrategy
-
getInactivityEquationUsed
public boolean getInactivityEquationUsed()- Specified by:
getInactivityEquationUsed
in interfaceStrategy
-
setInactivityEquation
- Specified by:
setInactivityEquation
in interfaceStrategy
-
getInactivityEquation
- Specified by:
getInactivityEquation
in interfaceStrategy
-
setSetOfVessels
- Specified by:
setSetOfVessels
in interfaceStrategy
-
getSetOfVessels
- Specified by:
getSetOfVessels
in interfaceStrategy
-
addStrategyMonthInfo
- Specified by:
addStrategyMonthInfo
in interfaceStrategy
-
addAllStrategyMonthInfo
- Specified by:
addAllStrategyMonthInfo
in interfaceStrategy
-
setStrategyMonthInfo
- Specified by:
setStrategyMonthInfo
in interfaceStrategy
-
removeStrategyMonthInfo
- Specified by:
removeStrategyMonthInfo
in interfaceStrategy
-
clearStrategyMonthInfo
public void clearStrategyMonthInfo()- Specified by:
clearStrategyMonthInfo
in interfaceStrategy
-
getStrategyMonthInfo
- Specified by:
getStrategyMonthInfo
in interfaceStrategy
-
getStrategyMonthInfoByTopiaId
- Specified by:
getStrategyMonthInfoByTopiaId
in interfaceStrategy
-
sizeStrategyMonthInfo
public int sizeStrategyMonthInfo()- Specified by:
sizeStrategyMonthInfo
in interfaceStrategy
-
isStrategyMonthInfoEmpty
public boolean isStrategyMonthInfoEmpty()- Specified by:
isStrategyMonthInfoEmpty
in interfaceStrategy
-
getAggregate
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException- Specified by:
getAggregate
in interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getAggregate
in classorg.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 interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getComposite
in classorg.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
-
toString
-