org.neo4j.server.rest.domain
Class PropertySettingStrategy
java.lang.Object
org.neo4j.server.rest.domain.PropertySettingStrategy
public class PropertySettingStrategy
- extends Object
Responsible for setting properties on primitive types.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertySettingStrategy
public PropertySettingStrategy(org.neo4j.kernel.GraphDatabaseAPI db)
setAllProperties
public void setAllProperties(org.neo4j.graphdb.PropertyContainer entity,
Map<String,Object> properties)
throws PropertyValueException
- Set all properties on an entity, deleting any properties that existed on the entity but not in the
provided map.
- Parameters:
entity - properties -
- Throws:
PropertyValueException
setProperties
public void setProperties(org.neo4j.graphdb.PropertyContainer entity,
Map<String,Object> properties)
throws PropertyValueException
- Throws:
PropertyValueException
setProperty
public void setProperty(org.neo4j.graphdb.PropertyContainer entity,
String key,
Object value)
throws PropertyValueException
- Throws:
PropertyValueException
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.