• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

instanceof doesn´t works as expected

 
Isaac Ferguson
Ranch Hand
Posts: 839
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic