const _MwWrapper = require("../_mwbridge/_mw-wrapper.js");
const OneDExtendedParameters = require("./one-d-extended-parameters");
const Code128ExtendedParameters = require("./code-128-extended-parameters");
const QRExtendedParameters = require("./qr-extended-parameters");
const Pdf417ExtendedParameters = require("./pdf-417-extended-parameters");
const DataBarExtendedParameters = require("./databar-extended-parameters");
const MaxiCodeExtendedParameters = require("./maxicode-extended-parameters");
const DotCodeExtendedParameters = require("./dotcode-extended-parameters");
const DataMatrixExtendedParameters = require("./datamatrix-extended-parameters");
const AztecExtendedParameters = require("./aztec-extended-parameters");
const GS1CompositeBarExtendedParameters = require("./gs-1-composite-bar-extended-parameters");
const CodabarExtendedParameters = require("./codabar-extended-parameters");
/**
* Stores extended parameters of recognized barcode
*/
class BarCodeExtendedParameters extends _MwWrapper
{
_oneDParameters;
_code128Parameters;
_qrParameters;
_pdf417Parameters;
_dataBarParameters;
_maxiCodeParameters;
_dotCodeExtendedParameters;
_dataMatrixExtendedParameters;
_aztecExtendedParameters;
_gs1CompositeBarExtendedParameters;
_codabarExtendedParameters;
constructor(javaclass)
{
super(javaclass);
this._initializeWrapperMembers()
}
_initializeWrapperMembers()
{
this._oneDParameters = new OneDExtendedParameters(this.getJavaClass().getOneDSync());
this._code128Parameters = new Code128ExtendedParameters(this.getJavaClass().getCode128Sync());
this._qrParameters = new QRExtendedParameters(this.getJavaClass().getQRSync());
this._pdf417Parameters = new Pdf417ExtendedParameters(this.getJavaClass().getPdf417Sync());
this._dataBarParameters = new DataBarExtendedParameters(this.getJavaClass().getDataBarSync());
this._maxiCodeParameters = new MaxiCodeExtendedParameters(this.getJavaClass().getMaxiCodeSync());
this._dotCodeExtendedParameters = new DotCodeExtendedParameters(this.getJavaClass().getDotCodeSync());
this._dataMatrixExtendedParameters = new DataMatrixExtendedParameters(this.getJavaClass().getDataMatrixSync());
this._aztecExtendedParameters = new AztecExtendedParameters(this.getJavaClass().getAztecSync());
this._gs1CompositeBarExtendedParameters = new GS1CompositeBarExtendedParameters(this.getJavaClass().getGS1CompositeBarSync());
this._codabarExtendedParameters = new CodabarExtendedParameters(this.getJavaClass().getCodabarSync());
}
/**
* Gets a DataBar additional information DataBarExtendedParameters of recognized barcode<br>
* @return mixed A DataBar additional information DataBarExtendedParameters of recognized barcode
*/
getDataBar()
{
return this._dataBarParameters;
}
/**
* Gets a MaxiCode additional information<see cref="MaxiCodeExtendedParameters"/> of recognized barcode
*
* @return A MaxiCode additional information<see cref="MaxiCodeExtendedParameters"/> of recognized barcode
*/
getMaxiCode()
{
return this._maxiCodeParameters;
}
/**
* Gets a special data OneDExtendedParameters of 1D recognized barcode Value: A special data OneDExtendedParameters of 1D recognized barcode
*/
getOneD()
{
return this._oneDParameters;
}
/**
* <p>Gets a DotCode additional information{@code DotCodeExtendedParameters} of recognized barcode</p>Value: A DotCode additional information{@code DotCodeExtendedParameters} of recognized barcode
*/
getDotCode()
{
return this._dotCodeExtendedParameters;
}
/**
* <p>Gets a DotCode additional information{@code DotCodeExtendedParameters} of recognized barcode</p>Value: A DotCode additional information{@code DotCodeExtendedParameters} of recognized barcode
*/
getDataMatrix()
{
return this._dataMatrixExtendedParameters;
}
/**
* <p>Gets a Aztec additional information{@code AztecExtendedParameters} of recognized barcode</p>Value: A Aztec additional information{@code AztecExtendedParameters} of recognized barcode
*/
getAztec()
{
return this._aztecExtendedParameters;
}
/**
* <p>Gets a GS1CompositeBar additional information{@code GS1CompositeBarExtendedParameters} of recognized barcode</p>Value: A GS1CompositeBar additional information{@code GS1CompositeBarExtendedParameters} of recognized barcode
*/
getGS1CompositeBar()
{
return this._gs1CompositeBarExtendedParameters;
}
/**
* Gets a Codabar additional information{@code CodabarExtendedParameters} of recognized barcode
* @return A Codabar additional information{@code CodabarExtendedParameters} of recognized barcode
*/
getCodabar()
{
return this._codabarExtendedParameters;
}
/**
* Gets a special data Code128ExtendedParameters of Code128 recognized barcode Value: A special data Code128ExtendedParameters of Code128 recognized barcode
*/
getCode128()
{
return this._code128Parameters;
}
/**
* Gets a QR Structured Append information QRExtendedParameters of recognized barcode Value: A QR Structured Append information QRExtendedParameters of recognized barcode
*/
getQR()
{
return this._qrParameters;
}
/**
* Gets a MacroPdf417 metadata information Pdf417ExtendedParameters of recognized barcode Value: A MacroPdf417 metadata information Pdf417ExtendedParameters of recognized barcode
*/
getPdf417()
{
return this._pdf417Parameters;
}
/**
* Returns a value indicating whether this instance is equal to a specified BarCodeExtendedParameters value.<br>
*
* @param obj An System.Object value to compare to this instance.
* @return true if obj has the same value as this instance; otherwise, false.
*/
equals(obj)
{
return this.getJavaClass().equalsSync(obj.getJavaClass());
}
/**
* Returns the hash code for this instance.
*
* @return A 32-bit signed integer hash code.
*/
hashCode()
{
return this.getJavaClass().hashCodeSync();
}
/**
* Returns a human-readable string representation of this BarCodeExtendedParameters.
*
* @return A string that represents this BarCodeExtendedParameters.
*/
toString()
{
return this.getJavaClass().toStringSync();
}
}
module.exports = BarCodeExtendedParameters