recognition/gs-1-composite-bar-extended-parameters.js

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

/**
 * <p>
 * Stores special data of {@code <b>GS1 Composite Bar</b>} recognized barcode
 * </p>
 */
class GS1CompositeBarExtendedParameters extends _MwWrapper
{
    constructor(mwObject)
    {
        super(mwObject);
    }

    _initializeWrapperMembers()
    {
    }

    /**
     * <p>Gets the 1D (linear) barcode type of GS1 Composite</p>Value: 2D barcode type
     */
    getOneDType()
    {
        return this.getJavaClass().getOneDTypeSync();
    }

    /**
     * <p>Gets the 1D (linear) barcode value of GS1 Composite</p>Value: 1D barcode value
     */
    getOneDCodeText()
    {
        return this.getJavaClass().getOneDCodeTextSync();
    }

    /**
     * <p>Gets the 2D barcode type of GS1 Composite</p>Value: 2D barcode type
     */
    getTwoDType()
    {
        return this.getJavaClass().getTwoDTypeSync();
    }

    /**
     * <p>Gets the 2D barcode value of GS1 Composite</p>Value: 2D barcode value
     */
    getTwoDCodeText()
    {
        return this.getJavaClass().getTwoDCodeTextSync();
    }

    /**
     * <p>
     * Returns a value indicating whether this instance is equal to a specified {@code GS1CompositeBarExtendedParameters} value.
     * </p>
     * @return {@code <b>true</b>} if obj has the same value as this instance; otherwise, {@code <b>false</b>}.
     * @param obj An System.Object value to compare to this instance.
     */
    equals(obj)
    {
        return this.getJavaClass().equalsSync(obj.getJavaClass());
    }

    /**
     * <p>
     * Returns the hash code for this instance.
     * </p>
     * @return A 32-bit signed integer hash code.
     */
    hashCode()
    {
        return this.getJavaClass().hashCodeSync();
    }

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

module.exports = GS1CompositeBarExtendedParameters;