Let's assume we have a simple class Person that defines the following property:
The following sections illustrate property access using FEST-Reflect. We will assume that we have the variable person of type Person. We are also going to assume the following static import:
Reading the value of a property
The following code listing is equivalent to calling getName():
Setting the value of a property
The following code listing is equivalent to calling setName("Leia"):
See Also
Labels