Aspose.Barcode for Python via Java Generation and Recognition API docs

Class for storing HIBC LIC secondary and additional data. More...

Inherits BaseJavaClass.

Public Member Functions

def __init__ (self)
 
def getExpiryDateFormat (self)
 Identifies expiry date format. More...
 
def setExpiryDateFormat (self, value)
 Identifies expiry date format. More...
 
def getExpiryDate (self)
 Identifies expiry date. More...
 
def setExpiryDate (self, value)
 Identifies expiry date. More...
 
def getLotNumber (self)
 Identifies lot or batch number. More...
 
def setLotNumber (self, value)
 Identifies lot or batch number. More...
 
def getSerialNumber (self)
 Identifies serial number. More...
 
def setSerialNumber (self, value)
 Identifies serial number. More...
 
def getDateOfManufacture (self)
 Identifies date of manufacture. More...
 
def setDateOfManufacture (self, value)
 Identifies date of manufacture. More...
 
def getQuantity (self)
 Identifies quantity, must be integer value from 0 to 500. More...
 
def setQuantity (self, value)
 Identifies quantity, must be integer value from 0 to 500. More...
 
def toString (self)
 Converts data to string format according HIBC LIC specification. More...
 
def parseFromString (self, secondaryDataCodetext)
 Instantiates secondary and additional supplemental data from string format according HIBC LIC specification. More...
 
def equals (self, obj)
 Returns a value indicating whether this instance is equal to a specified. More...
 
def hashCode (self)
 Returns the hash code for this instance. More...
 
def init (self)
 
- Public Member Functions inherited from BaseJavaClass
def __init__ (self, javaClass)
 
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Static Public Member Functions

def construct (java_class)
 

Static Public Attributes

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

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Class for storing HIBC LIC secondary and additional data.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Member Function Documentation

◆ construct()

def construct (   java_class)
static

◆ equals()

def equals (   self,
  obj 
)

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

SecondaryAndAdditionalData

value.

Parameters
obj:An
SecondaryAndAdditionalData
value to compare to this instance. @:return:
<b>true</b>
if obj has the same value as this instance; otherwise,
<b>false</b>
.

◆ getDateOfManufacture()

def getDateOfManufacture (   self)

Identifies date of manufacture.

Date of manufacture can be set to DateTime.MinValue in order not to use this field. Default value: DateTime.MinValue

◆ getExpiryDate()

def getExpiryDate (   self)

Identifies expiry date.

Will be used if ExpiryDateFormat is not set to None.

◆ getExpiryDateFormat()

def getExpiryDateFormat (   self)

Identifies expiry date format.

◆ getLotNumber()

def getLotNumber (   self)

Identifies lot or batch number.

Lot/batch number must be alphanumeric string with up to 18 sybmols length.

◆ getQuantity()

def getQuantity (   self)

Identifies quantity, must be integer value from 0 to 500.

Quantity can be set to -1 in order not to use this field. Default value: -1

◆ getSerialNumber()

def getSerialNumber (   self)

Identifies serial number.

Serial number must be alphanumeric string up to 18 sybmols length.

◆ hashCode()

def hashCode (   self)

Returns the hash code for this instance.

@:return: A 32-bit signed integer hash code.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ parseFromString()

def parseFromString (   self,
  secondaryDataCodetext 
)

Instantiates secondary and additional supplemental data from string format according HIBC LIC specification.

Parameters
secondaryDataCodetext:Formatted string.

◆ setDateOfManufacture()

def setDateOfManufacture (   self,
  value 
)

Identifies date of manufacture.

Date of manufacture can be set to DateTime.MinValue in order not to use this field. Default value: DateTime.MinValue

◆ setExpiryDate()

def setExpiryDate (   self,
  value 
)

Identifies expiry date.

Will be used if ExpiryDateFormat is not set to None.

◆ setExpiryDateFormat()

def setExpiryDateFormat (   self,
  value 
)

Identifies expiry date format.

◆ setLotNumber()

def setLotNumber (   self,
  value 
)

Identifies lot or batch number.

Lot/batch number must be alphanumeric string with up to 18 sybmols length.

◆ setQuantity()

def setQuantity (   self,
  value 
)

Identifies quantity, must be integer value from 0 to 500.

Quantity can be set to -1 in order not to use this field. Default value: -1

◆ setSerialNumber()

def setSerialNumber (   self,
  value 
)

Identifies serial number.

Serial number must be alphanumeric string up to 18 sybmols length.

◆ toString()

def toString (   self)

Converts data to string format according HIBC LIC specification.

@:return:Formatted string.

Member Data Documentation

◆ JAVA_CLASS_NAME

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