Examples of IPObjectService


Examples of org.jresearch.flexess.core.services.IPObjectService

public class PObject4Test extends BaseMetaTest {

  @Test
  public void testGetPObjects() throws Exception {
    IPObjectService poService = getPObjectService();
    IPObjectMetaInfo po = poService.getPObject("com.jresearchsoft.flexess.examples.orders", "_ZAre0MjIEduYy46rNYWNIw"); //$NON-NLS-1$ //$NON-NLS-2$
    IPObjectMetaInfo po2 = poService.findPObject("com.jresearchsoft.flexess.examples.orders", "com.jresearchsoft.uam.testapp.beans.order.Order"); //$NON-NLS-1$ //$NON-NLS-2$
    assertNotNull(po);
    assertNotNull(po2);
    assertEquals(po.getModelId(), "com.jresearchsoft.flexess.examples.orders"); //$NON-NLS-1$
    assertEquals(po.getClassName(), "com.jresearchsoft.uam.testapp.beans.order.Order"); //$NON-NLS-1$
    assertEquals(po.getMapperName(), "com.jresearchsoft.uam.client.mappers.impl.JavaInstanceMapperId"); //$NON-NLS-1$
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.