public class TypeRegistry extends Object
FramedGraph. With a TypeRegistry the FramedGraph is able to store type-information on edges,
and use stored type-information to construct vertices/edges based on type-information stored in the graph (runtime).TypeField,
TypeValue,
FramedGraph| Constructor and Description |
|---|
TypeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
TypeRegistry |
add(Class<?> type) |
Class<?> |
getType(Class<?> typeHoldingTypeField,
String typeValue) |
Class<?> |
getTypeHoldingTypeField(Class<?> type) |
public Class<?> getTypeHoldingTypeField(Class<?> type)
TypeField annotation for this class. (Either the class itself, or a base class if the class was registered).public Class<?> getType(Class<?> typeHoldingTypeField, String typeValue)
typeHoldingTypeField - The type that has the TypeField annotation for the Proxy class to be constructed.typeValue - The actual persisted value for a type field on an Element in the graphpublic TypeRegistry add(Class<?> type)
Copyright © 2011–2018 JBoss by Red Hat. All rights reserved.