Package org.eclipse.persistence.mappings.structures

Examples of org.eclipse.persistence.mappings.structures.ArrayMapping


            // Process the @Column or column element if there is one.
            // A number of methods depend on this field so it must be
            // initialized before any further processing can take place.
            mapping.setField(new ObjectRelationalDatabaseField(getDatabaseField(getDescriptor().getPrimaryTable(), MetadataLogger.COLUMN)));
        } else {
            ArrayMapping mapping = new ArrayMapping();
           
            // Add the mapping to the descriptor.
            setMapping(mapping);
   
            // Set the attribute name.
            mapping.setAttributeName(getAttributeName());
           
            // Will check for PROPERTY access
            setAccessorMethods(mapping);
           
            mapping.setStructureName(getDatabaseType());
           
            // Process the @Column or column element if there is one.
            // A number of methods depend on this field so it must be
            // initialized before any further processing can take place.
            mapping.setField(new ObjectRelationalDatabaseField(getDatabaseField(getDescriptor().getPrimaryTable(), MetadataLogger.COLUMN)));
        }
    }
View Full Code Here


            // Process the @Column or column element if there is one.
            // A number of methods depend on this field so it must be
            // initialized before any further processing can take place.
            mapping.setField(new ObjectRelationalDatabaseField(getDatabaseField(getDescriptor().getPrimaryTable(), MetadataLogger.COLUMN)));
        } else {
            ArrayMapping mapping = new ArrayMapping();
           
            // Add the mapping to the descriptor.
            setMapping(mapping);
   
            // Set the attribute name.
            mapping.setAttributeName(getAttributeName());
           
            // Will check for PROPERTY access
            setAccessorMethods(mapping);
           
            mapping.setStructureName(getDatabaseType());
           
            // Process the @Column or column element if there is one.
            // A number of methods depend on this field so it must be
            // initialized before any further processing can take place.
            mapping.setField(new ObjectRelationalDatabaseField(getDatabaseField(getDescriptor().getPrimaryTable(), MetadataLogger.COLUMN)));
        }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.mappings.structures.ArrayMapping

Copyright © 2018 www.massapicom. 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.