Examples of preInitialize()


Examples of org.eclipse.persistence.mappings.DatabaseMapping.preInitialize()

            nextMapping.setDescriptor(getDescriptor());
            nextMapping.setAttributeName(this.getAttributeName());
            if(nextMapping.getAttributeAccessor() == temporaryAccessor){
              nextMapping.setAttributeAccessor(getAttributeAccessor());
            }                       
            nextMapping.preInitialize(session);
        }
       
    }
   
    public void setAttributeValueInObject(Object object, Object value) throws DescriptorException {
View Full Code Here

Examples of org.eclipse.persistence.mappings.DatabaseMapping.preInitialize()

        // Allow mapping pre init, must be done before validate.
        for (Enumeration mappingsEnum = getMappings().elements(); mappingsEnum.hasMoreElements();) {
            try {
                DatabaseMapping mapping = (DatabaseMapping) mappingsEnum.nextElement();
                mapping.preInitialize(session);
            } catch (DescriptorException exception) {
                session.getIntegrityChecker().handleError(exception);
            }
        }
View Full Code Here

Examples of org.eclipse.persistence.mappings.DatabaseMapping.preInitialize()

        // Allow mapping pre init, must be done before validate.
        for (Enumeration mappingsEnum = getMappings().elements(); mappingsEnum.hasMoreElements();) {
            try {
                DatabaseMapping mapping = (DatabaseMapping) mappingsEnum.nextElement();
                mapping.preInitialize(session);
            } catch (DescriptorException exception) {
                session.getIntegrityChecker().handleError(exception);
            }
        }
View Full Code Here

Examples of org.eclipse.persistence.mappings.DatabaseMapping.preInitialize()

            nextMapping.setDescriptor(getDescriptor());
            nextMapping.setAttributeName(this.getAttributeName());
            if(nextMapping.getAttributeAccessor() == temporaryAccessor){
              nextMapping.setAttributeAccessor(getAttributeAccessor());
            }                       
            nextMapping.preInitialize(session);
        }
       
    }
   
    public void setAttributeValueInObject(Object object, Object value) throws DescriptorException {
View Full Code Here

Examples of org.eclipse.persistence.mappings.DatabaseMapping.preInitialize()

            nextMapping.setIsReadOnly(this.isReadOnly());
            ((XMLMapping)nextMapping).setIsWriteOnly(this.isWriteOnly());
           
            nextMapping.setDescriptor(getDescriptor());
           
            nextMapping.preInitialize(session);
        }
    }
   
    public void setAttributeValueInObject(Object object, Object value) throws DescriptorException {
        if(isWriteOnly()) {
View Full Code Here

Examples of org.eclipse.persistence.mappings.DatabaseMapping.preInitialize()

        // Allow mapping pre init, must be done before validate.
        for (Enumeration mappingsEnum = getMappings().elements(); mappingsEnum.hasMoreElements();) {
            try {
                DatabaseMapping mapping = (DatabaseMapping) mappingsEnum.nextElement();
                mapping.preInitialize(session);
            } catch (DescriptorException exception) {
                session.getIntegrityChecker().handleError(exception);
            }
        }
View Full Code Here

Examples of org.eclipse.persistence.mappings.DatabaseMapping.preInitialize()

            nextMapping.setIsReadOnly(this.isReadOnly());
            ((XMLMapping)nextMapping).setIsWriteOnly(this.isWriteOnly());
           
            nextMapping.setDescriptor(getDescriptor());
           
            nextMapping.preInitialize(session);
        }
    }
   
    public void setAttributeValueInObject(Object object, Object value) throws DescriptorException {
        if(isWriteOnly()) {
View Full Code Here

Examples of org.eclipse.persistence.mappings.DatabaseMapping.preInitialize()

            nextMapping.setDescriptor(getDescriptor());
            nextMapping.setAttributeName(this.getAttributeName());
            if(nextMapping.getAttributeAccessor() == temporaryAccessor){
              nextMapping.setAttributeAccessor(getAttributeAccessor());
            }                       
            nextMapping.preInitialize(session);
        }
       
    }
   
    public void setAttributeValueInObject(Object object, Object value) throws DescriptorException {
View Full Code Here

Examples of org.eclipse.persistence.sdo.SDOType.preInitialize()

            java.util.List documentation = annotation.getDocumentation();
            if ((documentation != null) && (documentation.size() > 0)) {
                currentType.setInstanceProperty(SDOConstants.DOCUMENTATION_PROPERTY, documentation);
            }
        }
        currentType.preInitialize(packageName, namespaceResolvers);
        if (complexType.getAnnotation() != null) {
            currentType.setAppInfoElements(complexType.getAnnotation().getAppInfo());
        }
       
        return currentType;
View Full Code Here

Examples of org.eclipse.persistence.sdo.SDOType.preInitialize()

            java.util.List documentation = annotation.getDocumentation();
            if ((documentation != null) && (documentation.size() > 0)) {
                currentType.setInstanceProperty(SDOConstants.DOCUMENTATION_PROPERTY, documentation);
            }
        }
        currentType.preInitialize(packageName, namespaceResolvers);
        if (complexType.getAnnotation() != null) {
            currentType.setAppInfoElements(complexType.getAnnotation().getAppInfo());
        }
       
        return currentType;
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.