Package org.springframework.data.neo4j.annotation

Examples of org.springframework.data.neo4j.annotation.GraphTraversal.params()


        public TraversalFieldAccessor(final Neo4JPersistentProperty property) {
          this.property = property;
            final GraphTraversal graphEntityTraversal = property.getAnnotation(GraphTraversal.class);
          this.target = resolveTarget(graphEntityTraversal,property);
            this.params = graphEntityTraversal.params();
            this.fieldTraversalDescriptionBuilder = createTraversalDescription(graphEntityTraversal);
      }

        private Class<?> resolveTarget(GraphTraversal graphTraversal, Neo4JPersistentProperty property) {
            if (!graphTraversal.elementClass().equals(NodeBacked.class)) return graphTraversal.elementClass();
View Full Code Here


        public TraversalFieldAccessor(final Neo4jPersistentProperty property, Neo4jTemplate template) {
          this.property = property;
            this.template = template;
            final GraphTraversal graphEntityTraversal = property.findAnnotation(GraphTraversal.class);
          this.target = resolveTarget(graphEntityTraversal,property);
            this.params = graphEntityTraversal.params();
            this.fieldTraversalDescriptionBuilder = createTraversalDescription(graphEntityTraversal);
      }

        private Class<?> resolveTarget(GraphTraversal graphTraversal, Neo4jPersistentProperty property) {
            if (!graphTraversal.elementClass().equals(Object.class)) return graphTraversal.elementClass();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.