T - the kind of OntologyConcept to generatepublic abstract class AbstractOntologyConceptGenerator<T extends OntologyConcept> extends FromGraphGenerator<T>
OntologyConcepts.| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractOntologyConceptGenerator.Abstract
Specify whether the generated
OntologyConcept should be abstract |
static interface |
AbstractOntologyConceptGenerator.Meta
Specify whether the generated
OntologyConcept should be a meta concept |
FromGraphGenerator.FromGraph| Modifier and Type | Method and Description |
|---|---|
void |
configure(AbstractOntologyConceptGenerator.Abstract includeAbstract) |
void |
configure(AbstractOntologyConceptGenerator.Meta meta) |
protected boolean |
filter(T ontologyConcept) |
protected T |
generateFromGraph() |
protected abstract T |
metaOntologyConcept() |
protected abstract T |
newOntologyConcept(Label label) |
protected Collection<T> |
otherMetaOntologyConcepts() |
configure, generate, genFromGraph, graphgenerateaddComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, canShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, configure, doShrink, gen, hasComponents, narrow, numberOfNeededComponents, provide, shrink, typesprotected final T generateFromGraph()
generateFromGraph in class FromGraphGenerator<T extends OntologyConcept>protected abstract T metaOntologyConcept()
protected Collection<T> otherMetaOntologyConcepts()
protected boolean filter(T ontologyConcept)
public final void configure(AbstractOntologyConceptGenerator.Meta meta)
public final void configure(AbstractOntologyConceptGenerator.Abstract includeAbstract)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.