aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes instanceof  doesn´t works as expected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "instanceof  doesn´t works as expected" Watch "instanceof  doesn´t works as expected" New topic
Author

instanceof doesn´t works as expected

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 386
Hi,

when I try to do this

opprowPerson instanceof OppositionPerson

it doesnt works in BIRT but if I try to show the content

row["opprowPerson"]=opprowPerson;

it shows pakcageName.OppositionPerson@a0d967

Any idea, please?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

ItDoesntWorkIsUseless TellTheDetails

That suspiciously looks like a toString() invoked on an OppositionPerson instance.

You need to provide us some background, show us some code and tell us what problem you are facing so we can help point you in the right direction


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
Don't get me started about those stupid light bulbs.
 
subject: instanceof doesn´t works as expected