Defines a common API for handling properties on both {@link Node nodes} and{@link Relationship relationships}.
Properties are key-value pairs. The keys are always strings. Valid property value types are all the Java primitives (int
, byte
, float
, etc), java.lang.String
s and arrays of primitives and Strings.
Please note that Neo4j does NOT accept arbitrary objects as property values. {@link #setProperty(String,Object) setProperty()} takes ajava.lang.Object
only to avoid an explosion of overloaded setProperty()
methods.