generation/gs1-composite-bar-parameters.js


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

/**
 * GS1 Composite bar parameters.
 */
class GS1CompositeBarParameters extends _MwWrapper
{
    constructor(mwObject)
    {
        super(mwObject);
        this._initializeWrapperMembers();
    }

    _initializeWrapperMembers()
    {
    }

    /**
     * Linear component type
     */
    getLinearComponentType()
    {
        return this.getJavaClass().getLinearComponentTypeSync();
    }

    /**
     * Linear component type
     */
    setLinearComponentType(value)
    {
        this.getJavaClass().setLinearComponentTypeSync(value);
    }

    /**
     * 2D component type
     */
    getTwoDComponentType()
    {
        return this.getJavaClass().getTwoDComponentTypeSync();
    }

    /**
     * 2D component type
     */
    setTwoDComponentType(value)
    {
        this.getJavaClass().setTwoDComponentTypeSync(value);
    }

    /**
     * <p>
     * If this flag is set, it allows only GS1 encoding standard for GS1CompositeBar 2D Component
     * </p>
     */
    isAllowOnlyGS1Encoding()
    {
        return this.getJavaClass().isAllowOnlyGS1EncodingSync();
    }

    /**
     * <p>
     * If this flag is set, it allows only GS1 encoding standard for GS1CompositeBar 2D Component
     * </p>
     */
    setAllowOnlyGS1Encoding(value)
    {
        this.getJavaClass().setAllowOnlyGS1EncodingSync(value);
    }

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

module.exports = GS1CompositeBarParameters;