commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard <>
Subject Re: [beanutils] getSimpleProperty
Date Tue, 23 Sep 2003 17:17:27 GMT
Craig R. McClanahan wrote:

> That is not actually true if the data type is actually *boolean* (lower
> case "b").  In that scenario, it's perfectly legal to have the getter
> method start with "is" instead of "get".  The following is a legal
> read-write property:
>   public boolean isStarted();
>   public void setStarted(boolean started);
> The following is not:
>   public Boolean isStarted();
>   public void setStarted(Boolean started);

Thanks for the extra clarification.
Is the above a general rule on java or is it limited to BeanUtils?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message