Tabnine Logo
EISDirectMapping.getDescriptor
Code IndexAdd Tabnine to your IDE (free)

How to use
getDescriptor
method
in
org.eclipse.persistence.eis.mappings.EISDirectMapping

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISDirectMapping.getDescriptor (Showing top 6 results out of 315)

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

protected void writeValueIntoRow(AbstractRecord row, DatabaseField field, Object fieldValue) {
  if (((EISDescriptor)this.getDescriptor()).isXMLFormat()) {
    row.put(field, fieldValue);
  } else {
    row.add(field, fieldValue);
  }
}
origin: com.haulmont.thirdparty/eclipselink

  /**
   * INTERNAL:
   * We override this method in order to set the session on the record if the data
   * format is XML.
   * 
   * Get a value from the object and set that in the respective field of the row.
   */
  @Override
  public void writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, WriteType writeType) {
    if (((EISDescriptor) this.getDescriptor()).isXMLFormat()) {
      ((XMLRecord) row).setSession(session);
    }
    super.writeFromObjectIntoRow(object, row, session, writeType);
  }
}
origin: com.haulmont.thirdparty/eclipselink

protected void writeValueIntoRow(AbstractRecord row, DatabaseField field, Object fieldValue) {
  if (((EISDescriptor)this.getDescriptor()).isXMLFormat()) {
    row.put(field, fieldValue);
  } else {
    row.add(field, fieldValue);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected void writeValueIntoRow(AbstractRecord row, DatabaseField field, Object fieldValue) {
  if (((EISDescriptor)this.getDescriptor()).getDataFormat() == EISDescriptor.XML) {
    row.put(field, fieldValue);
  } else {
    row.add(field, fieldValue);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  /**
   * INTERNAL:
   * We override this method in order to set the session on the record if the data
   * format is XML.
   * 
   * Get a value from the object and set that in the respective field of the row.
   */
  public void writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session) {
    if (((EISDescriptor) this.getDescriptor()).getDataFormat() == EISDescriptor.XML) {
      ((XMLRecord) row).setSession(session);
    }
    super.writeFromObjectIntoRow(object, row, session);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  /**
   * INTERNAL:
   * We override this method in order to set the session on the record if the data
   * format is XML.
   *
   * Get a value from the object and set that in the respective field of the row.
   */
  @Override
  public void writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, WriteType writeType) {
    if (((EISDescriptor) this.getDescriptor()).isXMLFormat()) {
      ((XMLRecord) row).setSession(session);
    }
    super.writeFromObjectIntoRow(object, row, session, writeType);
  }
}
org.eclipse.persistence.eis.mappingsEISDirectMappinggetDescriptor

Popular methods of EISDirectMapping

  • <init>
  • getFieldName
  • setAttributeName
  • setField
  • setFieldName
    PUBLIC: Set the field name in the mapping.
  • setGetMethodName
  • setSetMethodName
  • setXPath
    Set the Mapping field name attribute to the given XPath String.

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JTable (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now