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

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

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

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

/**
 * Build a database row from the record returned from the interaction.
 */
public AbstractRecord buildRow(Record record, EISAccessor accessor) {
  if (record == null) {
    return null;
  }
  AbstractRecord row = accessor.getEISPlatform().createDatabaseRowFromDOMRecord(record, this, accessor);
  if (row == null) {
    return null;
  }
  if (getOutputResultPath().length() > 0) {
    row = (AbstractRecord)row.get(getOutputResultPath());
    // Handle the case were the output row is mapped into a database row of values.
  } else if (hasOutputArguments()) {
    row = createXMLRecord(getOutputRootElementName());
    for (int index = 0; index < getOutputArgumentNames().size(); index++) {
      DatabaseField field = (DatabaseField)getOutputArguments().get(index);
      row.put(field, row.get(getOutputArgumentNames().get(index)));
    }
  }
  return row;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Build a database row from the record returned from the interaction.
 */
public AbstractRecord buildRow(Record record, EISAccessor accessor) {
  if (record == null) {
    return null;
  }
  AbstractRecord row = accessor.getEISPlatform().createDatabaseRowFromDOMRecord(record, this, accessor);
  if (row == null) {
    return null;
  }
  if (getOutputResultPath().length() > 0) {
    row = (AbstractRecord)row.get(getOutputResultPath());
    // Handle the case were the output row is mapped into a database row of values.
  } else if (hasOutputArguments()) {
    row = createXMLRecord(getOutputRootElementName());
    for (int index = 0; index < getOutputArgumentNames().size(); index++) {
      DatabaseField field = (DatabaseField)getOutputArguments().get(index);
      row.put(field, row.get(getOutputArgumentNames().get(index)));
    }
  }
  return row;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Build a database row from the record returned from the interaction.
 */
public AbstractRecord buildRow(Record record, EISAccessor accessor) {
  if (record == null) {
    return null;
  }
  AbstractRecord row = accessor.getEISPlatform().createDatabaseRowFromDOMRecord(record, this, accessor);
  if (row == null) {
    return null;
  }
  if (getOutputResultPath().length() > 0) {
    row = (AbstractRecord)row.get(getOutputResultPath());
    // Handle the case were the output row is mapped into a database row of values.
  } else if (hasOutputArguments()) {
    row = createXMLRecord(getOutputRootElementName());
    for (int index = 0; index < getOutputArgumentNames().size(); index++) {
      DatabaseField field = (DatabaseField)getOutputArguments().get(index);
      row.put(field, row.get(getOutputArgumentNames().get(index)));
    }
  }
  return row;
}
org.eclipse.persistence.eis.interactionsXMLInteractionhasOutputArguments

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,
  • prepare

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • setScale (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • ImageIO (javax.imageio)
  • JCheckBox (javax.swing)
  • Top PhpStorm 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