Tabnine Logo
XMLInteraction.setOutputRootElementName
Code IndexAdd Tabnine to your IDE (free)

How to use
setOutputRootElementName
method
in
org.eclipse.persistence.eis.interactions.XMLInteraction

Best Java code snippets using org.eclipse.persistence.eis.interactions.XMLInteraction.setOutputRootElementName (Showing top 3 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

/**
 * Set the default record name from the descriptor.
 */
public void prepare(AbstractSession session) {
  if (getInputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setInputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("input");
    }
  }
  if (getOutputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setOutputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("output");
    }
  }
  super.prepare(session);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Set the default record name from the descriptor.
 */
public void prepare(AbstractSession session) {
  if (getInputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setInputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("input");
    }
  }
  if (getOutputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setOutputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("output");
    }
  }
  super.prepare(session);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Set the default record name from the descriptor.
 */
public void prepare(AbstractSession session) {
  if (getInputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setInputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("input");
    }
  }
  if (getOutputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setOutputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("output");
    }
  }
  super.prepare(session);
}
org.eclipse.persistence.eis.interactionsXMLInteractionsetOutputRootElementName

Javadoc

PUBLIC: Set the root element name to use for the output DOM.

Popular methods of XMLInteraction

  • createInputDOM
    Create a DOM for this interaction. Convert the database row or arguments into an XML DOM tree.
  • createXMLRecord
    INTERNAL: Use the createRecord method on ObjectBuilder in case the root element is namespace qualifi
  • getArgumentNames
  • getArguments
  • getFunctionName
  • getInputRecordName
  • getInputResultPath
  • getInputRootElementName
    PUBLIC: Return the root element name to use for the input DOM.
  • getInputRow
  • getInteractionSpec
  • getOutputArgumentNames
  • getOutputArguments
  • getOutputArgumentNames,
  • getOutputArguments,
  • getOutputResultPath,
  • getOutputRootElementName,
  • getParameters,
  • getProperties,
  • getQuery,
  • hasArguments,
  • hasOutputArguments,
  • prepare

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Top Vim plugins
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