This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

instanceof doesn´t works as expected

 
Isaac Ferguson
Ranch Hand
Posts: 835
  • 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