incubator-imperius-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeraj Joshi <jnee...@us.ibm.com>
Subject Re: [jira] Created: (IMPERIUS-22) Java List objects as collections not supported?
Date Tue, 24 Feb 2009 17:56:02 GMT
Hey David,

That is correct. InCollection is a CIM-SPL operator so we had to stick to 
CIM-SPL primitives for it.

Thanks
Neeraj
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"The light at the end of the tunnel...may be you"

 
Neeraj Joshi
WebSphere XD - Compute Grid
AIM, IBM
Apache Imperius - http://incubator.apache.org/imperius
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From:
Xiping Wang/Watson/IBM@IBMUS
To:
imperius-dev@incubator.apache.org
Date:
02/24/2009 08:49 AM
Subject:
Re: [jira] Created: (IMPERIUS-22) Java List objects as collections not 
supported?



David,

If you read 11.1 Basic Collection of CIM-SPL spec, you will know that the
following syntax is supported.

Xiping

Import Class java.util.List:list1;
Strategy Execute_All_Applicable;
Policy
{
             Condition
             {
                inCollection("1",[ "1", "2" ])
             }
             Decision
             {
                         list.get(1)
             }
}:1;


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message