public class TypeManager extends Object implements TypeResolver, FrameInitializer
| Constructor and Description |
|---|
TypeManager(TypeRegistry typeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
initElement(Class<?> kind,
FramedGraph<?> framedGraph,
com.tinkerpop.blueprints.Element element) |
Class<?>[] |
resolveTypes(com.tinkerpop.blueprints.Edge e,
Class<?> defaultType) |
Class<?>[] |
resolveTypes(com.tinkerpop.blueprints.Vertex v,
Class<?> defaultType) |
public TypeManager(TypeRegistry typeRegistry)
public Class<?>[] resolveTypes(com.tinkerpop.blueprints.Vertex v, Class<?> defaultType)
resolveTypes in interface TypeResolverv - The vertex being framed.defaultType - The default as passed in to the framing method.public Class<?>[] resolveTypes(com.tinkerpop.blueprints.Edge e, Class<?> defaultType)
resolveTypes in interface TypeResolvere - The edge being framed.defaultType - The default as passed in to the framing method.public void initElement(Class<?> kind, FramedGraph<?> framedGraph, com.tinkerpop.blueprints.Element element)
initElement in interface FrameInitializerkind - The kind of frame.framedGraph - The graph.element - The new element that is being inserted into the graph.Copyright © 2011-2014 JBoss by Red Hat. All Rights Reserved.