Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Determining the value of a BooleanHolder class

4 posts in General Discussion (old) Last posting was on 2000-03-03 00:36:45.0Z
Basant Gupta Posted on 2000-03-02 18:31:00.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 02 Mar 2000 10:31:00 -0800
From: Basant Gupta <basantg@yahoo.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Determining the value of a BooleanHolder class
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 13
NNTP-Posting-Host: 207.171.209.94
Message-ID: <347_38BEB363.369EE53F@yahoo.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27298
Article PK: 158715

Hi
I'm calling Jaguar components from PowerDynamo using Java proxies. I
would like to determine the value of a BooleanHolder class.
I have a boolean inout parameter and populate it the following way"
flag = false;
boolean_arg = java.CreateObject("org.omg.CORBA.BooleanHolder", flag);

//boolean_arg should have the value of true or false
ls_ret = session.is_cust.of_getmsg(boolean_arg);

How do I determine the value of the boolean_arg ?

Thanks

Basant


Dave Wolf [Sybase] Posted on 2000-03-02 18:48:03.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Determining the value of a BooleanHolder class
Date: Thu, 2 Mar 2000 13:48:03 -0500
Lines: 301
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 158.159.8.48
Message-ID: <347_LFpyhhHh$GA.285@forums.sybase.com>
References: <347_38BEB363.369EE53F@yahoo.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27297
Article PK: 158716

Use my attached reflection classes

import JavaWrappers.ssc;

helper = new JavaFieldHelper(boolean_arg);
document.writeln(helper.getBoolean("value"));

Dave Wolf
Internet Applications Division

"Basant Gupta" <basantg@yahoo.com> wrote in message
news:38BEB363.369EE53F@yahoo.com...
> Hi
> I'm calling Jaguar components from PowerDynamo using Java proxies. I
> would like to determine the value of a BooleanHolder class.
> I have a boolean inout parameter and populate it the following way"
> flag = false;
> boolean_arg = java.CreateObject("org.omg.CORBA.BooleanHolder", flag);
>
> file://boolean_arg should have the value of true or false
> ls_ret = session.is_cust.of_getmsg(boolean_arg);
>
> How do I determine the value of the boolean_arg ?
>
> Thanks
>
> Basant
>


Basant Gupta Posted on 2000-03-02 21:33:08.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 02 Mar 2000 13:33:08 -0800
From: Basant Gupta <basantg@yahoo.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Determining the value of a BooleanHolder class
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 29
NNTP-Posting-Host: 207.171.209.94
Message-ID: <347_38BEDE14.6C303325@yahoo.com>
References: <347_38BEB363.369EE53F@yahoo.com> <347_LFpyhhHh$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27288
Article PK: 154519

Thanks Dave,
Works great !!

Basant

"Dave Wolf [Sybase]" wrote:

> Use my attached reflection classes
>
> import JavaWrappers.ssc;
>
> helper = new JavaFieldHelper(boolean_arg);
> document.writeln(helper.getBoolean("value"));
>
> Dave Wolf
> Internet Applications Division
>
> "Basant Gupta" <basantg@yahoo.com> wrote in message
> news:38BEB363.369EE53F@yahoo.com...
> > Hi
> > I'm calling Jaguar components from PowerDynamo using Java proxies. I
> > would like to determine the value of a BooleanHolder class.
> > I have a boolean inout parameter and populate it the following way"
> > flag = false;
> > boolean_arg = java.CreateObject("org.omg.CORBA.BooleanHolder", flag);
> >
> > file://boolean_arg should have the value of true or false
> > ls_ret = session.is_cust.of_getmsg(boolean_arg);
> >
> > How do I determine the value of the boolean_arg ?
> >
> > Thanks
> >
> > Basant
> >
>
> Name: JavaWrappers.ssc
> JavaWrappers.ssc Type: unspecified type (application/octet-stream)
> Encoding: x-uuencode


Dave Wolf [Sybase] Posted on 2000-03-03 00:36:45.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Determining the value of a BooleanHolder class
Date: Thu, 2 Mar 2000 19:36:45 -0500
Lines: 51
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 158.159.8.48
Message-ID: <347_IYgBYkKh$GA.285@forums.sybase.com>
References: <347_38BEB363.369EE53F@yahoo.com> <347_LFpyhhHh$GA.285@forums.sybase.com> <347_38BEDE14.6C303325@yahoo.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27268
Article PK: 154515

Ahh yes. java.lang.reflect.* is your friend :)

Dave Wolf
Internet Applications Division

"Basant Gupta" <basantg@yahoo.com> wrote in message
news:38BEDE14.6C303325@yahoo.com...
> Thanks Dave,
> Works great !!
>
> Basant
>
> "Dave Wolf [Sybase]" wrote:
>
> > Use my attached reflection classes
> >
> > import JavaWrappers.ssc;
> >
> > helper = new JavaFieldHelper(boolean_arg);
> > document.writeln(helper.getBoolean("value"));
> >
> > Dave Wolf
> > Internet Applications Division
> >
> > "Basant Gupta" <basantg@yahoo.com> wrote in message
> > news:38BEB363.369EE53F@yahoo.com...
> > > Hi
> > > I'm calling Jaguar components from PowerDynamo using Java proxies.
I
> > > would like to determine the value of a BooleanHolder class.
> > > I have a boolean inout parameter and populate it the following way"
> > > flag = false;
> > > boolean_arg = java.CreateObject("org.omg.CORBA.BooleanHolder",
flag);
> > >
> > > file://boolean_arg should have the value of true or false
> > > ls_ret = session.is_cust.of_getmsg(boolean_arg);
> > >
> > > How do I determine the value of the boolean_arg ?
> > >
> > > Thanks
> > >
> > > Basant
> > >
> >
> > Name: JavaWrappers.ssc
> > JavaWrappers.ssc Type: unspecified type (application/octet-stream)
> > Encoding: x-uuencode
>