Suvodip Mukherjee | 29 Apr 20:33

RE: How to get bitmap field values

Yes, and the award goes to VocaLink :)

________________________________

From: jpos-dev@... on behalf of Andy Orrock
Sent: Tue 4/29/2008 7:02 PM
To: jpos-dev@...
Subject: RE: [jpos-dev] How to get bitmap field values

You can also read my comments about the Secondary Bit Map here, as others
have had similar questions about it:

http://tinyurl.com/4zrc7c <http://tinyurl.com/4zrc7c>  

By the way, Suvodip, VocaLink has won Confidential Footer declaration
contest! 

Andy 

-----Original Message-----
From: jpos-dev@... <mailto:jpos-dev%40yahoogroups.com> 
[mailto:jpos-dev@...
<mailto:jpos-dev%40yahoogroups.com> ] On Behalf
Of Alejandro Revilla
Sent: Tuesday, April 29, 2008 12:30 PM
To: jpos-dev@... <mailto:jpos-dev%40yahoogroups.com> 
Subject: Re: [jpos-dev] How to get bitmap field values

Most people trying to access the bitmap want to do so in order to figure
out if a field is present or not. You can do that in jPOS using ISOMsg's
hasField method (i.e. m.hasField(35)). 

We internally store a bitset in an internal field -1, you can use
code like this:

import java.util.BitSet;

BitSet bset = (BitSet) m.getValue(-1);

But I wonder if you really need to. What's your use case?

On Tue, Apr 29, 2008 at 06:23:02PM +0100, Suvodip Mukherjee wrote:
> Hi,
> Any idea how to get the primary and secondary bitmap values using jpos.
> I am trying to search for these values by using ISOMsg.hasField(1) and
> ISOMsg.hasField(1).
> However, the bitmap fields are not found. Please help.
> 
> Thanks & regards,
> Suvodip
> 
> <http://geo.yahoo.com/serv?s=97359714/grpId=293577/grpspId=1705006764/ms
<http://geo.yahoo.com/serv?s=97359714/grpId=293577/grpspId=1705006764/ms> 
> gId=7907/stime=1209489560/nc1=4507179/nc2=3848641/nc3=5202322> 
> 
> 
> *****************************************************
> This email is issued by a VocaLink group company. It is confidential and
intended for the exclusive use of the addressee only. You should not
disclose its contents to any other person. If you are not the addressee (or
responsible for delivery of the message to the addressee), please notify the
originator immediately by return message and destroy the original message.
The contents of this email will have no contractual effect unless it is
otherwise agreed between a specific VocaLink group company and the
recipient.
> 
> The VocaLink group companies include, among others: VocaLink Limited
(Company No 06119048, VAT No. 907 9619 87) which is registered in England
and Wales at registered office Drake House, Homestead Road, Rickmansworth,
WD3 1FX. United Kingdom, Voca Limited (Company no 1023742, VAT No. 907 9619
87) which is registered in England and Wales at registered office Drake
House, Three Rivers Court, Homestead Road, Rickmansworth, Hertfordshire. WD3
1FX. United Kingdom, LINK Interchange Network Limited (Company No 3565766,
VAT No. 907 9619 87) which is registered in England and Wales at registered
office Arundel House, 1 Liverpool Gardens, Worthing, West Sussex, BN11 1SL
and VocaLink Holdings Limited (Company No 06119036, VAT No. 907 9619 87)
which is registered in England and Wales at registered office Drake House,
Homestead Road, Rickmansworth, WD3 1FX. United Kingdom.
> 
> The views and opinions expressed in this email may not reflect those of
any member of the VocaLink group. This message and any attachments have been
scanned for viruses prior to leaving the VocaLink group network; however,
VocaLink does not guarantee the security of this message and will not be
responsible for any damages arising as a result of any virus being passed on
or arising from any alteration of this message by a third party. The
VocaLink group may monitor emails sent to and from the VocaLink group
network.
> 
> This message has been checked for all email viruses by MessageLabs.
> *************************************************************
> 
> [Non-text portions of this message have been removed]
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
> 

------------------------------------

Yahoo! Groups Links

*****************************************************
This email is issued by a VocaLink group company. It is confidential and intended for the exclusive use of
the addressee only. You should not disclose its contents to any other person. If you are not the addressee
(or responsible for delivery of the message to the addressee), please notify the originator immediately
by return message and destroy the original message. The contents of this email will have no contractual
effect unless it is otherwise agreed between a specific VocaLink group company and the recipient.

The VocaLink group companies include, among others: VocaLink Limited (Company No 06119048, VAT No. 907
9619 87) which is registered in England and Wales at registered office Drake House, Homestead Road,
Rickmansworth, WD3 1FX. United Kingdom, Voca Limited (Company no 1023742, VAT No. 907 9619 87) which is
registered in England and Wales at registered office Drake House, Three Rivers Court, Homestead Road,
Rickmansworth, Hertfordshire. WD3 1FX. United Kingdom, LINK Interchange Network Limited (Company No
3565766, VAT No. 907 9619 87) which is registered in England and Wales at registered office Arundel House,
1 Liverpool Gardens, Worthing, West Sussex, BN11 1SL and VocaLink Holdings Limited (Company No
06119036, VAT No. 907 9619 87) which is registered in England and Wales at registered off
 ice Drake House, Homestead Road, Rickmansworth, WD3 1FX. United Kingdom.

The views and opinions expressed in this email may not reflect those of any member of the VocaLink group.
This message and any attachments have been scanned for viruses prior to leaving the VocaLink group
network; however, VocaLink does not guarantee the security of this message and will not be responsible
for any damages arising as a result of any virus being passed on or arising from any alteration of this
message by a third party. The VocaLink group may monitor emails sent to and from the VocaLink group network.

This message has been checked for all email viruses by MessageLabs.
*************************************************************

[Non-text portions of this message have been removed]

------------------------------------


Gmane