public class SchemaFactory.DefaultRelationship extends Object
| Constructor and Description |
|---|
DefaultRelationship() |
| Modifier and Type | Method and Description |
|---|---|
SchemaFactory.DefaultRelationship |
coreConcept(boolean coreConcept) |
SchemaFactory.DefaultRelationship |
intents(String... intents) |
SchemaFactory.DefaultRelationship |
inverseOf(Relationship inverseOf) |
SchemaFactory.DefaultRelationship |
label(String label) |
SchemaFactory.DefaultRelationship |
parent(Relationship parentRelationship) |
SchemaFactory.DefaultRelationship |
property(String name,
Value value) |
Relationship |
save() |
SchemaFactory.DefaultRelationship |
source(Concept... sourceConcepts) |
SchemaFactory.DefaultRelationship |
target(Concept... targetConcepts) |
public SchemaFactory.DefaultRelationship parent(Relationship parentRelationship)
public SchemaFactory.DefaultRelationship label(String label)
public SchemaFactory.DefaultRelationship source(Concept... sourceConcepts)
public SchemaFactory.DefaultRelationship target(Concept... targetConcepts)
public SchemaFactory.DefaultRelationship property(String name, Value value)
public SchemaFactory.DefaultRelationship intents(String... intents)
public SchemaFactory.DefaultRelationship inverseOf(Relationship inverseOf)
public SchemaFactory.DefaultRelationship coreConcept(boolean coreConcept)
public Relationship save()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.