Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Set an attribute to each memer of a collection in action exp

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> borland.public.delphi.modeldrivenarchitecture.eco
View previous topic :: View next topic  
Author Message
richwunder



Joined: 17 Jul 2007
Posts: 2

PostPosted: Wed Oct 10, 2007 11:01 am    Post subject: Set an attribute to each memer of a collection in action exp Reply with quote

Is it possible, With OCL/EAL to set an attribute in each object at the multi
end of an association

clMeeting -[0..1]--------------------------[attendies 0..*]-- clPerson

Set a boolean attibute scheduled for each attendie

TIA
Rich.
Back to top
View user's profile Send private message
Jan Norden (ECO group]
Guest





PostPosted: Wed Oct 10, 2007 3:32 pm    Post subject: Re: Set an attribute to each memer of a collection in action Reply with quote

Rich Wunderlich wrote:

Quote:
Is it possible, With OCL/EAL to set an attribute in each object at
the multi end of an association

clMeeting -[0..1]--------------------------[attendies 0..*]-- clPerson

Set a boolean attibute scheduled for each attendie

TIA
Rich.

an>Asociation->collect(e|e.booAttr:=true)

should work.

It will alse return a Collection(Boolean) that are all true, but you
can ignore than

--
Jan Norden, ECO Architect
CapableObjects AB
http://www.capableobjects.com
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> borland.public.delphi.modeldrivenarchitecture.eco All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group