commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Plotnikov <dmi...@apache.org>
Subject Re: [clazz] Type-based or instance-based metadata?
Date Sun, 27 Oct 2002 02:34:26 GMT
The words MetaClass, MetaMethod etc are taken for something else.  By
definition MetaClass is a description of how Classes are represented.  For
example the class Class in the JDK is a metaclass.  MetaMetaClass then is a
description of what a MetaClass is etc.  MOF (CORBA Meta Object Facility)
goes to level 3.

- Dmitri

----- Original Message -----
From: "Berin Loritsch" <bloritsch@apache.org>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Saturday, October 26, 2002 9:46 PM
Subject: Re: [clazz] Type-based or instance-based metadata?


> Adam Murdoch wrote:
> >
> >>-----Original Message-----
> >>From: Stephen Colebourne [mailto:scolebourne@btopenworld.com]
> >>Sent: Sunday, 27 October 2002 9:19 AM
> >>To: Jakarta Commons Developers List
> >>Subject: Re: [clazz] Type-based or instance-based metadata?
> >
> >
> >
> >>>These attributes can be read from the IClass (BTW, I hate prefixed
> >>
> >>interfaces/etc.--
> >>
> >>>interfaces should be your primary type, so if we have any
> >>
> >>idioms put it on
> >>the
> >>
> >>>implementing class).
> >>
> >>The name of the interface could be AClass, with the implementation as
> >>AClassImpl. Not sure if this is better though. IClass and AClass
> >>feels more
> >>'right' (ie. normally I would agree with your no prefix comment Berin)
> >
> >
> > How about ClassInfo? ClassMeta? MetaClass? ClassMetaInfo?
>
>
> I like MetaClass and MetaMethod.
>
> I.e. for all Meta enabled reflection (i.e. attributes) we use the Meta
> prefix.  It makes sense in this sense because we are not following the
> trap of encoding type into the name (avoiding hungarian notation
> conventions).
>
>
> --
>
> "They that give up essential liberty to obtain a little temporary safety
>   deserve neither liberty nor safety."
>                  - Benjamin Franklin
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>
>
>
>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message