Package au.com.motodetail.poi.entity

Examples of au.com.motodetail.poi.entity.TestEntity


        }
    }

    public void DebugAddTestEntity()
    {
        TestEntity testEntity = new TestEntity();

        //set local attributes
        testEntity.setMsg(BaseUtil.GenerateRandomString(10));

        //type relationship .. get it from DB
        try
        {
            List<BasicEntityType> basicEntityType = basicEntityTypeService.getAll();
            for(BasicEntityType bet:basicEntityType)
            {
                if(bet.getType() == EntityType.TEST)
                {
                    testEntity.setEntityType(bet);
                    testEntityService.create(testEntity);
                    break;
                }
            }
        }
View Full Code Here

TOP

Related Classes of au.com.motodetail.poi.entity.TestEntity

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.