[gme-users] Error in meta-model when interpreting: "Details of
the 2nd role following: Not Inherited Role, Not Long form,
Is Not Port, Cardinality: 0..*"
zolmol at isis.vanderbilt.edu
Tue Sep 11 12:56:22 CDT 2007
Generally this error happens when people specify a model to contain an
abstract class, and then specify by accident another containment,
between the model and one of the derived classes (from the abstact one),
thus duplicating, specifying twice the containment of a part. That is
how role duplication occurs.
I can't see this scenario happening in your case (based on the picture),
but make sure that you don't have any containment specified between
'FunctionBlock' and 'InputInterface' (on other paradigmsheets), or any
other base class (if any) of 'RateParameter'. Until you find the mistake
(if any), it is good to know that you are safe (the metainterpreter
found the duplication and removed it).
> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> Of MA Fortes Da Cruz
> Sent: Tuesday, September 11, 2007 11:07 AM
> To: gme-users
> Subject: [gme-users] Error in meta-model when interpreting:
> "Details of the 2nd role following: Not Inherited Role, Not
> Long form, Is Not Port, Cardinality: 0..*"
> Hello Zoltan,
> Could you explain what this error means as I have checked
> several times the
> roles of my <<Model>> named FunctionBlock which is connected to three
> inputs and one output and besides functionblocks can be connected in
> sequence say fb1-->fb2 where output of fb1 can be input1, 2
> or 3 of fb2.
> Here is the msg I get:
> "Duplicate role line found:
> RateParameter of kind RateParameter in model FunctionBlock.
> Details of the
> 2nd role following: Not Inherited Role, Not Long form, Is Not Port,
> Cardinality: 0..* Not dumping twice.
> Please check the metamodel for duplicate rolesMany Thanks."
> MA Fortes Da Cruz
> cemafdc at bristol.ac.uk
More information about the gme-users