|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grinder.util.BooleanProperty
public final class BooleanProperty
Introspects a boolean property of a Java Bean and provides setter and getter methods.
| Nested Class Summary | |
|---|---|
static class |
BooleanProperty.PropertyException
Indicates a problem with accessing the property. |
| Constructor Summary | |
|---|---|
BooleanProperty(Object bean,
String propertyName)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
get()
Getter method. |
void |
set(boolean value)
Setter method. |
String |
toString()
Describe the property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanProperty(Object bean,
String propertyName)
throws BooleanProperty.PropertyException
bean - Bean to introspect.propertyName - The property.
BooleanProperty.PropertyException - If a boolean property of the given name
could not be found.| Method Detail |
|---|
public boolean get()
throws BooleanProperty.PropertyException
BooleanProperty.PropertyException - If the value could not be read.
public void set(boolean value)
throws BooleanProperty.PropertyException
value - The new value of the property.
BooleanProperty.PropertyException - If the value could not be written.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||