[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kuml-devel
Subject: Re: Class Creation and storage using ClassFactory and ClassRepository
From: Jake Fear <fear () dtai ! com>
Date: 1999-11-30 18:21:45
[Download RAW message or body]
Your naming convention looks good. I will begin by modifying the
ClassFactory and ClassRepository to accomodate these changes as they are
ultimately the backend for this storage and recovery mechanism. If
repostiories become needed for objects/associations/etc.. (I'm not sure
they will be needed, the classes and diagrams might be a more
appropriate place for that information) they would be simple to create.
A tree structre will be needed to implement this, and a "Package" class
will need to be written. I will start tonight by writing the Package
class, and possible starting the repository/factory modifications. From
there we will need to create views for these data structures.
Cheers,
Jake
p_george wrote:
>
> Jake Fear wrote:
>
> > You may have noticed some new Classes in CVS, so I thought I would take a
> > moment to state their intention. The ClassFactory will (at some point) become
> > the only way to obtain a Classes object as the Classes constructors will get
> > restricted access. This allows the ClassFactory to ensure that no duplicate
> > class names are used in a given workspace (UML packages still need to be
> > implemented to give this full flexibility). The ClassRepository holds all
> > classes that have been created at any given time, and gives access to those
> > classes with String keys and also via an iterator.
>
> I don't know much about this problem, but a good key string to identify
> an object (not only a class) could be something like
>
> "package_name_n. [...] .package_name_1.name_of_object"
>
> , as even a package may belong to another package.
>
> Maybe a tree structure could be used ?
>
> In fact kuml lacks package support for the moment.
--
|-------------------------------------------------------------------
| Jake Fear
| DTAI, Incorporated - http://www.dtai.com
| mailto:fear@dtai.com
| Office:(619)542-1700 x227 - Fax:(619)542-8675
|-------------------------------------------------------------------
"Men occasionally stumble over the truth, but most of them
pick themselves up and hurry off as if nothing had happened."
-- Winston Churchill
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic