General (#1) - OCL and EEList (#29) - Message List

OCL and EEList
 unsolved

I need to retrieve an element from an EEList. I think MDT OCL from Eclipse handles EEList as a sequence, is there any suppurt for this is medini QVT?
Both of
--iCellValue = lPossibleValues->asSequence->at(0)
--iCellValue = lPossibleValues[0]
seems to return EEList, not the elements contained in the list.

top relation solveCell
{
checkonly domain source cell:Cell
{
iCellValue = 0
};
enforce domain target cell:Cell
{
--iCellValue = lPossibleValues->asSequence->at(0)
--iCellValue = lPossibleValues[0]
};
where
{
lPossibleValues->size()=1;
}
}

Am I doing this all wrong or is the EEList not supported?

Ingelin

Tree View Flat View (newer first) Flat View (older first)
  • Message #96

    We are sorry, but the Ecore Datatype EEList is not supported, since it is not a MOF datatype.

Tree View Flat View (newer first) Flat View (older first)

Attachments

No attachments created.