if (!xmlDescriptor.hasInheritance() || xmlDescriptor.getInheritancePolicy().isRootParentDescriptor()) { descriptorsByQName.put(descriptorQName, xmlDescriptor); } else {
super.preInitializeInheritancePolicy(session); if (hasInheritance()) { if(isChildDescriptor()) { XMLDescriptor parentDescriptor = (XMLDescriptor) getInheritancePolicy().getParentDescriptor();
super.preInitializeInheritancePolicy(session); if (hasInheritance()) { if(isChildDescriptor()) { XMLDescriptor parentDescriptor = (XMLDescriptor) getInheritancePolicy().getParentDescriptor();
if (hasInheritance()) { for (Enumeration childEnum = getInheritancePolicy().getChildDescriptors().elements(); childEnum.hasMoreElements();) { ((ClassDescriptor) childEnum.nextElement()).postInitialize(session); if (hasInheritance()) { getInheritancePolicy().postInitialize(session);
if (hasInheritance()) { for (ClassDescriptor child : getInheritancePolicy().getChildDescriptors()) { child.postInitialize(session); if (hasInheritance()) { getInheritancePolicy().postInitialize(session);
if (hasInheritance()) { for (ClassDescriptor child : getInheritancePolicy().getChildDescriptors()) { child.postInitialize(session); if (hasInheritance()) { getInheritancePolicy().postInitialize(session);
XMLRoot xr = (XMLRoot) object; if (descriptor.hasInheritance()) { XMLField classIndicatorField = (XMLField) descriptor.getInheritancePolicy().getClassIndicatorField(); String classIndicatorUri = null;
if (this.hasInheritance()) { ((org.eclipse.persistence.internal.oxm.QNameInheritancePolicy) this.getInheritancePolicy()).setNamespaceResolver(this.getNamespaceResolver()); if (hasInheritance()) { getInheritancePolicy().initialize(session);
this.schema.getDefinitions().put(definition.getName(), definition); definition.setType(JsonType.OBJECT); if(referenceDescriptor.hasInheritance() && referenceDescriptor.getInheritancePolicy().hasClassIndicator()) { XMLField f = (XMLField)referenceDescriptor.getInheritancePolicy().getClassIndicatorField(); Property indicatorProp = new Property();
this.schema.getDefinitions().put(definition.getName(), definition); definition.setType(JsonType.OBJECT); if(referenceDescriptor.hasInheritance() && referenceDescriptor.getInheritancePolicy().hasClassIndicator()) { XMLField f = (XMLField)referenceDescriptor.getInheritancePolicy().getClassIndicatorField(); Property indicatorProp = new Property();
if ((parentType.getURI() != null) && (!parentType.getURI().equals(SDOConstants.SDO_URL))) { if (!parentType.getXmlDescriptor().hasInheritance()) { addClassIndicator(parentType.getXmlDescriptor(), parentType.getImplClass(), false);
if ((parentType.getURI() != null) && (!parentType.getURI().equals(SDOConstants.SDO_URL))) { if (!parentType.getXmlDescriptor().hasInheritance()) { addClassIndicator(parentType.getXmlDescriptor(), parentType.getImplClass(), false);
if (this.hasInheritance()) { ((org.eclipse.persistence.internal.oxm.QNameInheritancePolicy) this.getInheritancePolicy()).setNamespaceResolver(this.getNamespaceResolver()); if(hasInheritance() && isChildDescriptor()){ XMLField parentField = ((XMLDescriptor)getInheritancePolicy().getParentDescriptor()).getDefaultRootElementField(); if (hasInheritance()) { getInheritancePolicy().initialize(session);
if (xmlDescriptor.hasInheritance()) { unmarshalRecord = new UnmarshalRecord((TreeObjectBuilder)xmlDescriptor.getObjectBuilder()); unmarshalRecord.setUnmarshalNamespaceResolver(unmarshalNamespaceResolver);
if (xmlDescriptor.hasInheritance()) { unmarshalRecord = new UnmarshalRecord((TreeObjectBuilder)xmlDescriptor.getObjectBuilder()); unmarshalRecord.setUnmarshalNamespaceResolver(unmarshalNamespaceResolver);
if (xmlDescriptor.hasInheritance()) { unmarshalRecord.setAttributes(atts); Class clazz = xmlDescriptor.getInheritancePolicy().classFromRow(unmarshalRecord, unmarshalRecord.getSession());
if(descriptor == null || descriptor.hasInheritance()){ descriptor = (XMLDescriptor)session.getDescriptor(objectValue.getClass());
if (xmlDescriptor.hasInheritance()) { unmarshalRecord.setAttributes(atts); Class classValue = xmlDescriptor.getInheritancePolicy().classFromRow(unmarshalRecord, unmarshalRecord.getSession());
if(descriptor == null || descriptor.hasInheritance()){ descriptor = (XMLDescriptor)session.getDescriptor(value.getClass());