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