Examples of loadSingleLiteral()


Examples of com.dooapp.gaedo.blueprints.operations.Loader.loadSingleLiteral()

   * @return
   */
  protected ValueType getLiteralValue(Vertex currentVertex, Property finalProperty) {
    Loader loader = new Loader();
    ClassLoader classLoader = expected==null ? expected.getClass().getClassLoader() : getClass().getClassLoader();
    return (ValueType) loader.loadSingleLiteral(classLoader, finalProperty, currentVertex, objectsBeingAccessed);
  }
}
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.operations.Loader.loadSingleLiteral()

   * @return
   */
  protected ValueType getLiteralValue(Vertex currentVertex, Property finalProperty) {
    Loader loader = new Loader();
    ClassLoader classLoader = expected == null ? expected.getClass().getClassLoader() : getClass().getClassLoader();
    return (ValueType) loader.loadSingleLiteral(classLoader, finalProperty, currentVertex, objectsBeingAccessed);
  }

  /**
   * @return the expected
   * @category getter
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.operations.Loader.loadSingleLiteral()

        try {
          // There may remain one unevaluated property - in which case it's a literal one
          Property destinationProperty = destination.property();
          Loader loader = new Loader();
          if(loader.hasLiteralProperty(destinationProperty, destinationVertex)) {
            return (Type) loader.loadSingleLiteral(getClass().getClassLoader(), destinationProperty, destinationVertex, cache);
          }
        } catch(EmptyStackException e) {

        }
        return (Type) service.loadObject(destinationVertex, cache);
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.operations.Loader.loadSingleLiteral()

            currentVertex = edges.next().getVertex(com.tinkerpop.blueprints.Direction.IN);
          } else {
            // maybe it's a literal value (valid only when on last property, but this is
            // theoretically guaranteed by informers)
            if(loader.hasLiteralProperty(currentProperty, currentVertex)) {
              value = loader.loadSingleLiteral(getClass().getClassLoader(), currentProperty, currentVertex, new ObjectCache());
            } else {
              // but, if not, well, consider result as a failure
              currentVertex = null;
            }
          }
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.operations.Loader.loadSingleLiteral()

   * @return
   */
  protected ValueType getLiteralValue(Vertex currentVertex, Property finalProperty) {
    Loader loader = new Loader();
    ClassLoader classLoader = expected == null ? expected.getClass().getClassLoader() : getClass().getClassLoader();
    return (ValueType) loader.loadSingleLiteral(classLoader, finalProperty, currentVertex, objectsBeingAccessed);
  }
}
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.operations.Loader.loadSingleLiteral()

        try {
          // There may remain one unevaluated property - in which case it's a literal one
          Property destinationProperty = destination.property();
          Loader loader = new Loader();
          if(loader.hasLiteralProperty(destinationProperty, destinationVertex)) {
            return (Type) loader.loadSingleLiteral(getClass().getClassLoader(), destinationProperty, destinationVertex, cache);
          }
        } catch(EmptyStackException e) {

        }
        return (Type) service.loadObject(destinationVertex, cache);
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.operations.Loader.loadSingleLiteral()

   * @return
   */
  protected ValueType getLiteralValue(Vertex currentVertex, Property finalProperty) {
    Loader loader = new Loader();
    ClassLoader classLoader = expected==null ? expected.getClass().getClassLoader() : getClass().getClassLoader();
    return (ValueType) loader.loadSingleLiteral(classLoader, finalProperty, currentVertex, objectsBeingAccessed);
  }
}
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.