commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Volle <victor.vo...@gmxpro.net>
Subject Re: [clazz] Naming
Date Tue, 29 Oct 2002 15:04:22 GMT
> >  from:    Victor Volle <victor.volle@gmxpro.net>
> > Do we need Clazz at all?
> > What is the difference between Clazz (Bean) and MetaClass?
> > What is Clazz (Bean) responsible for? 
> 
> In the JDK the parallel is Class vs Object. In [beanutils] the parallel is
> DynaClass vs DynaBean. Its the instantiated object. Thus Class or Clazz is
> a bad name for it. Object, Instance or Bean are better names.

But what is the Instance responsible for? With DynaBeans I understand
that but in this context I still do not understand, what "Instance" 
is responsible for or what the use cases are.

> > Summary:
> > ============================
> > MetaClass, MetaField, MetaOperation
> > ???           Field,        Operation
> > Attribute
> > ============================
> 
> Problem with Field is that it is the same as reflection. I really want to
> avoid that as it will make the API much more complex to use (needing to
> qualify class names)

Oh, agreed. But then it should be (Meta)Attribute and we need
to find some better name for the MetaData stuff. Just brainstorming:

   aspect, dimension, extension, domain, ...

Victor




--
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