Examples of navigateOn()


Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

   */
  @Override
  public boolean matches(Vertex examined) {
    // Navigates to the first target edge and perform test when reached
    VertexPathNavigator navigator = new VertexPathNavigator(strategy, examined);
    VertexLocation destination = navigator.navigateOn(path);
    // null final property indicates object has no value for that property
    if(!destination.isNavigationSuccessfull()) {
      return matchesNull();
    } else {
      return matchesVertex(destination.vertex(), destination.property());
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

      // in such a case, we can directly call the matchesVertex WITH A NULL PROPERTY
      return matchesVertex(examined, null);
    } else {
      // Navigates to the first target edge and perform test when reached
      VertexPathNavigator navigator = new VertexPathNavigator(strategy, driver, examined);
      VertexLocation destination = navigator.navigateOn(path);
      // null final property indicates object has no value for that
      // property
      if (!destination.isNavigationSuccessfull()) {
        return matchesNull();
      } else {
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

      }

      @Override
      public <Type> Type getValue(FieldInformer<Type> propertyDescriptor) {
        VertexPathNavigator navigator = new VertexPathNavigator(service.getStrategy(), input);
        VertexLocation destination = navigator.navigateOn(propertyDescriptor.getFieldPath());

        Vertex destinationVertex = destination.vertex();
        try {
          // There may remain one unevaluated property - in which case it's a literal one
          Property destinationProperty = destination.property();
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

      // in such a case, we can directly call the matchesVertex WITH A NULL PROPERTY
      return matchesVertex(examined, null);
    } else {
      // Navigates to the first target edge and perform test when reached
      VertexPathNavigator navigator = new VertexPathNavigator(strategy, driver, examined);
      VertexLocation destination = navigator.navigateOn(path);
      // null final property indicates object has no value for that
      // property
      if (!destination.isNavigationSuccessfull()) {
        return matchesNull();
      } else {
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

      }

      @Override
      public <Type> Type getValue(FieldInformer<Type> propertyDescriptor) {
        VertexPathNavigator navigator = new VertexPathNavigator(service.getStrategy(), service.getDriver(), input);
        VertexLocation destination = navigator.navigateOn(propertyDescriptor.getFieldPath());

        Vertex destinationVertex = destination.vertex();
        try {
          // There may remain one unevaluated property - in which case it's a literal one
          Property destinationProperty = destination.property();
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

   */
  @Override
  public boolean matches(Vertex examined) {
    // Navigates to the first target edge and perform test when reached
    VertexPathNavigator navigator = new VertexPathNavigator(strategy, examined);
    VertexLocation destination = navigator.navigateOn(path);
    // null final property indicates object has no value for that property
    if(!destination.isNavigationSuccessfull()) {
      return matchesNull();
    } else {
      return matchesVertex(destination.vertex(), destination.property());
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

      }

      @Override
      public <Type> Type getValue(FieldInformer<Type> propertyDescriptor) {
        VertexPathNavigator navigator = new VertexPathNavigator(service.getStrategy(), input);
        VertexLocation destination = navigator.navigateOn(propertyDescriptor.getFieldPath());
        return (Type) service.loadObject(destination.vertex(), cache);
      }

    }
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

      }

      @Override
      public <Type> Type getValue(FieldInformer<Type> propertyDescriptor) {
        VertexPathNavigator navigator = new VertexPathNavigator(service.getStrategy(), input);
        VertexLocation destination = navigator.navigateOn(propertyDescriptor.getFieldPath());
        return (Type) service.loadObject(destination.vertex(), cache);
      }

    }
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.navigateOn()

   */
  @Override
  public boolean matches(Vertex examined) {
    // Navigates to the first target edge and perform test when reached
    VertexPathNavigator navigator = new VertexPathNavigator(strategy, examined);
    VertexLocation destination = navigator.navigateOn(path);
    // null final property indicates object has no value for that property
    if(!destination.isNavigationSuccessfull()) {
      return matchesNull();
    } else {
      return matchesVertex(destination.vertex(), destination.property());
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.