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/i...@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;

Reply via email to