T - the type of thing to generatepublic abstract class FromTxGenerator<T> extends AbstractGenerator<T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
FromTxGenerator.FromTx
Specify that the generated objects should be from the
GraknTx generated in a previous parameter |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(FromTxGenerator.FromTx fromTx) |
protected T |
generate() |
protected abstract T |
generateFromTx() |
protected <S extends FromTxGenerator<?>> |
genFromTx(Class<S> generatorClass) |
protected ai.grakn.GraknTx |
tx() |
generate, listOf, setOfaddComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, canShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, configure, doShrink, gen, hasComponents, narrow, numberOfNeededComponents, provide, shrink, typesprotected final ai.grakn.GraknTx tx()
protected final T generate()
generate in class AbstractGenerator<T>protected abstract T generateFromTx()
protected final <S extends FromTxGenerator<?>> S genFromTx(Class<S> generatorClass)
public final void configure(FromTxGenerator.FromTx fromTx)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.