Tabnine Logo
IndirectList.getValueHolder
Code IndexAdd Tabnine to your IDE (free)

How to use
getValueHolder
method
in
org.eclipse.persistence.indirection.IndirectList

Best Java code snippets using org.eclipse.persistence.indirection.IndirectList.getValueHolder (Showing top 18 results out of 315)

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * return whether this IndirectList has been registered with the UnitOfWork
 */
public boolean hasBeenRegistered() {
  return getValueHolder() instanceof UnitOfWorkQueryValueHolder;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * return whether this IndirectList has been registered with the UnitOfWork
 */
public boolean hasBeenRegistered() {
  return getValueHolder() instanceof UnitOfWorkQueryValueHolder;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * return whether this IndirectList has been registered with the UnitOfWork
 */
public boolean hasBeenRegistered() {
  return getValueHolder() instanceof UnitOfWorkQueryValueHolder;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * PUBLIC:
 * Return whether the contents have been read from the database.
 */
public boolean isInstantiated() {
  return getValueHolder().isInstantiated();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Return whether the contents have been read from the database.
 */
@Override
public boolean isInstantiated() {
  return getValueHolder().isInstantiated();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Return whether the contents have been read from the database.
 */
@Override
public boolean isInstantiated() {
  return getValueHolder().isInstantiated();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

protected void raiseRemoveChangeEvent(Object element, Integer index, boolean isSet) {
  if (hasTrackedPropertyChangeListener()) {
    _persistence_getPropertyChangeListener().propertyChange(new CollectionChangeEvent(this, getTrackedAttributeName(), this, element, CollectionChangeEvent.REMOVE, index, isSet, true));
  }
  if (isRelationshipMaintenanceRequired()) {
    ((UnitOfWorkQueryValueHolder)getValueHolder()).updateForeignReferenceRemove(element);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

protected void raiseAddChangeEvent(Object element, Integer index, boolean isSet) {
  if (hasTrackedPropertyChangeListener()) {
    _persistence_getPropertyChangeListener().propertyChange(new CollectionChangeEvent(this, getTrackedAttributeName(), this, element, CollectionChangeEvent.ADD, index, isSet, true));
  }
  if (isRelationshipMaintenanceRequired()) {
    ((UnitOfWorkQueryValueHolder)getValueHolder()).updateForeignReferenceSet(element, null);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected void raiseRemoveChangeEvent(Object element, Integer index, boolean isSet) {
  if (hasTrackedPropertyChangeListener()) {
    _persistence_getPropertyChangeListener().propertyChange(new CollectionChangeEvent(this, getTrackedAttributeName(), this, element, CollectionChangeEvent.REMOVE, index, isSet));
  }
  if (hasBeenRegistered()) {
    ((UnitOfWorkQueryValueHolder)getValueHolder()).updateForeignReferenceRemove(element);
  }
}
origin: com.haulmont.thirdparty/eclipselink

protected void raiseAddChangeEvent(Object element, Integer index, boolean isSet) {
  if (hasTrackedPropertyChangeListener()) {
    _persistence_getPropertyChangeListener().propertyChange(new CollectionChangeEvent(this, getTrackedAttributeName(), this, element, CollectionChangeEvent.ADD, index, isSet, true));
  }
  if (isRelationshipMaintenanceRequired()) {
    ((UnitOfWorkQueryValueHolder)getValueHolder()).updateForeignReferenceSet(element, null);
  }
}

origin: com.haulmont.thirdparty/eclipselink

protected void raiseRemoveChangeEvent(Object element, Integer index, boolean isSet) {
  if (hasTrackedPropertyChangeListener()) {
    _persistence_getPropertyChangeListener().propertyChange(new CollectionChangeEvent(this, getTrackedAttributeName(), this, element, CollectionChangeEvent.REMOVE, index, isSet, true));
  }
  if (isRelationshipMaintenanceRequired()) {
    ((UnitOfWorkQueryValueHolder)getValueHolder()).updateForeignReferenceRemove(element);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return if add/remove should trigger instantiation or avoid.
 * Current instantiation is avoided is using change tracking.
 */
protected boolean shouldAvoidInstantiation() {
  return (!isInstantiated()) && (_persistence_getPropertyChangeListener() instanceof AttributeChangeListener) && !usesListOrderField() && ((WeavedAttributeValueHolderInterface)getValueHolder()).shouldAllowInstantiationDeferral();
}
 
origin: com.haulmont.thirdparty/eclipselink

Vector delegate = (Vector<E>)getValueHolder().getValue();
if (delegate == null) {
  delegate = new Vector<>(this.initialCapacity, this.capacityIncrement);
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected void raiseAddChangeEvent(Object element, Integer index, boolean isSet) {
  if (hasTrackedPropertyChangeListener()) {
    _persistence_getPropertyChangeListener().propertyChange(new CollectionChangeEvent(this, getTrackedAttributeName(), this, element, CollectionChangeEvent.ADD, index, isSet));
  }
  if (hasBeenRegistered()) {
    ((UnitOfWorkQueryValueHolder)getValueHolder()).updateForeignReferenceSet(element, null);
  }
}
 
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return if add/remove should trigger instantiation or avoid.
 * Current instantiation is avoided is using change tracking.
 */
protected boolean shouldAvoidInstantiation() {
  return (!isInstantiated())  && (shouldUseLazyInstantiation()) && (_persistence_getPropertyChangeListener() instanceof AttributeChangeListener) && !usesListOrderField() && ((WeavedAttributeValueHolderInterface)getValueHolder()).shouldAllowInstantiationDeferral();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

Vector delegate = (Vector)getValueHolder().getValue();
if (delegate == null) {
  delegate = new Vector(this.initialCapacity, this.capacityIncrement);
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Return if add/remove should trigger instantiation or avoid.
 * Current instantiation is avoided is using change tracking.
 */
protected boolean shouldAvoidInstantiation() {
  return (!isInstantiated())  && (shouldUseLazyInstantiation()) && (_persistence_getPropertyChangeListener() instanceof AttributeChangeListener) && !usesListOrderField() && ((WeavedAttributeValueHolderInterface)getValueHolder()).shouldAllowInstantiationDeferral();
}

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

Vector<E> newDelegate = (Vector<E>) getValueHolder().getValue();
if (newDelegate == null) {
  newDelegate = new Vector<>(this.initialCapacity, this.capacityIncrement);
org.eclipse.persistence.indirectionIndirectListgetValueHolder

Javadoc

INTERNAL: Return the valueHolder. This method used to be synchronized, which caused deadlock.

Popular methods of IndirectList

  • <init>
    PUBLIC: Construct an IndirectList containing the elements of the specified collection, in the order
  • _persistence_getPropertyChangeListener
    INTERNAL: Return the property change listener for change tracking.
  • add
  • buildDelegate
    INTERNAL: Return the freshly-built delegate.
  • getAddedElements
    INTERNAL: Return the elements that have been added before instantiation.
  • getDelegate
    INTERNAL: Check whether the contents have been read from the database. If they have not, read them a
  • getRemovedElements
    INTERNAL: Return the elements that have been removed before instantiation.
  • getTrackedAttributeName
    INTERNAL: Return the mapping attribute name, used to raise change events.
  • hasAddedElements
    INTERNAL: Return if any elements that have been added before instantiation.
  • hasBeenRegistered
    INTERNAL: return whether this IndirectList has been registered with the UnitOfWork
  • hasRemovedElements
    INTERNAL: Return if any elements that have been removed before instantiation.
  • hasTrackedPropertyChangeListener
    INTERNAL: Return if the collection has a property change listener for change tracking.
  • hasRemovedElements,
  • hasTrackedPropertyChangeListener,
  • isInstantiated,
  • isListOrderBrokenInDb,
  • iterator,
  • listIterator,
  • raiseAddChangeEvent,
  • raiseRemoveChangeEvent,
  • remove

Popular in Java

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • findViewById (Activity)
  • setContentView (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • BoxLayout (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best IntelliJ plugins
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