Examples of UnitLocationTypeBean


Examples of org.encuestame.utils.web.UnitLocationTypeBean

    /**
     * Test {@link UnitLocationTypeBean}.
     */
    @Test
    public void testUnitLocationTypeBean(){
        final UnitLocationTypeBean typeBean = new UnitLocationTypeBean();
        typeBean.setIdLocType(1L);
        typeBean.setLevel(1);
        typeBean.setLocTypeDesc("test");
        assertNotNull(typeBean.getLocTypeDesc());
        assertNotNull(typeBean.getLevel());
        assertNotNull(typeBean.getIdLocType());
    }
View Full Code Here

Examples of org.encuestame.utils.web.UnitLocationTypeBean

     * @return {@link UnitLocationTypeBean}
     */
    public UnitLocationTypeBean createLocationTypeBean(
            final String locationName,
            final Integer level){
        final UnitLocationTypeBean locationTypeBean = new  UnitLocationTypeBean();
        locationTypeBean.setIdLocType(null);
        locationTypeBean.setLevel(level);
        locationTypeBean.setLocTypeDesc(locationName);
        return locationTypeBean;
    }
View Full Code Here

Examples of org.encuestame.utils.web.UnitLocationTypeBean

     *            {@link GeoPointType}.
     * @return {@link UnitLocationTypeBean}
     */
    public static final UnitLocationTypeBean convertLocationTypeToBean(
            final GeoPointType locationType) {
        final UnitLocationTypeBean locationTypeBean = new UnitLocationTypeBean();
        locationTypeBean.setIdLocType(locationType.getLocationTypeId());
        locationTypeBean.setLocTypeDesc(locationType
                .getLocationTypeDescription());
        locationTypeBean.setLevel(locationType.getLocationTypeLevel());
        return locationTypeBean;
    }
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.