Tabnine Logo
ClassDefinition.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.persistence.internal.codegen.ClassDefinition
constructor

Best Java code snippets using org.eclipse.persistence.internal.codegen.ClassDefinition.<init> (Showing top 6 results out of 315)

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Return a class definition object representing the code to be generated for the table creator.
 * This class will have one method per descriptor and its toString can be used to convert it to code.
 */
protected ClassDefinition generateCreatorClass() {
  ClassDefinition classDefinition = new ClassDefinition();
  classDefinition.setName(getClassName());
  classDefinition.setSuperClass("org.eclipse.persistence.tools.schemaframework.TableCreator");
  classDefinition.setPackageName(getPackageName());
  classDefinition.addImport("org.eclipse.persistence.sessions.*");
  classDefinition.addImport("org.eclipse.persistence.tools.schemaframework.*");
  classDefinition.setComment("This class was generated by the TopLink table creator generator." + Helper.cr() + "It stores the meta-data (tables) that define the database schema." + Helper.cr() + "@see org.eclipse.persistence.sessions.factories.TableCreatorClassGenerator");
  classDefinition.addMethod(buildConstructor());
  for (Enumeration tablesEnum = getTableCreator().getTableDefinitions().elements();
       tablesEnum.hasMoreElements();) {
    TableDefinition table = (TableDefinition)tablesEnum.nextElement();
    classDefinition.addMethod(buildTableMethod(table));
  }
  return classDefinition;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Return a class definition object representing the code to be generated for the table creator.
 * This class will have one method per descriptor and its toString can be used to convert it to code.
 */
protected ClassDefinition generateCreatorClass() {
  ClassDefinition classDefinition = new ClassDefinition();
  classDefinition.setName(getClassName());
  classDefinition.setSuperClass("org.eclipse.persistence.tools.schemaframework.TableCreator");
  classDefinition.setPackageName(getPackageName());
  classDefinition.addImport("org.eclipse.persistence.sessions.*");
  classDefinition.addImport("org.eclipse.persistence.tools.schemaframework.*");
  classDefinition.setComment("This class was generated by the TopLink table creator generator." + Helper.cr() + "It stores the meta-data (tables) that define the database schema." + Helper.cr() + "@see org.eclipse.persistence.sessions.factories.TableCreatorClassGenerator");
  classDefinition.addMethod(buildConstructor());
  for (TableDefinition table : getTableCreator().getTableDefinitions()) {
    classDefinition.addMethod(buildTableMethod(table));
  }
  return classDefinition;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Return a class definition object representing the code to be generated for the table creator.
 * This class will have one method per descriptor and its toString can be used to convert it to code.
 */
protected ClassDefinition generateCreatorClass() {
  ClassDefinition classDefinition = new ClassDefinition();
  classDefinition.setName(getClassName());
  classDefinition.setSuperClass("org.eclipse.persistence.tools.schemaframework.TableCreator");
  classDefinition.setPackageName(getPackageName());
  classDefinition.addImport("org.eclipse.persistence.sessions.*");
  classDefinition.addImport("org.eclipse.persistence.tools.schemaframework.*");
  classDefinition.setComment("This class was generated by the TopLink table creator generator." + Helper.cr() + "It stores the meta-data (tables) that define the database schema." + Helper.cr() + "@see org.eclipse.persistence.sessions.factories.TableCreatorClassGenerator");
  classDefinition.addMethod(buildConstructor());
  for (TableDefinition table : getTableCreator().getTableDefinitions()) {
    classDefinition.addMethod(buildTableMethod(table));
  }
  return classDefinition;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

computeDescriptorMethodNames();
ClassDefinition classDefinition = new ClassDefinition();
origin: com.haulmont.thirdparty/eclipselink

computeDescriptorMethodNames();
ClassDefinition classDefinition = new ClassDefinition();
origin: org.eclipse.persistence/org.eclipse.persistence.core

computeDescriptorMethodNames();
ClassDefinition classDefinition = new ClassDefinition();
org.eclipse.persistence.internal.codegenClassDefinition<init>

Popular methods of ClassDefinition

  • addImport
    The importStatement should be of the form "{packageName}.{shortName or '*'}"
  • addImports
  • addMethod
  • addTypeNamesToMap
  • adjustTypeName
  • adjustTypeNames
  • getAttributes
  • getImports
  • getInnerClasses
  • getInterfaces
  • getMethods
  • getName
  • getMethods,
  • getName,
  • getPackageName,
  • getSuperClass,
  • getType,
  • isInterface,
  • putTypeNameInMap,
  • replaceInterface,
  • setComment

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JFileChooser (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • 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