Package | Description |
---|---|
fr.inria.atlanmod.neoemf.data.blueprints.internal.graph |
Provides the dedicated graph structure for storing an EMF model.
|
Modifier and Type | Method and Description |
---|---|
static ElementVertex |
ElementVertex.from(com.tinkerpop.blueprints.Vertex baseVertex,
ModelGraph graph)
Retrieves the
ElementVertex that wraps the baseVertex , or creates a new instance on it. |
ElementVertex |
ContainingEdge.getContainerVertex()
Returns the container vertex of this relation.
|
ElementVertex |
ContainingEdge.getContainmentVertex()
Returns the containment vertex of this relation.
|
ElementVertex |
InstanceOfEdge.getInstanceVertex()
Returns the instance vertex of this relation.
|
ElementVertex |
ModelGraph.getOrCreateVertex(Id id)
Returns the vertex referenced by the provided
id . |
ElementVertex |
ElementEdge.getReferencedVertex()
Returns the referenced vertex of this relation.
|
ElementVertex |
ElementEdge.getReferencingVertex()
Returns the referencing vertex of this relation.
|
Modifier and Type | Method and Description |
---|---|
Iterable<ElementVertex> |
ClassVertex.getAllInstancesOf()
Returns all vertices that are instance of the represented meta-class.
|
Optional<ElementVertex> |
ElementVertex.getReference(FeatureBean feature)
Returns the reference of the
feature . |
Optional<ElementVertex> |
ElementVertex.getReference(FeatureBean feature,
int position)
Returns the reference of the
feature at the defined position . |
Optional<ElementVertex> |
ModelGraph.getVertex(Id id)
Returns the vertex referenced by the provided
id . |
Optional<ElementVertex> |
ElementVertex.replaceReference(FeatureBean feature,
int position,
Id reference)
Replaces the current reference of the
feature at the defined position . |
Optional<ElementVertex> |
ElementVertex.setReference(FeatureBean feature,
Id reference)
Replaces the current reference of the
feature by the specified reference . |
Modifier and Type | Method and Description |
---|---|
protected static InstanceOfEdge |
InstanceOfEdge.create(ModelGraph graph,
ElementVertex instance,
ClassVertex metaClass)
Creates a new
InstanceOfEdge between the instance vertex and its metaClass . |
protected static ElementEdge |
ElementEdge.create(ModelGraph graph,
ElementVertex referencing,
Id referenced,
String label)
Creates a new
ElementEdge between the referencing vertex and its reference. |
protected static ElementEdge |
ElementEdge.create(ModelGraph graph,
ElementVertex referencing,
Id referenced,
String label,
int position)
Creates a new
ElementEdge between the referencing vertex and its positionned reference. |
protected static ContainingEdge |
ContainingEdge.create(ModelGraph graph,
ElementVertex containment,
SingleFeatureBean bean)
Creates a new
ContainingEdge between the containment vertex and its container. |
Copyright © 2013–2019 Atlanmod. All rights reserved.