public class GraphFactoryImpl extends Object implements IGraphFactory
| Constructor and Description |
|---|
GraphFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Graph<Node,Relation<Node,Node>,Layer<Node,Relation<Node,Node>>> |
createGraph()
|
Identifier |
createIdentifier(IdentifiableElement container,
String id)
Creates a new
Identifier object of type IdentifierImpl. |
Label |
createLabel()
|
Layer<Node,Relation<Node,Node>> |
createLayer()
Creates a new
Layer object. |
Node |
createNode()
|
Relation<Node,Node> |
createRelation()
Creates a new
Relation object of type RelationImpl. |
public Graph<Node,Relation<Node,Node>,Layer<Node,Relation<Node,Node>>> createGraph()
IGraphFactorycreateGraph in interface IGraphFactoryGraph objectpublic Node createNode()
IGraphFactorycreateNode in interface IGraphFactoryNode objectpublic Relation<Node,Node> createRelation()
IGraphFactoryRelation object of type RelationImpl.createRelation in interface IGraphFactoryRelation objectpublic Label createLabel()
IGraphFactoryLabel 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).createLabel in interface IGraphFactoryLabel objectpublic Identifier createIdentifier(IdentifiableElement container, String id)
IGraphFactoryIdentifier object of type IdentifierImpl.
Its IdentifiableElement is set to the passed container and its id
value is set to passed id.createIdentifier in interface IGraphFactorycontainer - IdentifiableElement which contains this
Identifierid - the id value of the IdentifierIdentifier objectpublic Layer<Node,Relation<Node,Node>> createLayer()
IGraphFactoryLayer object. A layer is a kind of a subgraph,
which can contain nodes, relations and other layers.createLayer in interface IGraphFactoryCopyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.