/** * 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) && ((WeavedAttributeValueHolderInterface)getValueHolder()).shouldAllowInstantiationDeferral(); } }
/** * Return whether the contents have been read from the database. */ @Override public boolean isInstantiated() { return this.getValueHolder().isInstantiated(); }
/** * INTERNAL: * Return whether the specified object is instantiated. */ public boolean objectIsInstantiated(Object object) { return ((IndirectContainer)object).getValueHolder().isInstantiated(); }
/** * 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(); }
/** * INTERNAL: * Return the "real" attribute value, as opposed to any wrapper. * This will trigger the wrapper to instantiate the value. */ public Object getRealAttributeValueFromObject(Object object, Object attribute) { return ((IndirectContainer)attribute).getValueHolder().getValue(); }
/** * PUBLIC: * Return whether the contents have been read from the database. */ public boolean isInstantiated() { return getValueHolder().isInstantiated(); }
/** * PUBLIC: * Return whether the contents have been read from the database. */ public boolean isInstantiated() { return this.getValueHolder().isInstantiated(); }
/** * 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) && ((WeavedAttributeValueHolderInterface)getValueHolder()).shouldAllowInstantiationDeferral(); } }
/** * 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(); }
/** * Return whether the contents have been read from the database. */ public boolean isInstantiated() { return this.getValueHolder().isInstantiated(); }
/** * INTERNAL: * Return whether the specified object is instantiated. */ public boolean objectIsInstantiated(Object object) { return ((IndirectContainer)object).getValueHolder().isInstantiated(); }
/** * INTERNAL: * Return the "real" attribute value, as opposed to any wrapper. * This will trigger the wrapper to instantiate the value. */ public Object getRealAttributeValueFromObject(Object object, Object attribute) { return ((IndirectContainer)attribute).getValueHolder().getValue(); }
/** * PUBLIC: * Return whether the contents have been read from the database. */ @Override public boolean isInstantiated() { return getValueHolder().isInstantiated(); }
/** * PUBLIC: * Return whether the contents have been read from the database. */ @Override public boolean isInstantiated() { return this.getValueHolder().isInstantiated(); }
/** * 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) && ((WeavedAttributeValueHolderInterface)getValueHolder()).shouldAllowInstantiationDeferral(); } }
/** * Return whether the contents have been read from the database. */ @Override public boolean isInstantiated() { return this.getValueHolder().isInstantiated(); }
/** * INTERNAL: * Return whether the specified object is instantiated. */ public boolean objectIsInstantiated(Object object) { return ((IndirectContainer)object).getValueHolder().isInstantiated(); }
/** * INTERNAL: * Return the "real" attribute value, as opposed to any wrapper. * This will trigger the wrapper to instantiate the value. */ public Object getRealAttributeValueFromObject(Object object, Object attribute) { return ((IndirectContainer)attribute).getValueHolder().getValue(); }
/** * PUBLIC: * Return whether the contents have been read from the database. */ @Override public boolean isInstantiated() { return getValueHolder().isInstantiated(); }
/** * PUBLIC: * Return whether the contents have been read from the database. */ @Override public boolean isInstantiated() { return this.getValueHolder().isInstantiated(); }