Re: [clazz] Naming

2002-11-01 Thread Stephen Colebourne
From: Steve Downey [EMAIL PROTECTED] snip In fact, if Class wasn't final (and I hate the number of times I've had to say that with Java), Clazz might even be a subtype of Class. As it is, a Clazz which describes a particular class (e.g. org.apache.commons.FooBar) probably has a reference to

Re: [clazz] Naming

2002-10-31 Thread Victor Volle
Steve Steve Downey wrote: Clazz, or whatever, should provide MetaClass facilities. That is, it should be for creating, manipulating, etc Class instances. And, in java, an instance of java.lang.Class is a class. So j.l.Class is a type of MetaClass. Technically a MetaClass is a Class. But

Re: [clazz] Naming

2002-10-31 Thread Steve Downey
On Thursday 31 October 2002 07:37 am, Victor Volle wrote: Steve Steve Downey wrote: Clazz, or whatever, should provide MetaClass facilities. That is, it should be for creating, manipulating, etc Class instances. And, in java, an instance of java.lang.Class is a class. So j.l.Class

Re: [clazz] Naming

2002-10-31 Thread Craig R. McClanahan
On Thu, 31 Oct 2002, Steve Downey wrote: Date: Thu, 31 Oct 2002 16:09:01 -0400 From: Steve Downey [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Subject: Re: [clazz] Naming On Thursday 31 October 2002 07

Re: [clazz] Naming

2002-10-30 Thread Steve Downey
Clazz, or whatever, should provide MetaClass facilities. That is, it should be for creating, manipulating, etc Class instances. And, in java, an instance of java.lang.Class is a class. So j.l.Class is a type of MetaClass. But that shouldn't open the door for naming everything else Meta. A

Re: [clazz] Naming

2002-10-29 Thread scolebourne
from:Victor Volle [EMAIL PROTECTED] 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.

Re: [clazz] Naming

2002-10-29 Thread Victor Volle
from:Victor Volle [EMAIL PROTECTED] 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

Re: [clazz] Naming

2002-10-29 Thread Stephen Colebourne
From: Victor Volle [EMAIL PROTECTED] But why not use 'Property' then the name clash doesn't arise? I would not like to call a Field that has no getters and setters a Property because I think it clashes with the meaning of Property in JavaBeans. A Property by the definition of the interface

RE: [clazz] Naming

2002-10-28 Thread Tim Anderson
Some more alternatives: Meta class names: MetaClass, MetaField, MetaMethod. Instance class names: MetaObject, Field, Method Not attached to any of the above, but Clazz really grates with me :) my 2 bits, Tim From: Stephen Colebourne [mailto:scolebourne;btopenworld.com] Naming is always a

Re: [clazz] Naming

2002-10-28 Thread Dmitri Plotnikov
IMO, we should take some widely used metamodel and apply the naming consistently. Java reflection: Class, Field, Method EJB: Entity, Field, Method UML: Class (clazz), Feature, Attribute, Operation, Association (for relationships) MOF/XMI: same JavaBeans: BeanDescription, FeatureDescriptor,

Re: [clazz] Naming

2002-10-28 Thread Dmitri Plotnikov
(not an instance thereof). - Dmitri - Original Message - From: Tim Anderson [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Monday, October 28, 2002 8:29 PM Subject: RE: [clazz] Naming Some more alternatives: Meta class names: MetaClass, MetaField, MetaMethod

RE: [clazz] Naming

2002-10-28 Thread Tim Anderson
perhaps too vague. Tim -Original Message- From: Dmitri Plotnikov [mailto:dmitri;apache.org] Sent: Tuesday, October 29, 2002 12:32 PM To: Jakarta Commons Developers List Subject: Re: [clazz] Naming I would like to suggest that if we use the prefix meta, we use it in accordance