|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
simple problem |
« View previous topic :: View next topic » |
Author |
Message
|
amateur10 |
Posted: Mon Nov 28, 2005 11:05 pm Post subject: simple problem |
|
|
Centurion
Joined: 23 Nov 2005 Posts: 102
|
Hi Guys,
I have said already, I am learning ICS. However, I try my best before putting question in the forum.
I am testing padding with some value. when compile the follwing simple statement in custom code in map it give error.
objGBO.setSTring("country","123435");
The error is
Compile Error: at destination attribute <country>: line 1, objGBO cannot be resolved as the objGBO is one of the objects of the map. where is my mistake in understanding the process? Can you please explain. |
|
Back to top |
|
 |
sdng |
Posted: Tue Nov 29, 2005 12:18 am Post subject: |
|
|
Acolyte
Joined: 23 Nov 2005 Posts: 53
|
Hi,
there's not method setString in BusObj class, you should use method set(,) for any type of data |
|
Back to top |
|
 |
amateur10 |
Posted: Tue Nov 29, 2005 6:03 am Post subject: |
|
|
Centurion
Joined: 23 Nov 2005 Posts: 102
|
what should I use then? ojbxxx.set(attribute,value)? is this right?
thanks |
|
Back to top |
|
 |
sdng |
Posted: Tue Nov 29, 2005 6:05 am Post subject: |
|
|
Acolyte
Joined: 23 Nov 2005 Posts: 53
|
void set(String attribute, Object value)
void set(int position, Object value)
void set(String attribute, boolean value)
void set(String attribute, double value)
void set(String attribute, float value)
void set(String attribute, int value)
void set(String attribute, long value)
void set(String attribute, Object value)
void set(String attribute, String value) |
|
Back to top |
|
 |
amateur10 |
Posted: Tue Nov 29, 2005 6:11 am Post subject: |
|
|
Centurion
Joined: 23 Nov 2005 Posts: 102
|
my question is, objxxx.setWithCreate(Attribute, value) gives error. This should work? what mistake am I making? |
|
Back to top |
|
 |
sdng |
Posted: Tue Nov 29, 2005 6:21 am Post subject: |
|
|
Acolyte
Joined: 23 Nov 2005 Posts: 53
|
when does it give error (compile,runtime) and what is error |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|