@ParametersAreNonnullByDefault public class InstanceOfEdge extends IdEdge<ModelGraph>
Edge representing the relation between an element and its meta-class.| Modifier and Type | Field and Description | 
|---|---|
| protected static String | LABELThe label of this edge. | 
propertyBasedgraphbase| Modifier and Type | Method and Description | 
|---|---|
| protected static InstanceOfEdge | create(ModelGraph graph,
      ElementVertex instance,
      ClassVertex metaClass)Creates a new  InstanceOfEdgebetween theinstancevertex and itsmetaClass. | 
| static InstanceOfEdge | from(com.tinkerpop.blueprints.Edge baseEdge,
    ModelGraph graph)Creates a new instance of  InstanceOfEdgeon thebaseEdge. | 
| ClassVertex | getClassVertex()Returns the meta-class vertex of this relation. | 
| ElementVertex | getInstanceVertex()Returns the instance vertex of this relation. | 
getLabel, getVertex, getVertex, remove, toStringequals, getId, getProperty, getPropertyKeys, hashCode, removeProperty, setPropertygetBaseElementprotected static final String LABEL
@Nonnull public static InstanceOfEdge from(com.tinkerpop.blueprints.Edge baseEdge, ModelGraph graph)
InstanceOfEdge on the baseEdge.baseEdge - the base edgegraph - the graph that owns the edge@Nonnull protected static InstanceOfEdge create(ModelGraph graph, ElementVertex instance, ClassVertex metaClass)
InstanceOfEdge between the instance vertex and its metaClass.graph - the graph that owns the edgeinstance - the instance vertexmetaClass - the meta-class vertex@Nonnull public ClassVertex getClassVertex()
@Nonnull public ElementVertex getInstanceVertex()
Copyright © 2013–2019 Atlanmod. All rights reserved.