Package de.innovationgate.wga.modules.options

Examples of de.innovationgate.wga.modules.options.PredefinedValuesOptionType.addValue()


        readerProfileCreation.setOptional(true);
        readerProfileCreation.setDefaultValue(Boolean.TRUE.toString());
        options.addOption(readerProfileCreation);
       
        PredefinedValuesOptionType hqlFetchType = new PredefinedValuesOptionType(_bundleLoader, WGDatabaseImpl.COPTION_HQL_FETCH_TYPE);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_STRAIGHT);
        LocalizedOptionDefinition hqlFetch = new LocalizedOptionDefinition(WGDatabaseImpl.COPTION_HQL_FETCH_TYPE, hqlFetchType, _bundleLoader);
        hqlFetch.setOptional(true);
        hqlFetch.setExpert(true);
        hqlFetch.setDefaultValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
View Full Code Here


        readerProfileCreation.setDefaultValue(Boolean.TRUE.toString());
        options.addOption(readerProfileCreation);
       
        PredefinedValuesOptionType hqlFetchType = new PredefinedValuesOptionType(_bundleLoader, WGDatabaseImpl.COPTION_HQL_FETCH_TYPE);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_STRAIGHT);
        LocalizedOptionDefinition hqlFetch = new LocalizedOptionDefinition(WGDatabaseImpl.COPTION_HQL_FETCH_TYPE, hqlFetchType, _bundleLoader);
        hqlFetch.setOptional(true);
        hqlFetch.setExpert(true);
        hqlFetch.setDefaultValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
        options.addOption(hqlFetch);
View Full Code Here

        mappingResource.setExpert(true);
        mappingResource.setDefaultValue(WGDatabaseImpl.HIBERNATE_V5_MAPPING_FILE);
        options.addOption(mappingResource);
       
        PredefinedValuesOptionType hqlFetchType = new PredefinedValuesOptionType(_bundleLoader, WGDatabaseImpl.COPTION_HQL_FETCH_TYPE);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_STRAIGHT);
        LocalizedOptionDefinition hqlFetch = new LocalizedOptionDefinition(WGDatabaseImpl.COPTION_HQL_FETCH_TYPE, hqlFetchType, _bundleLoader);
        hqlFetch.setOptional(true);
        hqlFetch.setExpert(true);
        hqlFetch.setDefaultValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
View Full Code Here

        mappingResource.setDefaultValue(WGDatabaseImpl.HIBERNATE_V5_MAPPING_FILE);
        options.addOption(mappingResource);
       
        PredefinedValuesOptionType hqlFetchType = new PredefinedValuesOptionType(_bundleLoader, WGDatabaseImpl.COPTION_HQL_FETCH_TYPE);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_STRAIGHT);
        LocalizedOptionDefinition hqlFetch = new LocalizedOptionDefinition(WGDatabaseImpl.COPTION_HQL_FETCH_TYPE, hqlFetchType, _bundleLoader);
        hqlFetch.setOptional(true);
        hqlFetch.setExpert(true);
        hqlFetch.setDefaultValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
        options.addOption(hqlFetch);
