|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.descriptors.BasicParameter
public class BasicParameter
Base implementation of all the parameter interfaces.
| Constructor Summary | |
|---|---|
BasicParameter()
Creates a new instance of BasicParameter |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Name of this parameter. |
java.lang.Class |
getType()
Returns the Class type of the parameter. |
java.lang.Object |
getValue()
Returns the current value of this object. |
boolean |
isStructural()
Will modification of this parameter cause a structural change in the component that has it? |
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. |
void |
setValue(java.lang.Object o)
Set the underlying parameter with the given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicParameter()
| Method Detail |
|---|
public void setName(java.lang.String name)
ParameterInternal
setName in interface ParameterInternalname - name of the parameterpublic void setStructural(boolean b)
ParameterInternal
setStructural in interface ParameterInternalb - is a structural parameter or not.public java.lang.String getName()
Parameter
getName in interface Parameterpublic java.lang.Class getType()
Parameter
getType in interface Parameterpublic java.lang.Object getValue()
Parameter
getValue in interface Parameterpublic boolean isStructural()
Parameter
isStructural in interface Parameterpublic void setValue(java.lang.Object o)
SettableParameter
setValue in interface SettableParametero - new parameter valuepublic void setType(java.lang.Class c)
ParameterInternal
setType in interface ParameterInternalc - Class expected for the parameter's value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||