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