Codota Logo
TypeMapping
Code IndexAdd Codota to your IDE (free)

How to use
TypeMapping
in
org.eclipse.persistence.internal.descriptors

Best Java code snippets using org.eclipse.persistence.internal.descriptors.TypeMapping (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return a collection of the field to attribute value associations.
 */
public Vector getFieldToAttributeValueAssociations() {
  Vector associations = new Vector(getFieldToAttributeValues().size());
  Iterator fieldValueEnum = getFieldToAttributeValues().keySet().iterator();
  Iterator attributeValueEnum = getFieldToAttributeValues().values().iterator();
  while (fieldValueEnum.hasNext()) {
    Object fieldValue = fieldValueEnum.next();
    if (fieldValue == Helper.NULL_VALUE) {
      fieldValue = null;
    }
    Object attributeValue = attributeValueEnum.next();
    if (attributeValue == Helper.NULL_VALUE) {
      attributeValue = null;
    }
    associations.addElement(new TypeMapping(fieldValue, attributeValue));
  }
  return associations;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Return a collection of the field to attribute value associations.
 */
public Vector getFieldToAttributeValueAssociations() {
  Vector associations = new Vector(getFieldToAttributeValues().size());
  Iterator fieldValueEnum = getFieldToAttributeValues().keySet().iterator();
  Iterator attributeValueEnum = getFieldToAttributeValues().values().iterator();
  while (fieldValueEnum.hasNext()) {
    Object fieldValue = fieldValueEnum.next();
    if (fieldValue == Helper.NULL_VALUE) {
      fieldValue = null;
    }
    Object attributeValue = attributeValueEnum.next();
    if (attributeValue == Helper.NULL_VALUE) {
      attributeValue = null;
    }
    associations.addElement(new TypeMapping(fieldValue, attributeValue));
  }
  return associations;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return a collection of the field to attribute value associations.
 */
public Vector getFieldToAttributeValueAssociations() {
  Vector associations = new Vector(getFieldToAttributeValues().size());
  Iterator fieldValueEnum = getFieldToAttributeValues().keySet().iterator();
  Iterator attributeValueEnum = getFieldToAttributeValues().values().iterator();
  while (fieldValueEnum.hasNext()) {
    Object fieldValue = fieldValueEnum.next();
    if (fieldValue == Helper.getNullWrapper()) {
      fieldValue = null;
    }
    Object attributeValue = attributeValueEnum.next();
    if (attributeValue == Helper.getNullWrapper()) {
      attributeValue = null;
    }
    associations.addElement(new TypeMapping(fieldValue, attributeValue));
  }
  return associations;
}
org.eclipse.persistence.internal.descriptorsTypeMapping

Javadoc

Purpose: Used to define object-type converter object->data values mapping. This is used for the deployment XML mapping.

Most used methods

  • <init>
    Create an association.

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getSharedPreferences (Context)
  • 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
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
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