Return-Path: X-Original-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 099B64D5F for ; Sat, 9 Jul 2011 19:53:31 +0000 (UTC) Received: (qmail 20430 invoked by uid 500); 9 Jul 2011 19:53:30 -0000 Delivered-To: apmail-incubator-isis-dev-archive@incubator.apache.org Received: (qmail 20375 invoked by uid 500); 9 Jul 2011 19:53:30 -0000 Mailing-List: contact isis-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-dev@incubator.apache.org Received: (qmail 20367 invoked by uid 99); 9 Jul 2011 19:53:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2011 19:53:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [130.88.192.208] (HELO t8.cs.man.ac.uk) (130.88.192.208) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2011 19:53:21 +0000 Received: from cpc1-roch5-0-0-cust79.10-1.cable.virginmedia.com ([86.1.128.80] helo=[192.168.1.12]) by sonoft8.cs.man.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1QfdaG-0006lI-DA for isis-dev@incubator.apache.org; Sat, 09 Jul 2011 20:53:00 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Problem with non-support of Collections as arguments. From: Iain Flynn In-Reply-To: <4E189165.32340.111D550@kevin.kmz.co.za> Date: Sat, 9 Jul 2011 20:52:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <88C8E632-51FE-4EB2-B641-B9F33397D058@cs.man.ac.uk> References: <3BDA533E-0173-418D-A3D6-A1F96E6AA884@cs.man.ac.uk>, <40354557-8C71-4BB5-96AE-F0C23386DDDA@googlemail.com>, <4E189165.32340.111D550@kevin.kmz.co.za> To: isis-dev@incubator.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org Hi Kevin, > Sorry if I'm asking you to repeat yourself, but: > I suppose, to take a few steps back, what is your actual application=20= > domain, i.e. an outline of one or two of the classes that you *want* = to=20 > appear in the Isis viewers, and the kind of actions you want to = expose? The application domain is a catalogue of Japanese animation, the = creators and writers/directors of such, as well as characters and the = IPs (Intellectual Properties) they belong to. An example of a domain = entity here would be Series (a kind of Adaptation), with a value for = amount of episodes, along with operations for adding characters to the = series, adding alternative (different language) names for the series, = and so on. > And where does Emfatic fit in? In my mind, I'm imagining something=20 > like a UML tool, where you use a GUI to draw classes and their=20 > properties, then a code-generator produces the actual Java classes. > Now you want to use Isis to manage (create) and render these classes=20= > onto a UI? >=20 I'm using a text editor to define my domain classes, and then feed that = into a code generator to output domain classes which I can ideally slot = right into an Isis project. An example class in EMF would be the = following: class Adaptation { val Title[+] titles; ref IP[1] adaptationOf; op Title addToTitles(Title title); op String title(); } the keyword val indicates that the variable is to be contained within = the object, while ref indicates a pointer (Title and IP are other domain = classes). op defines a method and its name, return type, and parameters. = The [ ] are for multiplicity. > And, to go one step more philosophical, what are actually trying to=20 > achieve with Isis? >=20 > Regards, > Kevin The current objective I would say is to examine the possibility and = practicality of integrating a model-driven software development approach = with the Isis framework in order to enable domain-driven design using = model-generated code that can then use the naked objects framework and = its benefits with Isis. Hope that clears some things up. Thank you again, - Iain.=