Hey Wouter,

I guess you missed the email thread a couple weeks ago, where a couple other
people asked about that as well.  That's currently not available (all
methods modeled on the entity go on the DAO currently), however I'm planning
on adding it this week (today most likely).

Chad

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter
Zoons
Sent: Monday, December 13, 2004 6:43 AM
To: [EMAIL PROTECTED]
Subject: [Andromda-devel] custom operations on Spring enities

hi Chad,

I was modeling a normal (= no stereotypes) operation on a Spring
<<Entity>>, I wanted to executed some of my own code.

I have an entity called "Certificate" with attributes "startDate" and
"endDate", I wanted to add an operation "isValid" that will verify whether
or not the current date is between the values of those two attributes

The problem I have is that the operation is generated as a method into
"CertificateDaoImpl", you know, where all the finders go .. I don't have
access to any certificate instance there unless I pass it in as an
argument, and I don't want to do that.

With the hibernate cartridge this method would be generated onto the
CertificateImpl class, which can be implementated manually, what is the
equivalent for the spring cartridge ?

-- Wouter



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to