![JAR search and dependency download from the Maven repository](/logo.png)
org.eroq.plugin.neo4jclient.Neo4jMap Maven / Gradle / Ivy
package org.eroq.plugin.neo4jclient;
import java.util.Map;
/***************************************
* RESULT TYPES
***************************************/
public class Neo4jMap {
protected Map properties;
public Neo4jMap(Map properties) {
this.properties = properties;
}
public Map getProperties() {
return properties;
}
public Object getProperty(String propertyName) {
return properties.get(propertyName);
}
public T getPropertyAs(String propertyName, Class type) {
@SuppressWarnings("unchecked")
T result = (T) getProperty(propertyName);
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy