/** * Gets the name of the backpointer attribute on the target object. * @deprecated Replaced by getInverseReferenceMapping().getAttributeName() */ @Deprecated public String getContainerAttributeName() { if (this.inverseReferenceMapping == null) { return null; } return this.inverseReferenceMapping.getAttributeName(); }
/** * Gets the name of the backpointer attribute on the target object. Used to * populate the backpointer. * @deprecated Replaced by getInverseReferenceMapping().getAttributeName() */ @Deprecated public String getContainerAttributeName() { if (this.inverseReferenceMapping == null) { return null; } return this.inverseReferenceMapping.getAttributeName(); }
/** * Gets the name of the backpointer attribute on the target object. Used to * populate the backpointer. * @deprecated Replaced by getInverseReferenceMapping().getAttributeName() */ @Deprecated public String getContainerAttributeName() { if (this.inverseReferenceMapping == null) { return null; } return this.inverseReferenceMapping.getAttributeName(); }
/** * Gets the name of the backpointer attribute on the target object. * @deprecated Replaced by getInverseReferenceMapping().getAttributeName() */ @Deprecated public String getContainerAttributeName() { if (this.inverseReferenceMapping == null) { return null; } return this.inverseReferenceMapping.getAttributeName(); }
/** * Gets the name of the backpointer attribute on the target object. Used to * populate the backpointer. * @deprecated Replaced by getInverseReferenceMapping().getAttributeName() */ @Deprecated public String getContainerAttributeName() { if (this.inverseReferenceMapping == null) { return null; } return this.inverseReferenceMapping.getAttributeName(); }
/** * Gets the name of the backpointer attribute on the target object. * @deprecated Replaced by getInverseReferenceMapping().getAttributeName() */ @Deprecated public String getContainerAttributeName() { if (this.inverseReferenceMapping == null) { return null; } return this.inverseReferenceMapping.getAttributeName(); }
ClassDescriptor refDescriptor = ormSession.getClassDescriptor(refMapping.getReferenceClass()); if(refDescriptor != null) { DatabaseMapping backpointerMapping =refDescriptor.getMappingForAttributeName(refMapping.getInverseReferenceMapping().getAttributeName()); if(backpointerMapping != null && backpointerMapping.isCollectionMapping()) { refMapping.getInverseReferenceMapping().getContainerPolicy().setContainerClass(((CollectionMapping)backpointerMapping).getContainerPolicy().getContainerClass());