Public Member Functions | |
SimpleDemoBean () | |
SimpleDemoBean (String name) | |
String | getName () |
void | setName (String newName) |
double | getValue () |
Private Attributes | |
final double | value |
String | name = "hello" |
Static Private Attributes | |
int | counter |
|
creates a bean with a default name which can be modified with the setName(String) method |
|
constructs a bean with a given name
|
|
getter method
|
|
accessor methods
|
|
Setter method
|
|
|
|
|
|
|