Sorry I wasn't thinking when I replied, the constraint is basically
saying that your entities (Label for example) can not have any
attributes that are not of type UML datatype, looking at your model, you
had a class datatype.Long in another datatype package (other than the
one imported from the andromda-profile), once I removed that invalid
Long class from the datatype package, the validation error went away,
because then andromda was able to find the correct datatype.Long ( of
UML datatype) from the andromda-profile.
Chad
Bernard Sirius wrote:
here it is
--- Chad Brandon <[EMAIL PROTECTED]> wrote:
Bernard Sirius wrote:
it *is* an association.
Do U want my model?
Yes, send me your model....that constraint should
only be applied to
attributes.
--- Chad Brandon <[EMAIL PROTECTED]> wrote:
Bernard Sirius wrote:
like I said, it's a reference to another entity
Sorry missed that. How was that even working
before? If you don't have
it as an association, none of the proper
one-to-one,
many-to-one, etc
mappings will be generated.
--- Chad Brandon <[EMAIL PROTECTED]> wrote:
Bernard Sirius wrote:
I just wanted to re-evalute my model using
andromda
RC1-SNAPSHOT, and got the following
(validation)
error(s) (24 or them):
ERROR [AndroMDA:VALIDATION:ERROR] 1)
[Data::fractals.psychos.core::i18n::entity:
:Label]:All attributes on an entity (other than
enumerations) must be of UML Dat
aType.
Note that
fractals.psychos.core::i18n::entity::Label
is an association (reference) to another
entity...
what has changed since approx 1 week?
Nothing, except we're now validating that your
attributes are of type
UML datatype. What kind of model element is
"Data::fractals.psychos.core::i18n::entity::Label"?
bernard
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management
Solutions.
Download our HomeAdmin security software for
free
today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources
site!
http://smallbusiness.yahoo.com/resources/
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
__________________________________
Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.
http://baseball.fantasysports.yahoo.com/
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user