Giving a set method defines a write property, and a get method defines a read property, according to this pattern: public void set<PropertyName>(<PropertyType> value); public <PropertyType> get<PropertyName> ( ); |
If the property type is boolean, the get() method can be replaced or augmented by a method: public boolean is<PropertyName> ( ); |