T - the kind of SchemaConcept to generatepublic abstract class AbstractSchemaConceptGenerator<T extends ai.grakn.concept.SchemaConcept> extends FromTxGenerator<T>
SchemaConcepts.| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractSchemaConceptGenerator.Meta
Specify whether the generated
SchemaConcept should be a meta concept |
static interface |
AbstractSchemaConceptGenerator.NonMeta
Specify whether the generated
SchemaConcept should not be a meta concept |
FromTxGenerator.FromTx| Modifier and Type | Method and Description |
|---|---|
void |
configure(AbstractSchemaConceptGenerator.Meta meta) |
void |
configure(AbstractSchemaConceptGenerator.NonMeta nonMeta) |
protected boolean |
filter(T schemaConcept) |
protected T |
generateFromTx() |
protected abstract T |
metaSchemaConcept() |
protected abstract T |
newSchemaConcept(ai.grakn.concept.Label label) |
protected Collection<T> |
otherMetaSchemaConcepts() |
configure, generate, genFromTx, txgenerate, listOf, setOfaddComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, canShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, configure, doShrink, gen, hasComponents, narrow, numberOfNeededComponents, provide, shrink, typesprotected final T generateFromTx()
generateFromTx in class FromTxGenerator<T extends ai.grakn.concept.SchemaConcept>protected abstract T newSchemaConcept(ai.grakn.concept.Label label)
protected abstract T metaSchemaConcept()
protected Collection<T> otherMetaSchemaConcepts()
protected boolean filter(T schemaConcept)
public final void configure(AbstractSchemaConceptGenerator.Meta meta)
public final void configure(AbstractSchemaConceptGenerator.NonMeta nonMeta)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.