The Variable type exposes the following members.


  Name Description
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the Type of the current instance.
(Inherited from Object.)
Is the value of this variable valid?
Creates a shallow copy of the current Object.
(Inherited from Object.)
Sets whether the value of variable is valid.
Sets the value of the variable. Constant values cannot be changed.

This method calls java.util.Observable.notifyObservers() to indicate to anyone interested that the value has been changed. Note subclasses should override setValueRaw rather than this method so they do not need to handle the Observable methods.

This method sets the validValue flag to true.

In general subclasses should override this method rather than setValue. This is because setValue notifies any observers and then calls this method.

This method sets the validValue flag to true.

Returns a string with the variable name followed by it's value.

For example for the variable "a" with the value 10, the following string is returned: a: 10

If the variable is a constant the string " (Constant" is appended.
(Overrides Object..::.ToString()()().)

See Also