Skip to content

XAware Open Source Data Integration

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:How to read the xaware bizcomponent in java pro (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:How to read the xaware bizcomponent in java pro
#2921
kvandersluis (Admin)
Admin
Posts: 242
User Offline Click here to see the profile of this user
Re:How to read the xaware bizcomponent in java pro 2 Months, 2 Weeks ago Karma: 9  
So does this mean you are trying to distinguish between INTEGER versus DECIMAL? Or are you distinguishing between a number and a text field?

Do you need a way to distinguish at run-time, or can you make the decision at design time?

A couple of options:

1. You can add fields in the XML structure to carry the design-time data type into the results at run-time. This is brute force but should work in limited cases.

2. If you're distinguishing between number and string, then the XML Schema approach I discussed earlier is viable.

3. If you're distinguishing between number and string, create a Functoid that examines the format, like many scripting languages do. If the string is parseable as a number, treat it as a number. Otherwise treat it as a string.

Hope this helps!

-Kirstan
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
How to read the xaware bizcomponent in java progra
devim 2008/10/16 22:47
    thread link
thread linkthread link Re:How to read the xaware bizcomponent in java progra
kvandersluis 2008/10/17 09:29
    thread link
thread linkthread linkthread link Re:How to read the xaware bizcomponent in java pro
devim 2008/10/18 07:25
    thread link
thread linkthread linkthread linkthread link Re:How to read the xaware bizcomponent in java pro
kvandersluis 2008/10/18 09:35
    thread link
thread linkthread linkthread linkthread linkthread link Re:How to read the xaware bizcomponent in java pro
kvandersluis 2008/10/24 17:02
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:How to read the xaware bizcomponent in java pro
devim 2008/11/01 00:35
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Polls

What best describes your current or next project that will include data services?
 

Visit XAware.com