Codota Logo
WrapperPolicy.setDescriptor
Code IndexAdd Codota to your IDE (free)

How to use
setDescriptor
method
in
org.eclipse.persistence.descriptors.WrapperPolicy

Best Java code snippets using org.eclipse.persistence.descriptors.WrapperPolicy.setDescriptor (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * ADVANCED:
 * Sets the WrapperPolicy for this descriptor.
 * This advanced feature can be used to wrap objects with other classes such as CORBA TIE objects or EJBs.
 */
public void setWrapperPolicy(WrapperPolicy wrapperPolicy) {
  this.wrapperPolicy = wrapperPolicy;
  // For bug 2766379 must be able to set the wrapper policy back to default
  // which is null.
  if (wrapperPolicy != null) {
    wrapperPolicy.setDescriptor(this);
  }
  getObjectBuilder().setHasWrapperPolicy(wrapperPolicy != null);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * ADVANCED:
 * Sets the WrapperPolicy for this descriptor.
 * This advanced feature can be used to wrap objects with other classes such as CORBA TIE objects or EJBs.
 */
public void setWrapperPolicy(WrapperPolicy wrapperPolicy) {
  this.wrapperPolicy = wrapperPolicy;
  // For bug 2766379 must be able to set the wrapper policy back to default
  // which is null.
  if (wrapperPolicy != null) {
    wrapperPolicy.setDescriptor(this);
  }
  getObjectBuilder().setHasWrapperPolicy(wrapperPolicy != null);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * ADVANCED:
 * Sets the WrapperPolicy for this descriptor.
 * This advanced feature can be used to wrap objects with other classes such as CORBA TIE objects or EJBs.
 */
public void setWrapperPolicy(WrapperPolicy wrapperPolicy) {
  this.wrapperPolicy = wrapperPolicy;
  // For bug 2766379 must be able to set the wrapper policy back to default
  // which is null.
  if (wrapperPolicy != null) {
    wrapperPolicy.setDescriptor(this);
  }
  getObjectBuilder().setHasWrapperPolicy(wrapperPolicy != null);
}
org.eclipse.persistence.descriptorsWrapperPolicysetDescriptor

Javadoc

PUBLIC: Required: Set the descriptor.

Popular methods of WrapperPolicy

  • initialize
    PUBLIC: Required: Lets the policy perform initialization.
  • isWrapped
    PUBLIC: Required: Return true if the object is already wrapped.
  • unwrapObject
    PUBLIC: Required: Unwrap the object to return the implementation that is meant to be used by Eclipse
  • wrapObject
    PUBLIC: Required: Wrap the object to return the implementation that the application requires. The ob

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • onCreateOptionsMenu (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Path (java.nio.file)
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now