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

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

Best Java code snippets using org.eclipse.persistence.eis.interactions.XMLInteraction.getArguments (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/com.springsource.org.eclipse.persistence

public Object getAttributeValueFromObject(Object object) {
  XMLInteraction interaction = (XMLInteraction)object;
  Vector argumentNames = interaction.getArgumentNames();
  Vector arguments = interaction.getArguments();
  Vector interactionArguments = new Vector(arguments.size());
  for (int index = 0; index < arguments.size(); index++) {
    InteractionArgument interactionArgument = new InteractionArgument();
    interactionArgument.setArgumentName((String)argumentNames.get(index));
    Object argument = arguments.get(index);
    if (argument instanceof DatabaseField) {
      interactionArgument.setKey(argument);
    } else {
      interactionArgument.setValue(argument);
    }
    interactionArguments.add(interactionArgument);
  }
  return interactionArguments;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

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

public Object getAttributeValueFromObject(Object object) {
  XMLInteraction interaction = (XMLInteraction)object;
  Vector argumentNames = interaction.getArgumentNames();
  Vector arguments = interaction.getArguments();
  Vector interactionArguments = new Vector(arguments.size());
  for (int index = 0; index < arguments.size(); index++) {
    InteractionArgument interactionArgument = new InteractionArgument();
    interactionArgument.setArgumentName((String)argumentNames.get(index));
    Object argument = arguments.get(index);
    if (argument instanceof DatabaseField) {
      interactionArgument.setKey(argument);
    } else {
      interactionArgument.setValue(argument);
    }
    interactionArguments.add(interactionArgument);
  }
  return interactionArguments;
}
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.interactionsXMLInteractiongetArguments

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
  • getFunctionName
  • getInputRecordName
  • getInputResultPath
  • getInputRootElementName
    PUBLIC: Return the root element name to use for the input DOM.
  • getInputRow
  • getInteractionSpec
  • getOutputArgumentNames
  • getOutputArguments
  • getOutputResultPath
  • getOutputArguments,
  • getOutputResultPath,
  • getOutputRootElementName,
  • getParameters,
  • getProperties,
  • getQuery,
  • hasArguments,
  • hasOutputArguments,
  • prepare

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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