congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
XMLInteraction.getOutputArguments
Code IndexAdd Tabnine to your IDE (free)

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

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

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

public Object getAttributeValueFromObject(Object object) {
  XMLInteraction interaction = (XMLInteraction)object;
  Vector arguments = interaction.getOutputArguments();
  Vector argumentNames = interaction.getOutputArgumentNames();
  Vector interactionArguments = new Vector(arguments.size());
  for (int index = 0; index < arguments.size(); index++) {
    InteractionArgument interactionArgument = new InteractionArgument();
    interactionArgument.setKey(((DatabaseField)arguments.get(index)).getName());
    interactionArgument.setArgumentName((String)argumentNames.get(index));
    interactionArguments.add(interactionArgument);
  }
  return interactionArguments;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public Object getAttributeValueFromObject(Object object) {
  XMLInteraction interaction = (XMLInteraction)object;
  Vector arguments = interaction.getOutputArguments();
  Vector argumentNames = interaction.getOutputArgumentNames();
  Vector interactionArguments = new Vector(arguments.size());
  for (int index = 0; index < arguments.size(); index++) {
    InteractionArgument interactionArgument = new InteractionArgument();
    interactionArgument.setKey(((DatabaseField)arguments.get(index)).getName());
    interactionArgument.setArgumentName((String)argumentNames.get(index));
    interactionArguments.add(interactionArgument);
  }
  return interactionArguments;
}
origin: com.haulmont.thirdparty/eclipselink

public Object getAttributeValueFromObject(Object object) {
  XMLInteraction interaction = (XMLInteraction)object;
  Vector arguments = interaction.getOutputArguments();
  Vector argumentNames = interaction.getOutputArgumentNames();
  Vector interactionArguments = new Vector(arguments.size());
  for (int index = 0; index < arguments.size(); index++) {
    InteractionArgument interactionArgument = new InteractionArgument();
    interactionArgument.setKey(((DatabaseField)arguments.get(index)).getName());
    interactionArgument.setArgumentName((String)argumentNames.get(index));
    interactionArguments.add(interactionArgument);
  }
  return interactionArguments;
}
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.interactionsXMLInteractiongetOutputArguments

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

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • 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