Package org.jooq.util.jaxb

Examples of org.jooq.util.jaxb.EnumType


        List<EnumType> enumTypes = new ArrayList<EnumType>();
        for (String property : properties.stringPropertyNames()) {
            if (property.startsWith("generator.database.enum-type.")) {
                String name = property.replace("generator.database.enum-type.", "");

                EnumType type = new EnumType();
                type.setName(name);
                type.setLiterals(properties.getProperty(property));
                enumTypes.add(type);
            }
        }

        List<ForcedType> forcedTypes = new ArrayList<ForcedType>();
        for (String property : properties.stringPropertyNames()) {
            if (property.startsWith("generator.database.forced-type.")) {
                String name = property.replace("generator.database.forced-type.", "");

                ForcedType type = new ForcedType();
                type.setName(name);
                type.setExpressions(properties.getProperty(property));
                forcedTypes.add(type);
            }
        }

      org.jooq.util.jaxb.Database database = new org.jooq.util.jaxb.Database();
View Full Code Here

TOP

Related Classes of org.jooq.util.jaxb.EnumType

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.