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

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

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

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

/**
 * INTERNAL:
 */
protected DatabaseField createField(String fieldName) {
  if (getQuery().getDescriptor() != null) {
    return getQuery().getDescriptor().buildField(fieldName);
  }
  return new XMLField(fieldName);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected DatabaseField createField(String fieldName) {
  if (getQuery().getDescriptor() != null) {
    return getQuery().getDescriptor().buildField(fieldName);
  }
  return new XMLField(fieldName);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 */
protected DatabaseField createField(String fieldName) {
  if (getQuery().getDescriptor() != null) {
    return getQuery().getDescriptor().buildField(fieldName);
  }
  return new XMLField(fieldName);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  /**
   * INTERNAL:
   * Use the createRecord method on ObjectBuilder in case the root element is namespace qualified
   */
  protected XMLRecord createXMLRecord(String rootName) {
    XMLRecord xmlRec;
    if (getQuery().getDescriptor() != null && getQuery().getDescriptor() instanceof EISDescriptor) {
      xmlRec = (XMLRecord)((XMLObjectBuilder)this.getQuery().getDescriptor().getObjectBuilder()).createRecord(getInputRootElementName(), getQuery().getSession());
    } else {
      xmlRec = new org.eclipse.persistence.oxm.record.DOMRecord(getInputRootElementName());
      xmlRec.setSession(getQuery().getSession());
    }
    return xmlRec;
  }
}
origin: com.haulmont.thirdparty/eclipselink

  /**
   * INTERNAL:
   * Use the createRecord method on ObjectBuilder in case the root element is namespace qualified
   */
  protected XMLRecord createXMLRecord(String rootName) {
    XMLRecord xmlRec; 
    if (getQuery().getDescriptor() != null && getQuery().getDescriptor() instanceof EISDescriptor) {
      xmlRec = (XMLRecord)((XMLObjectBuilder)this.getQuery().getDescriptor().getObjectBuilder()).createRecord(getInputRootElementName(), getQuery().getSession());
    } else {
      xmlRec = new org.eclipse.persistence.oxm.record.DOMRecord(getInputRootElementName()); 
      xmlRec.setSession(getQuery().getSession());
    }
    return xmlRec;
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  /**
   * INTERNAL:
   * Use the createRecord method on ObjectBuilder in case the root element is namespace qualified
   */
  protected XMLRecord createXMLRecord(String rootName) {
    XMLRecord xmlRec; 
    if (getQuery().getDescriptor() != null && getQuery().getDescriptor() instanceof EISDescriptor) {
      xmlRec = (XMLRecord)((XMLObjectBuilder)this.getQuery().getDescriptor().getObjectBuilder()).createRecord(getInputRootElementName(), getQuery().getSession());
    } else {
      xmlRec = new org.eclipse.persistence.oxm.record.DOMRecord(getInputRootElementName()); 
      xmlRec.setSession(getQuery().getSession());
    }
    return xmlRec;
  }
}
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);
}
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

/**
 * Create a DOM input record for this interaction.
 * Convert the database row or arguments into an XML DOM tree.
 */
public Record createInputRecord(EISAccessor accessor) {
  Record record = accessor.getEISPlatform().createDOMRecord(getInputRecordName(), accessor);
  Element dom = createInputDOM(accessor);
  accessor.getEISPlatform().setDOMInRecord(dom, record, this, accessor);
  if (record instanceof XMLRecord) {
   ((XMLRecord) record).setSession(this.getQuery().getSession());
  }
  return record;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Create a DOM input record for this interaction.
 * Convert the database row or arguments into an XML DOM tree.
 */
public Record createInputRecord(EISAccessor accessor) {
  Record record = accessor.getEISPlatform().createDOMRecord(getInputRecordName(), accessor);
  Element dom = createInputDOM(accessor);
  accessor.getEISPlatform().setDOMInRecord(dom, record, this, accessor);
  if (record instanceof XMLRecord) {
   ((XMLRecord) record).setSession(this.getQuery().getSession());
  }
  return record;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Create a DOM input record for this interaction.
 * Convert the database row or arguments into an XML DOM tree.
 */
public Record createInputRecord(EISAccessor accessor) {
  Record record = accessor.getEISPlatform().createDOMRecord(getInputRecordName(), accessor);
  Element dom = createInputDOM(accessor);
  accessor.getEISPlatform().setDOMInRecord(dom, record, this, accessor);
  if (record instanceof XMLRecord) {
   ((XMLRecord) record).setSession(this.getQuery().getSession());
  }
  return record;
}
org.eclipse.persistence.eis.interactionsXMLInteractiongetQuery

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

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Top 12 Jupyter Notebook extensions
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