getMyValue
in the class MyStuff
may be accessed
as MyStuff.MVfrom the macro language. While this may be convenient, especially from the command line, spelling out the entire method is encouraged!
FOO
will make that value visible by providing
getFoo()
or an isFoo()
method.FOO
that can be modified can make it modifiable
by providing a setFoo(..)
method.getFoo()
method but no setFoo(..)
method the value FOO
is said to be "read only."Java Experts Take Note: |
---|
![]() getFoo() , isFoo() , and setFoo(..)
methods follows the definition of a Java Bean. This provides for immediate compatibility
with all objects that follow the Java Bean specification.
|