io.vertx.mutiny.ext.web.handler.graphql.schema.VertxPropertyDataFetcher Maven / Gradle / Ivy
package io.vertx.mutiny.ext.web.handler.graphql.schema;
import java.util.Map;
import java.util.stream.Collectors;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import io.smallrye.mutiny.vertx.TypeArg;
import io.vertx.codegen.annotations.Fluent;
import io.smallrye.common.annotation.CheckReturnValue;
import graphql.schema.PropertyDataFetcher;
/**
* Extends so that properties can be read from a .
*
*
* NOTE: This class has been automatically generated from the {@link io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher original} non Mutiny-ified interface using Vert.x codegen.
*/
@io.smallrye.mutiny.vertx.MutinyGen(io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher.class)
public class VertxPropertyDataFetcher {
public static final io.smallrye.mutiny.vertx.TypeArg __TYPE_ARG = new io.smallrye.mutiny.vertx.TypeArg<>( obj -> new VertxPropertyDataFetcher((io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher) obj),
VertxPropertyDataFetcher::getDelegate
);
private final io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher delegate;
public VertxPropertyDataFetcher(io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher delegate) {
this.delegate = delegate;
}
public VertxPropertyDataFetcher(Object delegate) {
this.delegate = (io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher)delegate;
}
/**
* Empty constructor used by CDI, do not use this constructor directly.
**/
VertxPropertyDataFetcher() {
this.delegate = null;
}
public io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher getDelegate() {
return delegate;
}
@Override
public String toString() {
return delegate.toString();
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
VertxPropertyDataFetcher that = (VertxPropertyDataFetcher) o;
return delegate.equals(that.delegate);
}
@Override
public int hashCode() {
return delegate.hashCode();
}
@Deprecated
public static graphql.schema.PropertyDataFetcher create(String propertyName) {
graphql.schema.PropertyDataFetcher ret = io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher.create(propertyName);
return ret;
}
public static VertxPropertyDataFetcher newInstance(io.vertx.ext.web.handler.graphql.schema.VertxPropertyDataFetcher arg) {
return arg != null ? new VertxPropertyDataFetcher(arg) : null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy