Package org.apache.jackrabbit.ocm.testmodel.interfaces

Examples of org.apache.jackrabbit.ocm.testmodel.interfaces.Interface


      ocm.save();

      //---------------------------------------------------------------------------------------------------------
      // Retrieve
      //---------------------------------------------------------------------------------------------------------           
      Interface result =  (Interface) ocm.getObject("/test");
      assertNotNull("Object is null", result);
      anotherDescendant = (AnotherDescendant) result;
     
      assertEquals("Descendant path is invalid", anotherDescendant.getPath(), "/test");
      assertEquals("Descendant ancestorField is invalid", anotherDescendant.getAncestorField(), "ancestorValue");
View Full Code Here


      ocm.save();

      //---------------------------------------------------------------------------------------------------------
      // Retrieve
      //---------------------------------------------------------------------------------------------------------           
      Interface result =  (Interface) ocm.getObject("/test");
      assertNotNull("Object is null", result);
      anotherDescendant = (AnotherDescendant) result;
     
      assertEquals("Descendant path is invalid", anotherDescendant.getPath(), "/test");
      assertEquals("Descendant ancestorField is invalid", anotherDescendant.getAncestorField(), "ancestorValue");
View Full Code Here

      ocm.save();

      //---------------------------------------------------------------------------------------------------------
      // Retrieve
      //---------------------------------------------------------------------------------------------------------           
      Interface result =  (Interface) ocm.getObject("/test");
      assertNotNull("Object is null", result);
      anotherDescendant = (AnotherDescendant) result;
     
      assertEquals("Descendant path is invalid", anotherDescendant.getPath(), "/test");
      assertEquals("Descendant ancestorField is invalid", anotherDescendant.getAncestorField(), "ancestorValue");
View Full Code Here

      ocm.save();

      //---------------------------------------------------------------------------------------------------------
      // Retrieve
      //---------------------------------------------------------------------------------------------------------           
      Interface result =  (Interface) ocm.getObject("/test");
      assertNotNull("Object is null", result);
      anotherDescendant = (AnotherDescendant) result;
     
      assertEquals("Descendant path is invalid", anotherDescendant.getPath(), "/test");
      assertEquals("Descendant ancestorField is invalid", anotherDescendant.getAncestorField(), "ancestorValue");
View Full Code Here

      ocm.save();

      //---------------------------------------------------------------------------------------------------------
      // Retrieve
      //---------------------------------------------------------------------------------------------------------           
      Interface result =  (Interface) ocm.getObject("/test");
      assertNotNull("Object is null", result);
      anotherDescendant = (AnotherDescendant) result;
     
      assertEquals("Descendant path is invalid", anotherDescendant.getPath(), "/test");
      assertEquals("Descendant ancestorField is invalid", anotherDescendant.getAncestorField(), "ancestorValue");
View Full Code Here

      ocm.save();

      //---------------------------------------------------------------------------------------------------------
      // Retrieve
      //---------------------------------------------------------------------------------------------------------           
      Interface result =  (Interface) ocm.getObject("/test");
      assertNotNull("Object is null", result);
      anotherDescendant = (AnotherDescendant) result;
     
      assertEquals("Descendant path is invalid", anotherDescendant.getPath(), "/test");
      assertEquals("Descendant ancestorField is invalid", anotherDescendant.getAncestorField(), "ancestorValue");
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.ocm.testmodel.interfaces.Interface

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.