/** * This is a factory method for this DefaultDialect configuration. * The factory method is a best practice for the case where the * actual object construction is changed in the future. * * @param name the name of the dialect to be configured as default * * @return the actual type safe default dialect configuration. */ public static DefaultDialectOption get( String name ) { return new DefaultDialectOption( name ); }
public String getDefaultDialect() { return this.defaultDialect.getName(); }
public void setDefaultDialect(String defaultDialect) { this.defaultDialect = DefaultDialectOption.get( defaultDialect ); }
/** * This is a factory method for this DefaultDialect configuration. * The factory method is a best practice for the case where the * actual object construction is changed in the future. * * @param name the name of the dialect to be configured as default * * @return the actual type safe default dialect configuration. */ public static DefaultDialectOption get( String name ) { return new DefaultDialectOption( name ); }
return org.kie.internal.builder.conf.DefaultDialectOption.get(legacyOption.getName());
/** * This is a factory method for this DefaultDialect configuration. * The factory method is a best practice for the case where the * actual object construction is changed in the future. * * @param name the name of the dialect to be configured as default * * @return the actual type safe default dialect configuration. */ public static DefaultDialectOption get( String name ) { return new DefaultDialectOption( name ); }