fluent.api.generator.parameters.impl.GenericFixtureInterfaceStaticGenericMethoderImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-api-generator-tests Show documentation
Show all versions of fluent-api-generator-tests Show documentation
Tests for fluent API generator.
They are deployed as maven plugin, which doesn't require the maven project, so they can be executed by anybody
simply by running:
mvn foundation.fluent.api:fluent-api-generator-project:run
package fluent.api.generator.parameters.impl;
import javax.annotation.Generated;
import fluent.api.generator.parameters.GenericFixtureInterfaceStaticGenericMethoder;
@Generated("Generated code using /fluent/api/templates/parameters/implementation.jtwig")
public class GenericFixtureInterfaceStaticGenericMethoderImpl
implements GenericFixtureInterfaceStaticGenericMethoder {
private T input;
private java.lang.String first;
private java.lang.String last;
private int age;
private java.time.ZonedDateTime birth;
private java.util.List list;
@Override
public GenericFixtureInterfaceStaticGenericMethoder input(T value) {
this.input = value;
return this;
}
@Override
public GenericFixtureInterfaceStaticGenericMethoder first(java.lang.String value) {
this.first = value;
return this;
}
@Override
public GenericFixtureInterfaceStaticGenericMethoder last(java.lang.String value) {
this.last = value;
return this;
}
@Override
public GenericFixtureInterfaceStaticGenericMethoder age(int value) {
this.age = value;
return this;
}
@Override
public GenericFixtureInterfaceStaticGenericMethoder birth(java.time.ZonedDateTime value) {
this.birth = value;
return this;
}
@Override
public GenericFixtureInterfaceStaticGenericMethoder list(java.util.List value) {
this.list = value;
return this;
}
@Override
public T staticGenericMethod() {
return fluent.api.generator.parameters.GenericFixtureInterface.staticGenericMethod(input, first, last, age, birth, list);
}
}