Tabnine Logo
InterfacePolicy.isInterfaceChildDescriptor
Code IndexAdd Tabnine to your IDE (free)

How to use
isInterfaceChildDescriptor
method
in
org.eclipse.persistence.descriptors.InterfacePolicy

Best Java code snippets using org.eclipse.persistence.descriptors.InterfacePolicy.isInterfaceChildDescriptor (Showing top 6 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

protected void addInterfaceLines(NonreflectiveMethodDefinition method, InterfacePolicy policy) {
  method.addLine("// Interface Properties.");
  if (policy.isInterfaceChildDescriptor()) {
    for (Iterator<String> interfacesEnum = policy.getParentInterfaceNames().iterator();
         interfacesEnum.hasNext();) {
      String parentInterfaceName = interfacesEnum.next();
      method.addLine("descriptor.getInterfacePolicy().addParentInterface(" + parentInterfaceName + ".class);");
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

protected void addInterfaceLines(NonreflectiveMethodDefinition method, InterfacePolicy policy) {
  method.addLine("// Interface Properties.");
  if (policy.isInterfaceChildDescriptor()) {
    for (Iterator<String> interfacesEnum = policy.getParentInterfaceNames().iterator();
         interfacesEnum.hasNext();) {
      String parentInterfaceName = interfacesEnum.next();
      method.addLine("descriptor.getInterfacePolicy().addParentInterface(" + parentInterfaceName + ".class);");
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return if the descriptor defines inheritance and is a child.
 */
public boolean isInterfaceChildDescriptor() {
  return hasInterfacePolicy() && getInterfacePolicy().isInterfaceChildDescriptor();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected void addInterfaceLines(NonreflectiveMethodDefinition method, InterfacePolicy policy) {
  method.addLine("// Interface Properties.");
  if (policy.isInterfaceChildDescriptor()) {
    for (Enumeration interfacesEnum = policy.getParentInterfaceNames().elements();
         interfacesEnum.hasMoreElements();) {
      String parentInterfaceName = (String)interfacesEnum.nextElement();
      method.addLine("descriptor.getInterfacePolicy().addParentInterface(" + parentInterfaceName + ".class);");
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return if the descriptor defines inheritance and is a child.
 */
public boolean isInterfaceChildDescriptor() {
  return hasInterfacePolicy() && getInterfacePolicy().isInterfaceChildDescriptor();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Return if the descriptor defines inheritance and is a child.
 */
public boolean isInterfaceChildDescriptor() {
  return hasInterfacePolicy() && getInterfacePolicy().isInterfaceChildDescriptor();
}
org.eclipse.persistence.descriptorsInterfacePolicyisInterfaceChildDescriptor

Javadoc

INTERNAL: Check if it is a child descriptor.

Popular methods of InterfacePolicy

  • <init>
    INTERNAL: Create a new policy. Only descriptor involved in interface should have a policy.
  • addChildDescriptor
    INTERNAL: Add child descriptor to the parent descriptor.
  • addParentDescriptor
    INTERNAL: Add parent descriptor.
  • convertClassNamesToClasses
    INTERNAL: Convert all the class-name-based settings in this InheritancePolicy to actual class-based
  • getChildDescriptors
    INTERNAL: Return all the child descriptors.
  • getImplementorDescriptor
    INTERNAL: Returns the implementor descriptor class.
  • getParentDescriptors
    INTERNAL: Return all the parent descriptors.
  • getParentInterfaceNames
  • getParentInterfaces
    INTERNAL: Return the vector of parent interfaces.
  • initialize
    INTERNAL: Set the vector to store parent interfaces.
  • isTablePerClassPolicy
    INTERNAL:
  • selectAllObjects
    INTERNAL: Select all objects for a concrete descriptor.
  • isTablePerClassPolicy,
  • selectAllObjects,
  • selectAllObjectsUsingMultipleTableSubclassRead,
  • selectOneObject,
  • selectOneObjectUsingMultipleTableSubclassRead,
  • setDescriptor,
  • usesImplementorDescriptor,
  • prepareQuery,
  • addParentInterfaceName

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • onCreateOptionsMenu (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • From CI to AI: The AI layer in your organization
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