View Full Code Here

    public OptionDefinitionsMap getOptionDefinitions() {
        OptionDefinitionsMap options = new OptionDefinitionsMap();
       
        PredefinedValuesOptionType crossloginType = new PredefinedValuesOptionType(_bundleLoader, DBDesignProvider.OPTION_CROSSLOGINMODE);
        crossloginType.addValue(WGAXML.DESIGNSHARING_MODE_ANONYMOUS);
        crossloginType.addValue(WGAXML.DESIGNSHARING_MODE_PARALLEL);
       
        LocalizedOptionDefinition crosslogin = new LocalizedOptionDefinition(DBDesignProvider.OPTION_CROSSLOGINMODE, crossloginType, _bundleLoader);
        crosslogin.setOptional(true);
        crosslogin.setDefaultValue(WGAXML.DESIGNSHARING_MODE_ANONYMOUS);
View Full Code Here

    public OptionDefinitionsMap getOptionDefinitions() {
        OptionDefinitionsMap options = new OptionDefinitionsMap();
       
        PredefinedValuesOptionType crossloginType = new PredefinedValuesOptionType(_bundleLoader, DBDesignProvider.OPTION_CROSSLOGINMODE);
        crossloginType.addValue(WGAXML.DESIGNSHARING_MODE_ANONYMOUS);
        crossloginType.addValue(WGAXML.DESIGNSHARING_MODE_PARALLEL);
       
        LocalizedOptionDefinition crosslogin = new LocalizedOptionDefinition(DBDesignProvider.OPTION_CROSSLOGINMODE, crossloginType, _bundleLoader);
        crosslogin.setOptional(true);
        crosslogin.setDefaultValue(WGAXML.DESIGNSHARING_MODE_ANONYMOUS);
        options.addOption(crosslogin);
View Full Code Here

        allowBrowsing.setExpert(true);
        allowBrowsing.setDefaultValue(Boolean.TRUE.toString());
        options.addOption(allowBrowsing);
       
        PredefinedValuesOptionType browsingSecurityOptionType = new PredefinedValuesOptionType(_bundleLoader, WGACore.DBATTRIB_BROWSING_SECURITY);
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.FULL_ACCESS));
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.NO_AUTHORING));
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.NO_BROWSING));
        LocalizedOptionDefinition browsingSecurity = new LocalizedOptionDefinition(WGACore.DBATTRIB_BROWSING_SECURITY, browsingSecurityOptionType, _bundleLoader);
        browsingSecurity.setOptional(true);
        browsingSecurity.setDefaultValue(String.valueOf(BrowsingSecurity.FULL_ACCESS));
View Full Code Here

        allowBrowsing.setDefaultValue(Boolean.TRUE.toString());
        options.addOption(allowBrowsing);
       
        PredefinedValuesOptionType browsingSecurityOptionType = new PredefinedValuesOptionType(_bundleLoader, WGACore.DBATTRIB_BROWSING_SECURITY);
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.FULL_ACCESS));
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.NO_AUTHORING));
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.NO_BROWSING));
        LocalizedOptionDefinition browsingSecurity = new LocalizedOptionDefinition(WGACore.DBATTRIB_BROWSING_SECURITY, browsingSecurityOptionType, _bundleLoader);
        browsingSecurity.setOptional(true);
        browsingSecurity.setDefaultValue(String.valueOf(BrowsingSecurity.FULL_ACCESS));
        options.addOption(browsingSecurity);
View Full Code Here

        options.addOption(allowBrowsing);
       
        PredefinedValuesOptionType browsingSecurityOptionType = new PredefinedValuesOptionType(_bundleLoader, WGACore.DBATTRIB_BROWSING_SECURITY);
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.FULL_ACCESS));
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.NO_AUTHORING));
        browsingSecurityOptionType.addValue(String.valueOf(BrowsingSecurity.NO_BROWSING));
        LocalizedOptionDefinition browsingSecurity = new LocalizedOptionDefinition(WGACore.DBATTRIB_BROWSING_SECURITY, browsingSecurityOptionType, _bundleLoader);
        browsingSecurity.setOptional(true);
        browsingSecurity.setDefaultValue(String.valueOf(BrowsingSecurity.FULL_ACCESS));
        options.addOption(browsingSecurity);
       
View Full Code Here

        readerProfileCreation.setOptional(true);
        readerProfileCreation.setDefaultValue(Boolean.TRUE.toString());
        options.addOption(readerProfileCreation);
       
        PredefinedValuesOptionType hqlFetchType = new PredefinedValuesOptionType(_bundleLoader, WGDatabaseImpl.COPTION_HQL_FETCH_TYPE);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
        hqlFetchType.addValue(WGDatabaseImpl.HQL_FETCHTYPE_STRAIGHT);
        LocalizedOptionDefinition hqlFetch = new LocalizedOptionDefinition(WGDatabaseImpl.COPTION_HQL_FETCH_TYPE, hqlFetchType, _bundleLoader);
        hqlFetch.setOptional(true);
        hqlFetch.setExpert(true);
        hqlFetch.setDefaultValue(WGDatabaseImpl.HQL_FETCHTYPE_LAZY);
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.