generation/hanxin-parameters.js

const _MwWrapper = require("../_mwbridge/_mw-wrapper.js");

/**
 * <p>
 * Han Xin parameters.
 * </p>
 */
class HanXinParameters extends _MwWrapper
{
    constructor(mwObject)
    {
        super(mwObject);
        this._initializeWrapperMembers();
    }

    _initializeWrapperMembers()
    {
    }

    /**
     * <p>
     * Version of HanXin Code.
     * From Version01 to Version84 for Han Xin code.
     * Default value is Version.Auto.
     * </p>
     */
    getVersion()
    {
        return this.getJavaClass().getVersionSync();
    }

    /**
     * <p>
     * Version of HanXin Code.
     * From Version01 to Version84 for Han Xin code.
     * Default value is Version.Auto.
     * </p>
     */
    setVersion(value)
    {
        this.getJavaClass().setVersionSync(value);
    }

    /**
     * <p>
     * Version of HanXin Code.
     * From Version01 to Version84 for Han Xin code.
     * Default value is HanXinVersion.Auto.
     * </p>
     * @deprecated This property is obsolete and will be removed in future releases. Instead, use the getVersion().
     */
    getHanXinVersion()
    {
        return this.getJavaClass().getHanXinVersionSync();
    }

    /**
     * <p>
     * Version of HanXin Code.
     * From Version01 to Version84 for Han Xin code.
     * Default value is HanXinVersion.Auto.
     * </p>
     * @deprecated This property is obsolete and will be removed in future releases. Instead, use the setVersion().
     */
    setHanXinVersion(value)
    {
        this.getJavaClass().setHanXinVersionSync(value);
    }

    /**
     * <p>
     *  Level of Reed-Solomon error correction for Han Xin barcode.
     *  From low to high: L1, L2, L3, L4. see ErrorLevel.
     * </p>
     */
    getErrorLevel()
    {
        return this.getJavaClass().getErrorLevel().getValueSync();
    }

    /**
     * <p>
     *  Level of Reed-Solomon error correction for Han Xin barcode.
     *  From low to high: L1, L2, L3, L4. see ErrorLevel.
     * </p>
     */
    setErrorLevel(value)
    {
        this.getJavaClass().setErrorLevelSync(value);
    }

    /**
     * <p>
     *  Level of Reed-Solomon error correction for Han Xin barcode.
     *  From low to high: L1, L2, L3, L4. see HanXinErrorLevel.
     * </p>
     * @deprecated This property is obsolete and will be removed in future releases. Instead, use the getErrorLevel().
     */
    getHanXinErrorLevel()
    {
        return this.getJavaClass().getHanXinErrorLevelSync();
    }

    /**
     * <p>
     *  Level of Reed-Solomon error correction for Han Xin barcode.
     *  From low to high: L1, L2, L3, L4. see HanXinErrorLevel.
     * </p>
     * @deprecated This property is obsolete and will be removed in future releases. Instead, use the setErrorLevel().
     */
    setHanXinErrorLevel(value)
    {
        this.getJavaClass().setHanXinErrorLevelSync(value);
    }

    /**
     * <p>
     * HanXin encoding mode.
     * Default value: EncodeMode.Mixed.
     * </p>
     */
    getEncodeMode()
    {
        return this.getJavaClass().getEncodeModeSync();
    }
    /**
     * <p>
     * HanXin encoding mode.
     * Default value: EncodeMode.Mixed.
     * </p>
     */
    setEncodeMode(value)
    {
        this.getJavaClass().setEncodeModeSync(value);
    }

    /**
     * <p>
     * HanXin encoding mode.
     * Default value: HanXinEncodeMode.Mixed.
     * </p>
     * @deprecated This property is obsolete and will be removed in future releases. Instead, use the getEncodeMode().
     */
    getHanXinEncodeMode()
    {
        return this.getJavaClass().getHanXinEncodeModeSync();
    }

    /**
     * <p>
     * HanXin encoding mode.
     * Default value: HanXinEncodeMode.Mixed.
     * </p>
     * @deprecated This property is obsolete and will be removed in future releases. Instead, use the setEncodeMode().
     */
    setHanXinEncodeMode(value)
    {
        this.getJavaClass().setEncodeMode(value);
    }

    /**
     * <p>
     * Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details
     * about the used references for encoding the data in the symbol.
     * Current implementation contains all well known charset encodings.
     * </p>
     */
    getECIEncoding()
    {
        return this.getJavaClass().getECIEncodingSync();
    }

    /**
     * <p>
     * Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details
     * about the used references for encoding the data in the symbol.
     * Current implementation contains all well known charset encodings.
     * </p>
     */
    setECIEncoding( value)
    {
        this.getJavaClass().setECIEncodingSync(value);
    }

    /**
     * <p>
     * Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details
     * about the used references for encoding the data in the symbol.
     * Current implementation consists all well known charset encodings.
     * </p>
     * @deprecated This property is obsolete and will be removed in future releases. Instead, use the getECIEncoding().
     */
    getHanXinECIEncoding()
    {
        return this.getJavaClass().setECIEncodingSync();
    }

    /**
     * <p>
     * Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details
     * about the used references for encoding the data in the symbol.
     * Current implementation consists all well known charset encodings.
     * </p>
     * @deprecated This property is obsolete and will be removed in future releases. Instead, use the setECIEncoding().
     */
    setHanXinECIEncoding(value)
    {
        this.getJavaClass().setHanXinECIEncodingSync(value);
    }


    /**
     * <p>
     * Returns a human-readable string representation of this {@code HanXinParameters}.
     * </p>
     * @return A string that represents this {@code HanXinParameters}.
     */
    toString()
    {
        return this.getJavaClass().toStringSync();
    }
}

module.exports = HanXinParameters;