public class Parameter extends ParentParameter
Parameter class represents an element parameter.chosen, description, lineNumber, purposename, node| Constructor and Description |
|---|
Parameter(java.lang.String name) |
Parameter(java.lang.String name,
int lineNumber)
Initializes a newly created
Parameter with the specified name. |
| Modifier and Type | Method and Description |
|---|---|
void |
clearValues()
Clear values (sets default values) of the parameter type and notify its observers.
|
TypeParam |
getType() |
void |
setType(TypeParam type) |
void |
updateFigure()
Update the value of the
Figures associated with the parameter. |
compareTo, getDescription, getLineNumber, getPurpose, isChosen, setChosen, setChosen, setDescription, setPurposeequals, getName, getNode, setName, setNodepublic Parameter(java.lang.String name,
int lineNumber)
Parameter with the specified name. Parameter is
marked as not chosen. The name argument is the name of the parameter.name - a name of the parameter.public Parameter(java.lang.String name)
public TypeParam getType()
public void setType(TypeParam type)
public void clearValues()
clearValues in class ParentParameterpublic void updateFigure()
Figures associated with the parameter.