yeap.. that would work...  

Thanks!

-
Gary Pinkham
Architect
Component Technology & Architecture Group (CTAG)



"Chad Brandon" <[EMAIL PROTECTED]>

03/08/2005 04:31 PM

       
        To:        <[EMAIL PROTECTED]>, <[email protected]>
        cc:        
        Subject:        RE: [Andromda-user] Java-Cart...Access to ValueObject properties from Service


Are you saying they are one-to-one through an association in your model?  If
so you can just get all associationEnds from the service search through and
find the one that has a type that's a Value Object and then grab the
properties of the value object.  Would that work?

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 2:04 PM
To: [email protected]
Subject: [Andromda-user] Java-Cart...Access to ValueObject properties from
Service


ok I want to use the Java Cartridge to produce some plain old Data Access
Objects (using the Service to define)...   In order to have the DAO contain
the correct SQL statement I need access to the properties of my ValueObject
(it's one to one right now..  I use this to access our Mainframe CICS
system.. Each value object is one to one what's on a CICS screen and in turn
we coded them one for one to a DAO)...

So is there a way to get at the properties from within the Service.vsl (or
ServiceImpl.vsl)????     I had thought about adding in the additional model
element tag in the cartridge xml def.. but that seems like it will give me a
collection of ALL the value objects..  I'm curious if I can get it to
include only the one that is associated with the Service...

Hopefully this all makes sense..
Thanks!
Gary.

-
Gary Pinkham
Architect
Component Technology & Architecture Group (CTAG)
________________________________________
The contents of this email are the property of PNC. If it was not addressed
to you, you have no legal right to read it. If you think you received it in
error, please notify the sender. Do not forward or copy without permission
of the sender.



Reply via email to