[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: Some small Q's
> class is a reserved word in java. It is used to either:
>
> start defining a new class, as in:
>
> class MyClass { }
>
> or to get the java.lang.Class instance for a class. For example:
>
> 'MyClass.class' is a reference to the java.lang.Class instance
> representing MyClass. I guess you can think of this as a typechecked
> version of java.lang.Class.forName("MyClass").
>
> MyClass.class.getName() will return the String "MyClass" (with package
> info if it is not in the default package).
>
> This is standard java (1.1 or later I believe) and not Ozone specific in
> any way.
Ahhh...there is always something new :)
> I don't believe there is any auto-generation of unique keys. If
> you create
> an unnamed object then you must keep a reference to it (technically a
> reference to a proxy for it). If you don't keep a proxy then you
> lose all
> means of accessing (or deleteing!) that object.
But cant you get them using the objectsOfClass()?
Is there any plans to get autoincremented keys?
\Jon