Package org.encuestame.utils.web

Examples of org.encuestame.utils.web.GadgetPropertiesBean


    /**
     * Test {@link GadgetPropertiesBean}.
     */
    @Test
    public void testGadgetPropertiesBean(){
        final GadgetPropertiesBean gadgetProperties = new GadgetPropertiesBean();
        gadgetProperties.setPropertyId(1L);
        gadgetProperties.setGadgetPropName("my gadget");
        gadgetProperties.setGadgetPropValue("");
        gadgetProperties.setGadgetId(1L);
        gadgetProperties.setUserAccount(createUserAccountBean("admin", "admin@encuestame.org"));
        assertNotNull(gadgetProperties);
        assertNotNull(gadgetProperties.getPropertyId());
        assertNotNull(gadgetProperties.getGadgetPropName());
        assertNotNull(gadgetProperties.getGadgetPropValue());
        assertNotNull(gadgetProperties.getGadgetId());
        assertNotNull(gadgetProperties.getUserAccount());
    }
View Full Code Here


     * @param gadgetProp
     * @return
     */
    public static final GadgetPropertiesBean convertGadgetPropertiesDomaintoBean(
            final GadgetProperties gadgetProp) {
        final GadgetPropertiesBean propertiesBean = new GadgetPropertiesBean();
        propertiesBean.setPropertyId(gadgetProp.getPropertyId());
        propertiesBean.setGadgetPropName(gadgetProp.getGadgetPropName());
        propertiesBean.setGadgetPropValue(gadgetProp.getGadgetPropValue());
        // propertiesBean.setUserAccount(gadgetProp.getUserAccount());
        // propertiesBean.setGadget(gadgetProp.getGadget());
        return propertiesBean;
    }
View Full Code Here

TOP

Related Classes of org.encuestame.utils.web.GadgetPropertiesBean

Copyright © 2018 www.massapicom. 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.