Package org.yaac.server.egql

Examples of org.yaac.server.egql.EntityProperty


  /**
   *
   */
  @Test
  public void testParseEntityProperty() {
    EntityProperty p1 = EGQLUtil.parseEntityProperty("a.b");
   
    assertEquals("a", p1.getEntityName());
    assertEquals("b", p1.getPropertyName());
   
    EntityProperty p2 = EGQLUtil.parseEntityProperty("c");
   
    assertNull(p2.getEntityName());
    assertEquals("c", p2.getPropertyName());
  }
View Full Code Here

TOP

Related Classes of org.yaac.server.egql.EntityProperty

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.