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

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

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

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

/**
 * Build a collection of database rows from the Record returned from the interaction.
 */
public Vector buildRows(Record record, EISAccessor accessor) {
  Vector rows = null;
  if (record == null) {
    return new Vector(0);
  }
  AbstractRecord row = accessor.getEISPlatform().createDatabaseRowFromDOMRecord(record, this, accessor);
  if (getOutputResultPath().length() > 0) {
    Vector values = (Vector)row.getValues(getOutputResultPath());
    if (values == null) {
      values = new Vector(0);
    }
    rows = values;
  } else {
    rows = new Vector(1);
    rows.add(row);
  }
  return rows;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Build a collection of database rows from the Record returned from the interaction.
 */
public Vector buildRows(Record record, EISAccessor accessor) {
  Vector rows = null;
  if (record == null) {
    return new Vector(0);
  }
  AbstractRecord row = accessor.getEISPlatform().createDatabaseRowFromDOMRecord(record, this, accessor);
  if (getOutputResultPath().length() > 0) {
    Vector values = (Vector)row.getValues(getOutputResultPath());
    if (values == null) {
      values = new Vector(0);
    }
    rows = values;
  } else {
    rows = new Vector(1);
    rows.add(row);
  }
  return rows;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Build a collection of database rows from the Record returned from the interaction.
 */
public Vector buildRows(Record record, EISAccessor accessor) {
  Vector rows = null;
  if (record == null) {
    return new Vector(0);
  }
  AbstractRecord row = accessor.getEISPlatform().createDatabaseRowFromDOMRecord(record, this, accessor);
  if (getOutputResultPath().length() > 0) {
    Vector values = (Vector)row.getValues(getOutputResultPath());
    if (values == null) {
      values = new Vector(0);
    }
    rows = values;
  } else {
    rows = new Vector(1);
    rows.add(row);
  }
  return rows;
}
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;
}
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: org.eclipse.persistence/org.eclipse.persistence.core

protected void addXMLInteractionLines(NonreflectiveMethodDefinition method, XMLInteraction interaction, String variableName) {
  method.addLine("org.eclipse.persistence.eis.XMLInteraction " + variableName + " = new org.eclipse.persistence.eis.XMLInteraction();");
  if ((interaction.getFunctionName() != null) && (interaction.getFunctionName().length() != 0)) {
    method.addLine(variableName + ".setFunctionName(\"" + interaction.getFunctionName() + "\");");
  }
  if ((interaction.getInputRecordName() != null) && (interaction.getInputRecordName().length() != 0)) {
    method.addLine(variableName + ".setInputRecordName(\"" + interaction.getInputRecordName() + "\");");
  }
  if ((interaction.getInputRootElementName() != null) && (interaction.getInputRootElementName().length() != 0)) {
    method.addLine(variableName + ".setInputRootElementName(\"" + interaction.getInputRootElementName() + "\");");
  }
  if ((interaction.getInputResultPath() != null) && (interaction.getInputResultPath().length() != 0)) {
    method.addLine(variableName + ".setInputResultPath(\"" + interaction.getInputResultPath() + "\");");
  }
  if ((interaction.getOutputResultPath() != null) && (interaction.getOutputResultPath().length() != 0)) {
    method.addLine(variableName + ".setOutputResultPath(\"" + interaction.getOutputResultPath() + "\");");
  }
  for (int index = interaction.getArgumentNames().size();
       index < interaction.getArgumentNames().size(); index++) {
    String argumentName = (String)interaction.getArgumentNames().get(index);
    String argument = (String)interaction.getArguments().get(index);
    method.addLine(variableName + ".addArgument(\"" + argumentName + "\", \"" + argument + "\");");
  }
}
origin: com.haulmont.thirdparty/eclipselink

protected void addXMLInteractionLines(NonreflectiveMethodDefinition method, XMLInteraction interaction, String variableName) {
  method.addLine("org.eclipse.persistence.eis.XMLInteraction " + variableName + " = new org.eclipse.persistence.eis.XMLInteraction();");
  if ((interaction.getFunctionName() != null) && (interaction.getFunctionName().length() != 0)) {
    method.addLine(variableName + ".setFunctionName(\"" + interaction.getFunctionName() + "\");");
  }
  if ((interaction.getInputRecordName() != null) && (interaction.getInputRecordName().length() != 0)) {
    method.addLine(variableName + ".setInputRecordName(\"" + interaction.getInputRecordName() + "\");");
  }
  if ((interaction.getInputRootElementName() != null) && (interaction.getInputRootElementName().length() != 0)) {
    method.addLine(variableName + ".setInputRootElementName(\"" + interaction.getInputRootElementName() + "\");");
  }
  if ((interaction.getInputResultPath() != null) && (interaction.getInputResultPath().length() != 0)) {
    method.addLine(variableName + ".setInputResultPath(\"" + interaction.getInputResultPath() + "\");");
  }
  if ((interaction.getOutputResultPath() != null) && (interaction.getOutputResultPath().length() != 0)) {
    method.addLine(variableName + ".setOutputResultPath(\"" + interaction.getOutputResultPath() + "\");");
  }
  for (int index = interaction.getArgumentNames().size();
       index < interaction.getArgumentNames().size(); index++) {
    String argumentName = (String)interaction.getArgumentNames().get(index);
    String argument = (String)interaction.getArguments().get(index);
    method.addLine(variableName + ".addArgument(\"" + argumentName + "\", \"" + argument + "\");");
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected void addXMLInteractionLines(NonreflectiveMethodDefinition method, XMLInteraction interaction, String variableName) {
  method.addLine("org.eclipse.persistence.eis.XMLInteraction " + variableName + " = new org.eclipse.persistence.eis.XMLInteraction();");
  if ((interaction.getFunctionName() != null) && (interaction.getFunctionName().length() != 0)) {
    method.addLine(variableName + ".setFunctionName(\"" + interaction.getFunctionName() + "\");");
  }
  if ((interaction.getInputRecordName() != null) && (interaction.getInputRecordName().length() != 0)) {
    method.addLine(variableName + ".setInputRecordName(\"" + interaction.getInputRecordName() + "\");");
  }
  if ((interaction.getInputRootElementName() != null) && (interaction.getInputRootElementName().length() != 0)) {
    method.addLine(variableName + ".setInputRootElementName(\"" + interaction.getInputRootElementName() + "\");");
  }
  if ((interaction.getInputResultPath() != null) && (interaction.getInputResultPath().length() != 0)) {
    method.addLine(variableName + ".setInputResultPath(\"" + interaction.getInputResultPath() + "\");");
  }
  if ((interaction.getOutputResultPath() != null) && (interaction.getOutputResultPath().length() != 0)) {
    method.addLine(variableName + ".setOutputResultPath(\"" + interaction.getOutputResultPath() + "\");");
  }
  for (int index = interaction.getArgumentNames().size();
       index < interaction.getArgumentNames().size(); index++) {
    String argumentName = (String)interaction.getArgumentNames().get(index);
    String argument = (String)interaction.getArguments().get(index);
    method.addLine(variableName + ".addArgument(\"" + argumentName + "\", \"" + argument + "\");");
  }
}
org.eclipse.persistence.eis.interactionsXMLInteractiongetOutputResultPath

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,
  • getOutputRootElementName,
  • getParameters,
  • getProperties,
  • getQuery,
  • hasArguments,
  • hasOutputArguments,
  • prepare

Popular in Java

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Top plugins for WebStorm
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