All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsapar.compose.bean.BeanComposeConfig Maven / Gradle / Ivy

Go to download

The JSaPar package is a java library that provides a parser for flat and CSV (Comma Separated Values) files.

The newest version!
package org.jsapar.compose.bean;

import org.jsapar.error.ValidationAction;

/**
 * Configuration that controls behavior while composing beans.
 *
 */
@SuppressWarnings("WeakerAccess")
public final class BeanComposeConfig {
    /**
     * The action to take if {@link BeanFactory} could not find a suitable bean class to create based on the
     * current line type.
     */
    private ValidationAction onUndefinedLineType = ValidationAction.EXCEPTION;

    /**
     * @return The action to take if {@link BeanFactory} could not find a suitable bean class to create based on the
     * current line type.
     */
    public ValidationAction getOnUndefinedLineType() {
        return onUndefinedLineType;
    }

    /**
     * @param onUndefinedLineType The action to take if {@link BeanFactory} could not find a suitable bean class to create based on the
     *                            current line type.
     */
    public void setOnUndefinedLineType(ValidationAction onUndefinedLineType) {
        this.onUndefinedLineType = onUndefinedLineType;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy