angry1980.audio.dao.TrackDAONeo4jImpl Maven / Gradle / Ivy
package angry1980.audio.dao;
import angry1980.audio.model.Neo4jNodeType;
import angry1980.audio.model.Neo4jRelationType;
import angry1980.audio.model.Track;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Node;
import java.util.Collection;
public class TrackDAONeo4jImpl extends Neo4jNode implements TrackDAO{
public static final String PATH_PROPERTY_NAME = "path";
public TrackDAONeo4jImpl(GraphDatabaseService graphDB) {
super(graphDB);
}
@Override
protected Neo4jNodeType getType() {
return Neo4jNodeType.TRACK;
}
@Override
public Collection