Examples of usesNodeTypePerConcreteClassStrategy()


Examples of org.apache.jackrabbit.ocm.mapper.model.ClassDescriptor.usesNodeTypePerConcreteClassStrategy()

      assertTrue(
          "Descendant  class doesn't have a node type per hierarchy strategy",
          classDescriptor.usesNodeTypePerHierarchyStrategy());
      assertFalse(
          "Descendant class  have a node type per hierarchy strategy",
          classDescriptor.usesNodeTypePerConcreteClassStrategy());

      classDescriptor = mapper.getClassDescriptorByClass(SubDescendant.class);
      assertNotNull("Classdescriptor is null", classDescriptor);
      assertEquals("Incorrect path field", classDescriptor
          .getPathFieldDescriptor().getFieldName(), "path");
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.