Examples of InheritanceNodeValue


Examples of org.eclipse.persistence.internal.oxm.InheritanceNodeValue

       
        // In some cases such as defining types via DataObject API (not by schema) we need
        // to add an inheritance node value to TreeObjectBuilder in order to have the class
        // indicator (xsi:type) written out
        if (isInheritanceRoot) {
            InheritanceNodeValue inheritanceNodeValue = new InheritanceNodeValue();
            inheritanceNodeValue.setInheritancePolicy(xdesc.getInheritancePolicy());
            ((TreeObjectBuilder)xmlDescriptor.getObjectBuilder()).addChild(field.getXPathFragment(), inheritanceNodeValue, xmlDescriptor.getNamespaceResolver());
        }
       
        // only add the @sdoRef attribute if necessary
        if (xdesc.getMappingForAttributeName(SDO_REF_MAPPING_ATTRIBUTE_NAME) == null) {
View Full Code Here

Examples of org.eclipse.persistence.internal.oxm.InheritanceNodeValue

       
        // In some cases such as defining types via DataObject API (not by schema) we need
        // to add an inheritance node value to TreeObjectBuilder in order to have the class
        // indicator (xsi:type) written out
        if (isInheritanceRoot) {
            InheritanceNodeValue inheritanceNodeValue = new InheritanceNodeValue();
            inheritanceNodeValue.setInheritancePolicy(xdesc.getInheritancePolicy());
            ((TreeObjectBuilder)xmlDescriptor.getObjectBuilder()).addChild(field.getXPathFragment(), inheritanceNodeValue, xmlDescriptor.getNamespaceResolver());
        }
       
        // only add the @sdoRef attribute if necessary
        if (xdesc.getMappingForAttributeName(SDO_REF_MAPPING_ATTRIBUTE_NAME) == null) {
View Full Code Here

Examples of org.eclipse.persistence.internal.oxm.InheritanceNodeValue

       
        // In some cases such as defining types via DataObject API (not by schema) we need
        // to add an inheritance node value to TreeObjectBuilder in order to have the class
        // indicator (xsi:type) written out
        if (isInheritanceRoot) {
            InheritanceNodeValue inheritanceNodeValue = new InheritanceNodeValue();
            inheritanceNodeValue.setInheritancePolicy(xdesc.getInheritancePolicy());
            ((TreeObjectBuilder)xmlDescriptor.getObjectBuilder()).addChild(field.getXPathFragment(), inheritanceNodeValue, xmlDescriptor.getNamespaceResolver());
        }
       
        // only add the @sdoRef attribute if necessary
        if (xdesc.getMappingForAttributeName(SDO_REF_MAPPING_ATTRIBUTE_NAME) == null) {
View Full Code Here

Examples of org.eclipse.persistence.internal.oxm.InheritanceNodeValue

       
        // In some cases such as defining types via DataObject API (not by schema) we need
        // to add an inheritance node value to TreeObjectBuilder in order to have the class
        // indicator (xsi:type) written out
        if (isInheritanceRoot) {
            InheritanceNodeValue inheritanceNodeValue = new InheritanceNodeValue();
            inheritanceNodeValue.setInheritancePolicy(xdesc.getInheritancePolicy());
            ((TreeObjectBuilder)xmlDescriptor.getObjectBuilder()).addChild(field.getXPathFragment(), inheritanceNodeValue, xmlDescriptor.getNamespaceResolver());
        }
       
        // only add the @sdoRef attribute if necessary
        if (xdesc.getMappingForAttributeName(SDO_REF_MAPPING_ATTRIBUTE_NAME) == null) {
View Full Code Here

Examples of org.eclipse.persistence.internal.oxm.InheritanceNodeValue

       
        // In some cases such as defining types via DataObject API (not by schema) we need
        // to add an inheritance node value to TreeObjectBuilder in order to have the class
        // indicator (xsi:type) written out
        if (isInheritanceRoot) {
            InheritanceNodeValue inheritanceNodeValue = new InheritanceNodeValue();
            inheritanceNodeValue.setInheritancePolicy(xdesc.getInheritancePolicy());
            ((TreeObjectBuilder)xmlDescriptor.getObjectBuilder()).addChild(field.getXPathFragment(), inheritanceNodeValue, xmlDescriptor.getNamespaceResolver());
        }
       
        // only add the @sdoRef attribute if necessary
        if (xdesc.getMappingForAttributeName(SDO_REF_MAPPING_ATTRIBUTE_NAME) == null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.