const _MwWrapper = require("../_mwbridge/_mw-wrapper");
/**
* <p>
* Represents a jurisdiction-specific data field used in documents,
* for example ElementID = "ZVA" with Value = "01".
* </p>
*/
class DataElement extends _MwWrapper
{
constructor(nativeObject)
{
super(nativeObject);
}
_initializeWrapperMembers()
{
}
/**
* <p>
* A 3-character code that identifies the jurisdiction-specific field, e.g., "ZVA".
* </p>
*/
getElementID()
{
return this.getJavaClass().getElementIDSync();
}
/**
* <p>
* A 3-character code that identifies the jurisdiction-specific field, e.g., "ZVA".
* </p>
*/
setElementID(value)
{
this.getJavaClass().setElementIDSync(value);
}
/**
* <p>
* The text value associated with the field, typically defined by jurisdiction rules.
* </p>
*/
getValue()
{
return this.getJavaClass().getValueSync();
}
/**
* <p>
* The text value associated with the field, typically defined by jurisdiction rules.
* </p>
*/
setValue(value)
{
this.getJavaClass().setValueSync(value);
}
}
module.exports = DataElement