nz.ac.waikato.mcennis.rat.graph.descriptors
Interface ParameterInternal

All Superinterfaces:
Parameter, SettableParameter
All Known Implementing Classes:
AverageSumParameter, BasicParameter, ExponentialDecayParameter

public interface ParameterInternal
extends SettableParameter

Extension of the SettableParameter and Parameter interface that allows parameter owners to set all parts of the parameter without knowing what specific implementation of parameter is used.


Method Summary
 void setName(java.lang.String name)
          Sets the name that this parameter will be accessed by
 void setStructural(boolean b)
          Set this as a parameter whose changes means the application structure needs to be rebuilt.
 void setType(java.lang.Class c)
          Sets the Class that this parameter will hold.
 
Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.descriptors.SettableParameter
setValue
 
Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.descriptors.Parameter
getName, getType, getValue, isStructural
 

Method Detail

setName

void setName(java.lang.String name)
Sets the name that this parameter will be accessed by

Parameters:
name - name of the parameter

setType

void setType(java.lang.Class c)
Sets the Class that this parameter will hold. This restriction can be a hard restriction or a soft contract depending on the implementation.

Parameters:
c - Class expected for the parameter's value

setStructural

void setStructural(boolean b)
Set this as a parameter whose changes means the application structure needs to be rebuilt. This is of primary interest for GUI development knowing whether a parameter modification means that dependancy checks need to be performed again.

Parameters:
b - is a structural parameter or not.