public class SchemaFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SchemaFactory.DefaultConcept |
class |
SchemaFactory.DefaultConceptProperty |
class |
SchemaFactory.DefaultRelationship |
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_ENTITY_PNG |
| Constructor and Description |
|---|
SchemaFactory(SchemaRepository schemaRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyContributions(Configuration configuration) |
SchemaFactory |
forNamespace(String namespace) |
Concept |
getConcept(String name) |
Relationship |
getOrCreateRootRelationship() |
Concept |
getOrCreateThingConcept() |
SchemaProperty |
getProperty(String name) |
Relationship |
getRelationship(String name) |
SchemaRepository |
getSchemaRepository() |
SchemaFactory.DefaultConcept |
newConcept() |
SchemaFactory.DefaultConceptProperty |
newConceptProperty() |
SchemaFactory.DefaultRelationship |
newRelationship() |
public static final String RESOURCE_ENTITY_PNG
public SchemaFactory(SchemaRepository schemaRepository)
public Relationship getOrCreateRootRelationship()
public SchemaFactory forNamespace(String namespace)
public Concept getOrCreateThingConcept()
public SchemaFactory.DefaultConcept newConcept()
public SchemaFactory.DefaultRelationship newRelationship()
public SchemaFactory.DefaultConceptProperty newConceptProperty()
public Relationship getRelationship(String name)
public SchemaProperty getProperty(String name)
public void applyContributions(Configuration configuration)
public SchemaRepository getSchemaRepository()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.