Marko,

>>  v.property(single,"name","marko")

But with multi-properties, would this not just mean add another single
value for name="marko"?  We just established earlier in the conversation
that you can have multiple single-valued properties, and that these
multi-properties can even be the same value.

Thanks,
Mike


Hi,

If you are replacing a property its:

v.property("name").remove()
v.property("name","marko")

Or, check this (and this is the general answer to your question):

v.property(single,"name","marko")

There is Cardinality.single, Cardinality.set, and Cardinality.list.

Check out Features.getCardinality(String) too.

Get it?,
Marko.

http://markorodriguez.com

Reply via email to