Tabnine Logo
HierarchyNode.setParent
Code IndexAdd Tabnine to your IDE (free)

How to use
setParent
method
in
org.eclipse.persistence.internal.codegen.HierarchyNode

Best Java code snippets using org.eclipse.persistence.internal.codegen.HierarchyNode.setParent (Showing top 3 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

  public static Hashtable buildInheritanceHierarchyTree(Project project) {
    Map descriptors = project.getDescriptors();
    Hashtable hierarchyTree = new Hashtable(descriptors.size());
    for (Iterator descriptorIterator = descriptors.values().iterator();
         descriptorIterator.hasNext();) {
      ClassDescriptor descriptor = (ClassDescriptor)descriptorIterator.next();
      String className = descriptor.getJavaClassName();
      if (className == null) {
        className = descriptor.getJavaClass().getName();
      }
      HierarchyNode node = getNodeForClass(className, hierarchyTree);
      if (descriptor.hasInheritance() && (descriptor.getInheritancePolicy().getParentClassName() != null)) {
        HierarchyNode parentNode = getNodeForClass(descriptor.getInheritancePolicy().getParentClassName(), hierarchyTree);
        node.setParent(parentNode);
      }
    }
    return hierarchyTree;
  }
}
origin: com.haulmont.thirdparty/eclipselink

  public static Hashtable buildInheritanceHierarchyTree(Project project) {
    Map descriptors = project.getDescriptors();
    Hashtable hierarchyTree = new Hashtable(descriptors.size());
    for (Iterator descriptorIterator = descriptors.values().iterator();
         descriptorIterator.hasNext();) {
      ClassDescriptor descriptor = (ClassDescriptor)descriptorIterator.next();
      String className = descriptor.getJavaClassName();
      if (className == null) {
        className = descriptor.getJavaClass().getName();
      }
      HierarchyNode node = getNodeForClass(className, hierarchyTree);
      if (descriptor.hasInheritance() && (descriptor.getInheritancePolicy().getParentClassName() != null)) {
        HierarchyNode parentNode = getNodeForClass(descriptor.getInheritancePolicy().getParentClassName(), hierarchyTree);
        node.setParent(parentNode);
      }
    }
    return hierarchyTree;
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  public static Hashtable buildInheritanceHierarchyTree(Project project) {
    Map descriptors = project.getDescriptors();
    Hashtable hierarchyTree = new Hashtable(descriptors.size());
    for (Iterator descriptorIterator = descriptors.values().iterator();
         descriptorIterator.hasNext();) {
      ClassDescriptor descriptor = (ClassDescriptor)descriptorIterator.next();
      String className = descriptor.getJavaClassName();
      if (className == null) {
        className = descriptor.getJavaClass().getName();
      }
      HierarchyNode node = getNodeForClass(className, hierarchyTree);
      if (descriptor.hasInheritance() && (descriptor.getInheritancePolicy().getParentClassName() != null)) {
        HierarchyNode parentNode = getNodeForClass(descriptor.getInheritancePolicy().getParentClassName(), hierarchyTree);
        node.setParent(parentNode);
      }
    }
    return hierarchyTree;
  }
}
org.eclipse.persistence.internal.codegenHierarchyNodesetParent

Popular methods of HierarchyNode

  • <init>
  • addChild

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now