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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 321
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: 9990
    
    7

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!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: instanceof doesn´t works as expected
 
Similar Threads
instanceof operator???
Vector Collection
TypeCast Error while setting a value in a setter method
how to cast superclass into subclass
Shift Operator Gurus !!