const _MwWrapper = require("../_mwbridge/_mw-wrapper.js");
/**
* Contains the data of subtype for Code128 type barcode
*/
class Code128DataPortion extends _MwWrapper
{
/**
* Creates a new instance of the {@code Code128DataPortion} class with start code symbol and decoded codetext.
*/
constructor(javaclass)
{
super(javaclass);
this._initializeWrapperMembers()
}
_initializeWrapperMembers()
{
}
/**
* Gets the part of code text related to subtype.
*
* @return The part of code text related to subtype
*/
getData()
{
return this.getJavaClass().getDataSync();
}
/**
* Gets the type of Code128 subset
*
* @return The type of Code128 subset
*/
getCode128SubType()
{
return this.getJavaClass().getCode128SubTypeSync();
}
/**
* Returns a human-readable string representation of this {@code Code128DataPortion}.
* @return A string that represents this {@code Code128DataPortion}.
*/
toString()
{
return this.getJavaClass().toStringSync();
}
}
module.exports = Code128DataPortion;