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

com.dooapp.gaedo.blueprints.queries.tests.ContainsString Maven / Gradle / Ivy

package com.dooapp.gaedo.blueprints.queries.tests;

import com.dooapp.gaedo.blueprints.GraphDatabaseDriver;
import com.dooapp.gaedo.blueprints.strategies.GraphMappingStrategy;
import com.dooapp.gaedo.blueprints.transformers.Literals;
import com.dooapp.gaedo.properties.Property;
import com.tinkerpop.blueprints.Vertex;

public class ContainsString extends AbstractStringVertexTest implements VertexTest {

	public ContainsString(GraphMappingStrategy strategy, GraphDatabaseDriver driver, Iterable p, String value) {
		super(strategy, driver, p, value);
	}

	@Override
	public void accept(VertexTestVisitor visitor) {
		visitor.visit(this);
	}

	@Override
	protected boolean testString(String searched, String expected) {
		return searched.contains(expected);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy