[Neo] Api - setProperties(Map properties) ?

Dan Heaver dan.heaver at peepwl.com
Tue Sep 8 18:25:57 CEST 2009


Obviously thats what I've done :)
I just kinda thought that maybe a constructor that took a Map was the one
thing I might like in an otherwise lovely and simple api...

Dan

On Tue, Sep 8, 2009 at 5:17 PM, Mattias Persson
<mattias at neotechnology.com>wrote:

> I guess there are arguments against adding something like that to the
> API (others will have to chime in with exactly why), but itsn't it
> just as easily accomplished by you writing a public static utility
> method like setMapProperties( PropertyContainer target, Map<String,
> Object> properties )?
>
> 2009/9/8 Dan Heaver <dan.heaver at peepwl.com>:
> > Guys, I've been working with Neo quite a lot of late (as you are aware
> from
> > the amount of bothering you we have been doing...)
> > One thing I keep finding myself doing is writing loops to pull properties
> > out of a Map and add them to a Node.
> >
> > I keep wondering if there isn't an argument for a setProperties(Map
> > properties) method on the PropertyContainer class?
> >
> > Any thoughts?
> >
> > Dan
> > _______________________________________________
> > Neo mailing list
> > User at lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
>
> --
> Mattias Persson, [mattias at neotechnology.com]
> Neo Technology, www.neotechnology.com
> _______________________________________________
> Neo mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>


More information about the User mailing list