/** * Sets the AttributeAccessor that is used to get and set the value of the * container on the target object. * * @param anAttributeAccessor - the accessor to be used. * @deprecated Replaced by getInverseReferenceMapping().setAttributeAccessor() */ @Deprecated public void setContainerAccessor(AttributeAccessor anAttributeAccessor) { if (this.inverseReferenceMapping == null) { return; } this.inverseReferenceMapping.setAttributeAccessor(anAttributeAccessor); }
/** * Sets the AttributeAccessor that is used to get and set the value of the * container on the target object. * * @param anAttributeAccessor - the accessor to be used. * @deprecated Replaced by getInverseReferenceMapping().setAttributeAccessor() */ @Deprecated public void setContainerAccessor(AttributeAccessor anAttributeAccessor) { if (this.inverseReferenceMapping == null) { return; } this.inverseReferenceMapping.setAttributeAccessor(anAttributeAccessor); }
/** * Sets the AttributeAccessor that is used to get and set the value of the * container on the target object. * * @param anAttributeAccessor - the accessor to be used. * @deprecated Replaced by getInverseReferenceMapping().setAttributeAccessor() */ @Deprecated public void setContainerAccessor(AttributeAccessor anAttributeAccessor) { if (this.inverseReferenceMapping == null) { return; } this.inverseReferenceMapping.setAttributeAccessor(anAttributeAccessor); }
/** * Sets the AttributeAccessor that is used to get and set the value of the * container on the target object. * * @param anAttributeAccessor - the accessor to be used. * @deprecated Replaced by getInverseReferenceMapping().setAttributeAccessor() */ @Deprecated public void setContainerAccessor(AttributeAccessor anAttributeAccessor) { if (this.inverseReferenceMapping == null) { return; } this.inverseReferenceMapping.setAttributeAccessor(anAttributeAccessor); }
/** * Sets the AttributeAccessor that is used to get and set the value of the * container on the target object. * * @param anAttributeAccessor - the accessor to be used. * @deprecated Replaced by getInverseReferenceMapping().setAttributeAccessor() */ @Deprecated public void setContainerAccessor(AttributeAccessor anAttributeAccessor) { if (this.inverseReferenceMapping == null) { return; } this.inverseReferenceMapping.setAttributeAccessor(anAttributeAccessor); }
/** * Sets the AttributeAccessor that is used to get and set the value of the * container on the target object. * * @param anAttributeAccessor - the accessor to be used. * @deprecated Replaced by getInverseReferenceMapping().setAttributeAccessor() */ @Deprecated public void setContainerAccessor(AttributeAccessor anAttributeAccessor) { if (this.inverseReferenceMapping == null) { return; } this.inverseReferenceMapping.setAttributeAccessor(anAttributeAccessor); }
ormAccessor.setValueHolderProperty(ormContainerMapping instanceof OneToOneMapping && ((OneToOneMapping)ormContainerMapping).usesIndirection()); if(oxmMapping instanceof XMLCompositeObjectMapping) { ((XMLCompositeObjectMapping)oxmMapping).getInverseReferenceMapping().setAttributeAccessor(ormAccessor); } else if(oxmMapping instanceof XMLCompositeCollectionMapping) { ((XMLCompositeCollectionMapping)oxmMapping).getInverseReferenceMapping().setAttributeAccessor(ormAccessor);