Class AbstractEqTDComputationMode
java.lang.Object
org.ametys.plugins.odfpilotage.cost.eqtd.AbstractEqTDComputationMode
- All Implemented Interfaces:
EqTDComputationMode
,PluginAware
,Configurable
- Direct Known Subclasses:
GroupsMode
,IndividualMode
public abstract class AbstractEqTDComputationMode
extends Object
implements EqTDComputationMode, PluginAware, Configurable
Abstract class for TD equivalent computation mode.
-
Field Summary
Modifier and TypeFieldDescriptionprotected I18nizableText
Description.protected String
Analysis complete id.protected I18nizableText
Label.protected String
Plugin name. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) Retrieves the description of the computation mode.getId()
Retrieves the id of the computation mode.getLabel()
Retrieves the label of the computation mode.void
setPluginInfo
(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.plugins.odfpilotage.cost.eqtd.EqTDComputationMode
computeEqTD
-
Field Details
-
_pluginName
Plugin name. -
_id
Analysis complete id. -
_label
Label. -
_description
Description.
-
-
Constructor Details
-
AbstractEqTDComputationMode
public AbstractEqTDComputationMode()
-
-
Method Details
-
setPluginInfo
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getId
Description copied from interface:EqTDComputationMode
Retrieves the id of the computation mode.- Specified by:
getId
in interfaceEqTDComputationMode
- Returns:
- the id.
-
getLabel
Description copied from interface:EqTDComputationMode
Retrieves the label of the computation mode.- Specified by:
getLabel
in interfaceEqTDComputationMode
- Returns:
- the label.
-
getDescription
Description copied from interface:EqTDComputationMode
Retrieves the description of the computation mode.- Specified by:
getDescription
in interfaceEqTDComputationMode
- Returns:
- the description.
-