org.ow2.clif.scenario.isac.egui.plugins
Class TimerDescription

java.lang.Object
  extended by org.ow2.clif.scenario.isac.egui.plugins.TimerDescription
All Implemented Interfaces:
ActionDescription

public class TimerDescription
extends java.lang.Object
implements ActionDescription

This class store a timer description

Author:
JC Meillaud, A Peyrard

Constructor Summary
TimerDescription(java.lang.String n, java.lang.String nb, java.util.Vector<ParameterDescription> p, java.util.Vector<java.lang.String> h)
          Build a new timer description object, used to store information about a timer action
 
Method Summary
 void createNodeDescription(NodeDescription desc)
          Method which update the node description for this action The node have been initialised with the rigth type, we initialise the other fields
 java.lang.String getGUIKey()
          GUIKey getter
 java.util.Vector<java.lang.String> getHelp()
          Attribute help getter
 java.lang.String getName()
          Attribute name getter
 java.lang.String getNumber()
          Attribute number getter
 java.util.Vector<ParameterDescription> getParams()
          Attribute params getter
 void setGUIKey(java.lang.String key)
          The GUIKey Setter, this key is the reference in the table which store the parameters definitions interfaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerDescription

public TimerDescription(java.lang.String n,
                        java.lang.String nb,
                        java.util.Vector<ParameterDescription> p,
                        java.util.Vector<java.lang.String> h)
Build a new timer description object, used to store information about a timer action

Parameters:
n - The name of the action
nb - The number of the timer in the object timer table
p - The parameters definitions
h - The help for this action
Method Detail

createNodeDescription

public void createNodeDescription(NodeDescription desc)
Description copied from interface: ActionDescription
Method which update the node description for this action The node have been initialised with the rigth type, we initialise the other fields

Specified by:
createNodeDescription in interface ActionDescription
Parameters:
desc - The node description

getGUIKey

public java.lang.String getGUIKey()
Description copied from interface: ActionDescription
GUIKey getter

Specified by:
getGUIKey in interface ActionDescription
Returns:
The key

setGUIKey

public void setGUIKey(java.lang.String key)
Description copied from interface: ActionDescription
The GUIKey Setter, this key is the reference in the table which store the parameters definitions interfaces

Specified by:
setGUIKey in interface ActionDescription
Parameters:
key - The key

getHelp

public java.util.Vector<java.lang.String> getHelp()
Attribute help getter

Specified by:
getHelp in interface ActionDescription
Returns:
The help of the action

getName

public java.lang.String getName()
Attribute name getter

Specified by:
getName in interface ActionDescription
Returns:
The name of the action

getNumber

public java.lang.String getNumber()
Attribute number getter

Returns:
The number of the timer, in the object timers table

getParams

public java.util.Vector<ParameterDescription> getParams()
Attribute params getter

Specified by:
getParams in interface ActionDescription
Returns:
The parameters descriptions