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

All Superinterfaces:
Parameter
All Known Implementing Classes:
BasicParameter

public interface ParameterInternal
extends Parameter

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
 ParameterInternal duplicate()
           
 SyntaxObject getRestrictions()
           
 void setDescription(java.lang.String b)
           
 void setParameterClass(java.lang.Class c)
          Sets the Class that this parameter will hold.
 void setRestrictions(SyntaxObject syntax)
           
 void setStructural(boolean b)
          Set this as a parameter whose changes means the application structure needs to be rebuilt.
 void setType(java.lang.String name)
          Sets the name that this parameter will be accessed by
 
Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.descriptors.Parameter
add, add, check, check, check, check, clear, get, getDescription, getParameterClass, getType, getValue, isStructural, prototype, set, set, set
 

Method Detail

setType

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

Parameters:
name - name of the parameter

setParameterClass

void setParameterClass(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.

setDescription

void setDescription(java.lang.String b)

setRestrictions

void setRestrictions(SyntaxObject syntax)

getRestrictions

SyntaxObject getRestrictions()
Specified by:
getRestrictions in interface Parameter

duplicate

ParameterInternal duplicate()
Specified by:
duplicate in interface Parameter

Get Relational Analysis Toolkit at SourceForge.net. Fast, secure and Free Open Source software downloads