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: rick.bullo...@burningskysoftware.com
> To: user@lists.neo4j.org
> 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: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
> Behalf Of Niels Hoogeveen
> Sent: Monday, April 05, 2010 8:42 AM
> To: user@lists.neo4j.org
> 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: pd_aficion...@hotmail.com
> > To: user@lists.neo4j.org
> > 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
> > User@lists.neo4j.org
> > 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
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
> 
> _______________________________________________
> Neo mailing list
> User@lists.neo4j.org
> 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
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to