Aspose.BarCode for Python via Java  24.11
Aspose.Barcode for Python via Java Generation and Recognition API docs
PrimaryData Class Reference

Class for storing HIBC LIC primary data. More...

Inherits BaseJavaClass.

Public Member Functions

None __init__ (self)
 
bool __eq__ (self, PrimaryData other)
 Returns a value indicating whether this instance is equal to a specified PrimaryData value. More...
 
int __hash__ (self)
 Returns the hash code for the current instance. More...
 
str __str__ (self)
 Converts data to string format according HIBC LIC specification. More...
 
str getLabelerIdentificationCode (self)
 Gets the identification date of the labeler identification code. More...
 
str getProductOrCatalogNumber (self)
 Identifies product or catalog number. More...
 
int getUnitOfMeasureID (self)
 Identifies unit of measure ID. More...
 
def init (self)
 
None parseFromString (self, str primaryDataCodetext)
 Instantiates primary data from string format according HIBC LIC specification. More...
 
None setLabelerIdentificationCode (self, str value)
 Sets the identification date for the labeler code. More...
 
None setProductOrCatalogNumber (self, str value)
 Identifies product or catalog number. More...
 
None setUnitOfMeasureID (self, int value)
 Identifies unit of measure ID. More...
 
- Public Member Functions inherited from BaseJavaClass
None __init__ (self, javaClass)
 
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Static Public Member Functions

PrimaryData construct (java_class)
 

Static Public Attributes

string JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.MwPrimaryData"
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Class for storing HIBC LIC primary data.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self)

Member Function Documentation

◆ __eq__()

bool __eq__ (   self,
PrimaryData  other 
)

Returns a value indicating whether this instance is equal to a specified PrimaryData value.

Parameters
obj:An PrimaryData value to compare to this instance.
Returns
: True if obj has the same value as this instance; otherwise, False.

◆ __hash__()

int __hash__ (   self)

Returns the hash code for the current instance.

Returns
A hash code for the current object.

◆ __str__()

str __str__ (   self)

Converts data to string format according HIBC LIC specification.

Returns
:Formatted string.

◆ construct()

PrimaryData construct (   java_class)
static

◆ getLabelerIdentificationCode()

str getLabelerIdentificationCode (   self)

Gets the identification date of the labeler identification code.

Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.

◆ getProductOrCatalogNumber()

str getProductOrCatalogNumber (   self)

Identifies product or catalog number.

◆ getUnitOfMeasureID()

int getUnitOfMeasureID (   self)

Identifies unit of measure ID.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ parseFromString()

None parseFromString (   self,
str  primaryDataCodetext 
)

Instantiates primary data from string format according HIBC LIC specification.

Parameters
primaryDataCodetext:Formatted string.

◆ setLabelerIdentificationCode()

None setLabelerIdentificationCode (   self,
str  value 
)

Sets the identification date for the labeler code.

Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.

◆ setProductOrCatalogNumber()

None setProductOrCatalogNumber (   self,
str  value 
)

Identifies product or catalog number.

◆ setUnitOfMeasureID()

None setUnitOfMeasureID (   self,
int  value 
)

Identifies unit of measure ID.

Member Data Documentation

◆ JAVA_CLASS_NAME

string JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.MwPrimaryData"
static