Yep, the full class name is expected. The meta model has (as you can tell) a long way to go to become really useful and I see that you're really testing and using this component.
Since we're not working on the meta model at the moment it'd be very nice if you could fix/change/add stuff that doesn't work and supply patches or get commit rights to that component or something like that! Cheers, Mattias 2010/4/6 Niels Hoogeveen <[email protected]> > > Thanks. > > I was trying to use the MetaModel without using the RDF layer, but I see I > end up duplicating a lot of functionality that way. Maybe time to move to > the RDF side of things. > > Kind regards, > Niels Hoogeveen > > > From: [email protected] > > To: [email protected] > > Date: Mon, 5 Apr 2010 12:38:51 -0400 > > Subject: Re: [Neo] DatatypeClassRange usage > > > > In "theory" the isAssignableFrom method on the underlying MetaModel & > Range > > classes should be able to test for a legal/automatic type conversion, but > it > > looks like that code is commented out in the current version of the > > Validator class. In any case, it certainly seems that using the normal > > reference classes for the primitive types should work fine. Nullability > is > > another benefit of using the reference classes. > > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > On > > Behalf Of Niels Hoogeveen > > Sent: Monday, April 05, 2010 8:42 AM > > To: [email protected] > > Subject: Re: [Neo] DatatypeClassRange usage > > > > > > If only reference classes can be added, what are appropriate types. > Should I > > use java.lang.Integer when the underlying property value is and "int" and > > java.lang.Long when using a "long"? > > > > Kind regards, > > Niels Hoogeveen > > > > > From: [email protected] > > > To: [email protected] > > > Date: Sat, 3 Apr 2010 01:52:06 +0200 > > > Subject: [Neo] DatatypeClassRange usage > > > > > > > > > To model the datatype of a property, I tried to use the > > DatatypeClassRange. It seems this object only accepts reference classes, > not > > primitive classes. > > > > > > I would like to state that a certain MetaModelProperty has the datatype > > "int". To do so, I thought I would have to provide the MetaModelProperty > > with a PropertyRange. The DatatypeClassRange seemed the only suitable > > option, but its fromStringRepresentation method loads the class through a > > Class.forName, so class "int", is of course not found, and the load of > the > > PropertyRange results in a ClassNotFoundException. > > > > > > Is this a bug, is this a feature? > > > > > > Kind regards, > > > Niels Hoogeveen > > > > > > > > > _________________________________________________________________ > > > Express yourself instantly with MSN Messenger! Download today it's > FREE! > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > _______________________________________________ > > > Neo mailing list > > > [email protected] > > > https://lists.neo4j.org/mailman/listinfo/user > > > > _________________________________________________________________ > > Express yourself instantly with MSN Messenger! Download today it's FREE! > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > _______________________________________________ > > Neo mailing list > > [email protected] > > https://lists.neo4j.org/mailman/listinfo/user > > > > _______________________________________________ > > Neo mailing list > > [email protected] > > https://lists.neo4j.org/mailman/listinfo/user > > _________________________________________________________________ > New Windows 7: Find the right PC for you. Learn more. > http://windows.microsoft.com/shop > _______________________________________________ > Neo mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [[email protected]] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

