public class BindAction extends DefaultAction
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
_object
Description of the Field
|
java.lang.String |
_variableName
Description of the Field
|
Constructor and Description |
---|
BindAction(java.lang.String variableName,
java.lang.Object someValue)
Constructor for the BindAction object
|
Modifier and Type | Method and Description |
---|---|
IAction |
bind(VariableBindings variableBindings)
Bind is called during the creation of an instantiation of a produciton.
|
double |
fire(IInstantiation instantiation,
double firingTime)
Description of the Method
|
java.lang.Object |
getObject()
Gets the object attribute of the BindAction object
|
java.lang.String |
getVariableName()
Gets the variableName attribute of the BindAction object
|
void |
setObject(java.lang.Object ob)
Sets the object attribute of the BindAction object
|
void |
setVariableName(java.lang.String name)
Sets the variableName attribute of the BindAction object
|
bindSlotValues, dispose, resolve, updateSlots
public java.lang.String _variableName
public java.lang.Object _object
public BindAction(java.lang.String variableName, java.lang.Object someValue)
variableName
- Description of the ParametersomeValue
- Description of the Parameterpublic IAction bind(VariableBindings variableBindings)
IAction
public java.lang.String getVariableName()
public void setVariableName(java.lang.String name)
name
- The new variableName valuepublic java.lang.Object getObject()
public void setObject(java.lang.Object ob)
ob
- The new object valuepublic double fire(IInstantiation instantiation, double firingTime)
DefaultAction
fire
in interface IAction
fire
in class DefaultAction
instantiation
- Description of the ParameterfiringTime
- when this production was fired