Good Morning Tamas

Are you saying that Bean should not extend Object?
1)If so is there another way that Bean could support reflection without extending Object? 2)If so if that hurdle could be overcome How would the Bean support the equals method?

Martin-
----- Original Message ----- From: "Tamas Szabo" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, July 26, 2005 3:35 AM
Subject: [OT] org.apache.commons.beanutils.PropertyUtils.describe(Object )


Hi,

it seems to you ok that the org.apache.commons.beanutils.PropertyUtils.describe(Object )
method puts the class property(coming from java.lang.Object) in the map?

I'm not sure about this, but it would be more logical for me if the class was not in the Map(if it was not handled as a normal property). I mean when I write a bean I declare all of the properties I want to consider properties.
But because all the beans extend Object, I also get Object's properties.
It just doesn't seems right to me :-)

Tamas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to