Examples of Pojo


Examples of org.sql2o.reflection.Pojo

        // dot path - long way
        // i'm too lazy now to rewrite this case so I just call old unoptimized code...
        // TODO: rewrite, get rid of POJO class
        return new Getter() {
            public Object getProperty(Object obj) {
                Pojo pojo = new Pojo(metadata, metadata.isCaseSensitive(), obj);
                return pojo.getProperty(propertyPath, quirks);
            }

            public Class getType() {
                // doesn't used anyway
                return Object.class;
View Full Code Here

Examples of org.stjs.generator.writer.inlineObjects.Pojo

public class SpecialMethod18 {
  @SuppressWarnings("unused")
  public void method() {
    Map<String, Object> map = null;
    Pojo p = $object(map);
  }
View Full Code Here

Examples of org.universa.tcc.gemda.entidade.Pojo

    } else if (value.getClass().isArray()) {
      ListDecoratorWrapper<Object> wrapper = new ListDecoratorWrapper<Object>(decoratorClass, (List<Object>) value);
      value = wrapper.toArray();
    } else {
      String decoratorId = SpringContext.getConfigLocators().getDecoratorId(decoratorClass);
      Pojo decorator = (Pojo) SpringContext.getApplicationContext().getBean(decoratorId);
      BeanUtils.copyProperties(value, decorator);
      value = Utils.cglibProxy.criarProxy(decorator, DecoratorPojoAspect.class);
    }
    return value;
  }
View Full Code Here

Examples of railo.runtime.net.rpc.Pojo

            properties.add(new ASMPropertyImpl(clazz,name));
          }
    }
    ASMProperty[] props = properties.toArray(new ASMProperty[properties.size()]);
    String clientClassName=getClientClassName(type);
    Pojo pojo;
    if(pc==null)pojo = (Pojo) ComponentUtil.getClientComponentPropertiesObject(secondChanceConfig,clientClassName,props);
    else pojo = (Pojo) ComponentUtil.getClientComponentPropertiesObject(pc,clientClassName,props);
   
    TypeMappingUtil.registerBeanTypeMapping(tm,
          pojo.getClass(),
            type.getQName());
   
      return pojo.getClass();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.