incubator-imperius-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Bengtson (JIRA)" <j...@apache.org>
Subject [jira] Created: (IMPERIUS-32) Calling an operation of an anchor class that returns an array cannot be used as argument to operations such as AllInCollection
Date Fri, 28 May 2010 12:51:36 GMT
Calling an operation of an anchor class that returns an array cannot be used as argument to
operations such as AllInCollection
------------------------------------------------------------------------------------------------------------------------------

                 Key: IMPERIUS-32
                 URL: https://issues.apache.org/jira/browse/IMPERIUS-32
             Project: Imperius
          Issue Type: Bug
            Reporter: Erik Bengtson
            Assignee: Bill Stoddard


The expression object.getArrayString() is not allowed as argument to Collection operators

Import Class package.Type:object;
Strategy Execute_All_Applicable;
Declaration
{

}
Policy
{
    Condition
    {
        AllInCollection("up","EQUAL",object.getArrayString())==true
    }
    Decision
    {
        ...
    }
}:1;



String[] getArrayString()
{
return new String[]{"up","up","up"};
}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message