All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.umlg.javageneration.visitor.model.gremlinGroovyPropertyTemplate.ftl Maven / Gradle / Ivy

The newest version!
package org.umlg.gremlin.groovy

import com.tinkerpop.gremlin.groovy.Gremlin
import com.tinkerpop.pipes.Pipe

class UmlgGremlinGroovyGraphPropertyNames {

    public static void definePropertyNames() {
        <#list properties as x>
    Gremlin.addStep("${x.gremlinName}");
        Pipe.metaClass.${x.gremlinName} = {
            return _().property("${x.qualifiedName}");
        }
        
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy