public final <T extends BeanElement> T wrap(Element element, Class<T> beanClass) { return beans.wrap(element, beanClass, this); }
public final <T extends BeanVertex> T createVertex(Class<T> beanClass) { Vertex vertex = graph.addVertex(null); return beans.wrap(vertex, beanClass, this); }
public final <T extends BeanElement> T wrap(@Nullable Element element, Class<T> beanClass) { return element != null ? beans.wrap(element, beanClass, this) : null; }