You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tim Sawyer <ts...@nildram.co.uk> on 2002/04/04 16:40:22 UTC

[OTish] BeanUtils and Booleans

Does BeanUtils support using is and set when dealing with booleans?

If I do this:

Map lMap = BeanUtils.describe(lBean);
Set lSet = lMap.keySet();
Iterator lIterator = lSet.iterator();
while (lIterator.hasNext()) 
{
  Object lObject = lIterator.next();

  String lTempValue = (String)lObject;
  System.out.println("Value is " + lTempValue);
}

it only shows properties with get and set methods, not my booleans that use is.

Is this not supported, or am I doing something wrong somewhere?

ta,

Tim.




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>