public class GraphFactory extends Object
| Constructor and Description |
|---|
GraphFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Graph<Node,Relation<Node,Node>,Layer<Node,Relation<Node,Node>>> |
createGraph()
|
static Identifier |
createIdentifier(IdentifiableElement container,
String id)
Creates a new
Identifier object of type IdentifierImpl. |
static Label |
createLabel()
|
static Layer<Node,Relation<Node,Node>> |
createLayer()
Creates a new
Layer object. |
static Node |
createNode()
|
static Relation<Node,Node> |
createRelation()
Creates a new
Relation object of type RelationImpl. |
public static Graph<Node,Relation<Node,Node>,Layer<Node,Relation<Node,Node>>> createGraph()
Graph objectpublic static Relation<Node,Node> createRelation()
Relation object of type RelationImpl.Relation objectpublic static Label createLabel()
Label object of type LabelImpl. The value
of this label is defined to be of type String. To use another
value type, use one of the other create methods createLabelXXX() or the
generic method #createLabel(Class).Label objectpublic static Identifier createIdentifier(IdentifiableElement container, String id)
Identifier object of type IdentifierImpl.
Its IdentifiableElement is set to the passed container and its id
value is set to passed id.container - IdentifiableElement which contains this
Identifierid - the id value of the IdentifierIdentifier objectCopyright © 2009–2016 Humboldt-Universität zu Berlin, INRIA. All rights reserved.