Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Flock enumerator copy(Flock enumerator copy)
Flock enumerator copy [message #1859314] Tue, 30 May 2023 16:07 Go to next message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
Hi

I have an object

enum RelationType{
    One2One;
    One2Many;
    Many2Many;
}
class Assosiation extends Relationship{
   attr RelationType type;
   attr EBoolean internal;
   attr EBoolean lazy = true;
   val Link[*]  links; 
   attr EString sourceOperation;
   attr EString targetOperation;
}



When I migrate my meta model attribute "type" is null. I am copy emf model to custom model. Is anything specific I have to implement ?


Thanks
Arseniy Isakov

[Updated on: Tue, 30 May 2023 16:22]

Report message to a moderator

Re: Flock enumerator copy [message #1859318 is a reply to message #1859314] Tue, 30 May 2023 19:36 Go to previous message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
My mistake I did not implement
public String getEnumerationTypeOf(Object literal) throws EolNotAnEnumerationValueException {

public String getEnumerationLabelOf(Object literal) throws EolNotAnEnumerationValueException {

methods
Previous Topic:ATL to ETL transformation
Next Topic:Using Epsilon components in RAP
Goto Forum:
  


Current Time: Sat Apr 27 05:45:31 GMT 2024

Powered by FUDForum. Page generated in 0.03350 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top