Tabnine Logo
DescriptorIterator.getVisitedStack
Code IndexAdd Tabnine to your IDE (free)

How to use
getVisitedStack
method
in
org.eclipse.persistence.internal.descriptors.DescriptorIterator

Best Java code snippets using org.eclipse.persistence.internal.descriptors.DescriptorIterator.getVisitedStack (Showing top 9 results out of 315)

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

/**
 * Return the second-to-last object visited.
 */
public Object getVisitedGrandparent() {
  Object parent = getVisitedStack().pop();
  Object result = getVisitedStack().peek();
  getVisitedStack().push(parent);
  return result;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Return the last object visited.
 */
public Object getVisitedParent() {
  return getVisitedStack().peek();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Return the second-to-last object visited.
 */
public Object getVisitedGrandparent() {
  Object parent = getVisitedStack().pop();
  Object result = getVisitedStack().peek();
  getVisitedStack().push(parent);
  return result;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Return the last object visited.
 */
public Object getVisitedParent() {
  return getVisitedStack().peek();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Return the second-to-last object visited.
 */
public Object getVisitedGrandparent() {
  Object parent = getVisitedStack().pop();
  Object result = getVisitedStack().peek();
  getVisitedStack().push(parent);
  return result;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Return the last object visited.
 */
public Object getVisitedParent() {
  return getVisitedStack().peek();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Iterate over the sourceObject's reference objects,
 * updating the visited stack appropriately.
 */
protected void iterateReferenceObjects(Object sourceObject) {
  if(this.usesGroup) {
    // object is outside of the group - don't iterate over its references
    if(this.currentGroup == null || !this.currentGroup.hasItems()) {
      return;
    }
  }
  getVisitedStack().push(sourceObject);
  internalIterateReferenceObjects(sourceObject);
  getVisitedStack().pop();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Iterate over the sourceObject's reference objects,
 * updating the visited stack appropriately.
 */
protected void iterateReferenceObjects(Object sourceObject) {
  if(this.usesGroup) {
    // object is outside of the group - don't iterate over its references
    if(this.currentGroup == null || !this.currentGroup.hasItems()) {
      return;
    }
  }            
  
  getVisitedStack().push(sourceObject);
  internalIterateReferenceObjects(sourceObject);
  getVisitedStack().pop();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Iterate over the sourceObject's reference objects,
 * updating the visited stack appropriately.
 */
protected void iterateReferenceObjects(Object sourceObject) {
  getVisitedStack().push(sourceObject);
  getCurrentDescriptor().getObjectBuilder().iterate(this);
  getVisitedStack().pop();
}
org.eclipse.persistence.internal.descriptorsDescriptorIteratorgetVisitedStack

Popular methods of DescriptorIterator

  • getCascadeDepth
  • getCurrentDescriptor
  • getDescriptorFor
    Fetch and return the descriptor for the specified object.
  • getSession
  • getVisitedObjects
  • getVisitedParent
    Return the last object visited.
  • internalIterateAggregateObject
    Iterate an aggregate object (i.e. an object that is the target of an AggregateMapping). Override thi
  • internalIterateIndirectContainer
    Iterate an indirect container (IndirectList or IndirectMap). Override this method if appropriate.
  • internalIteratePrimitive
    Iterate a primitive object (String, Date, Integer, etc.). Override this method if appropriate.
  • internalIterateReferenceObject
    Iterate a (a non-Aggregate) reference object. Override this method if appropriate.
  • internalIterateValueHolder
    Iterate a value holder. Override this method if appropriate.
  • iterate
    To define a new iterator create a subclass and define at least this method. Given an object or set o
  • internalIterateValueHolder,
  • iterate,
  • iterateForAggregateMapping,
  • iterateIndirectContainerForMapping,
  • iteratePrimitiveForMapping,
  • iterateReferenceObjectForMapping,
  • iterateReferenceObjects,
  • iterateValueHolderForMapping,
  • setCascadeCondition

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • Permission (java.security)
    Legacy security code; do not use.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Option (scala)
  • CodeWhisperer alternatives
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