congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EISDirectMapping.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.persistence.eis.mappings.EISDirectMapping
constructor

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISDirectMapping.<init> (Showing top 8 results out of 315)

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

/**
 * Return a new direct/basic mapping for this type of descriptor.
 */
@Override
public AbstractDirectMapping newDirectMapping() {
  return new EISDirectMapping();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Return a new direct/basic mapping for this type of descriptor.
 */
@Override
public AbstractDirectMapping newDirectMapping() {
  return new EISDirectMapping();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
  * PUBLIC:
  * Add a direct mapping to the receiver. The new mapping specifies that
  * an instance variable of the class of objects which the receiver describes maps in
  * the default manner for its type to the indicated database field.
  *
  * @param String instanceVariableName is the name of an instance variable of the
  * class which the receiver describes.
  * @param String fieldName is the name of the xml element or attribute which corresponds
  * with the designated instance variable.
  * @return The newly created DatabaseMapping is returned.
  */
public DatabaseMapping addDirectMapping(String attributeName, String fieldName) {
  EISDirectMapping mapping = new EISDirectMapping();
  mapping.setAttributeName(attributeName);
  if (getDataFormat() == EISDescriptor.XML) {
    mapping.setXPath(fieldName);
  } else {
    mapping.setFieldName(fieldName);
  }
  return addMapping(mapping);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC: Add a direct mapping to the receiver. The new mapping specifies
 * that an instance variable of the class of objects which the receiver
 * describes maps in the default manner for its type to the indicated
 * database field.
 *
 * @param attributeName
 *            instanceVariableName is the name of an instance variable of
 *            the class which the receiver describes.
 * @param fieldName
 *            fieldName is the name of the xml element or attribute which
 *            corresponds with the designated instance variable.
 * @return The newly created DatabaseMapping is returned.
 */
@Override
public DatabaseMapping addDirectMapping(String attributeName, String fieldName) {
  EISDirectMapping mapping = new EISDirectMapping();
  mapping.setAttributeName(attributeName);
  if (isXMLFormat()) {
    mapping.setXPath(fieldName);
  } else {
    mapping.setFieldName(fieldName);
  }
  return addMapping(mapping);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC: Add a direct mapping to the receiver. The new mapping specifies
 * that an instance variable of the class of objects which the receiver
 * describes maps in the default manner for its type to the indicated
 * database field.
 *
 * @param attributeName
 *            instanceVariableName is the name of an instance variable of
 *            the class which the receiver describes.
 * @param fieldName
 *            fieldName is the name of the xml element or attribute which
 *            corresponds with the designated instance variable.
 * @return The newly created DatabaseMapping is returned.
 */
@Override
public DatabaseMapping addDirectMapping(String attributeName, String fieldName) {
  EISDirectMapping mapping = new EISDirectMapping();
  mapping.setAttributeName(attributeName);
  if (isXMLFormat()) {
    mapping.setXPath(fieldName);
  } else {
    mapping.setFieldName(fieldName);
  }
  return addMapping(mapping);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
* PUBLIC:
* Add a direct to node mapping to the receiver. The new mapping specifies that
* a variable accessed by the get and set methods of the class of objects which
* the receiver describes maps in  the default manner for its type to the indicated
* database field.
*/
public DatabaseMapping addDirectMapping(String attributeName, String getMethodName, String setMethodName, String fieldName) {
  EISDirectMapping mapping = new EISDirectMapping();
  mapping.setAttributeName(attributeName);
  mapping.setSetMethodName(setMethodName);
  mapping.setGetMethodName(getMethodName);
  if (getDataFormat() == EISDescriptor.XML) {
    mapping.setXPath(fieldName);
  } else {
    mapping.setFieldName(fieldName);
  }
  return addMapping(mapping);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Add a direct to node mapping to the receiver. The new mapping specifies that
 * a variable accessed by the get and set methods of the class of objects which
 * the receiver describes maps in  the default manner for its type to the indicated
 * database field.
 */
@Override
public DatabaseMapping addDirectMapping(String attributeName, String getMethodName, String setMethodName, String fieldName) {
  EISDirectMapping mapping = new EISDirectMapping();
  mapping.setAttributeName(attributeName);
  mapping.setSetMethodName(setMethodName);
  mapping.setGetMethodName(getMethodName);
  if (isXMLFormat()) {
    mapping.setXPath(fieldName);
  } else {
    mapping.setFieldName(fieldName);
  }
  return addMapping(mapping);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Add a direct to node mapping to the receiver. The new mapping specifies that
 * a variable accessed by the get and set methods of the class of objects which
 * the receiver describes maps in  the default manner for its type to the indicated
 * database field.
 */
@Override
public DatabaseMapping addDirectMapping(String attributeName, String getMethodName, String setMethodName, String fieldName) {
  EISDirectMapping mapping = new EISDirectMapping();
  mapping.setAttributeName(attributeName);
  mapping.setSetMethodName(setMethodName);
  mapping.setGetMethodName(getMethodName);
  if (isXMLFormat()) {
    mapping.setXPath(fieldName);
  } else {
    mapping.setFieldName(fieldName);
  }
  return addMapping(mapping);
}
org.eclipse.persistence.eis.mappingsEISDirectMapping<init>

Popular methods of EISDirectMapping

  • getDescriptor
  • 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
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • addToBackStack (FragmentTransaction)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 21 Best IntelliJ 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