congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
QueryKeyReference
Code IndexAdd Tabnine to your IDE (free)

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

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

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

@Override
public Object getAttributeValueFromObject(Object object) {
  VariableOneToOneMapping mapping = (VariableOneToOneMapping)object;
  Vector associations = mapping.getSourceToTargetQueryKeyFieldAssociations();
  Vector queryKeyReferences = new Vector(associations.size());
  for (int index = 0; index < associations.size(); index++) {
    Association association = (Association)associations.get(index);
    QueryKeyReference reference = new QueryKeyReference();
    reference.setKey(new DatabaseField((String)association.getKey()));
    reference.setValue(association.getValue());
    queryKeyReferences.add(reference);
  }
  return queryKeyReferences;
}
origin: com.haulmont.thirdparty/eclipselink

public Object getAttributeValueFromObject(Object object) {
  VariableOneToOneMapping mapping = (VariableOneToOneMapping)object;
  Vector associations = mapping.getSourceToTargetQueryKeyFieldAssociations();
  Vector queryKeyReferences = new Vector(associations.size());
  for (int index = 0; index < associations.size(); index++) {
    Association association = (Association)associations.get(index);
    QueryKeyReference reference = new QueryKeyReference();
    reference.setKey(new DatabaseField((String)association.getKey()));
    reference.setValue(association.getValue());
    queryKeyReferences.add(reference);
  }
  return queryKeyReferences;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public Object getAttributeValueFromObject(Object object) {
  VariableOneToOneMapping mapping = (VariableOneToOneMapping)object;
  Vector associations = mapping.getSourceToTargetQueryKeyFieldAssociations();
  Vector queryKeyReferences = new Vector(associations.size());
  for (int index = 0; index < associations.size(); index++) {
    Association association = (Association)associations.get(index);
    QueryKeyReference reference = new QueryKeyReference();
    reference.setKey(new DatabaseField((String)association.getKey()));
    reference.setValue(association.getValue());
    queryKeyReferences.add(reference);
  }
  return queryKeyReferences;
}
org.eclipse.persistence.internal.descriptorsQueryKeyReference

Javadoc

Purpose: Used to define variable 1-1 mapping query key field references. This is used for the deployment XML mapping.

Most used methods

  • <init>
    Create an association.
  • setKey
  • setValue

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JComboBox (javax.swing)
  • JList (javax.swing)
  • JOptionPane (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Sublime Text for Python
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