Codota Logo
XMLInteraction.getOutputRootElementName
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
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;
}
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.interactionsXMLInteractiongetOutputRootElementName

Javadoc

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

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • onCreateOptionsMenu (Activity)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
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