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