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 | |
None | __init__ (self) |
bool | equals (self, SecondaryAndAdditionalData obj) |
Returns a value indicating whether this instance is equal to a specified SecondaryAndAdditionalData value. More... | |
datetime | getDateOfManufacture (self) |
Identifies date of manufacture. More... | |
datetime | getExpiryDate (self) |
Identifies expiry date. More... | |
HIBCLICDateFormat | getExpiryDateFormat (self) |
Identifies expiry date format. More... | |
str | getLotNumber (self) |
Identifies lot or batch number. More... | |
int | getQuantity (self) |
Identifies quantity, must be integer value from 0 to 500. More... | |
str | getSerialNumber (self) |
Identifies serial number. More... | |
int | hashCode (self) |
Returns the hash code for this instance. More... | |
def | init (self) |
None | parseFromString (self, str secondaryDataCodetext) |
Instantiates secondary and additional supplemental data from string format according HIBC LIC specification. More... | |
None | setDateOfManufacture (self, datetime value) |
Identifies date of manufacture. More... | |
None | setExpiryDate (self, datetime value) |
Identifies expiry date. More... | |
None | setExpiryDateFormat (self, HIBCLICDateFormat value) |
Identifies expiry date format. More... | |
None | setLotNumber (self, Optional[str] value) |
Identifies lot or batch number. More... | |
None | setQuantity (self, int value) |
Identifies quantity, must be integer value from 0 to 500. More... | |
None | setSerialNumber (self, Optional[str] value) |
Identifies serial number. More... | |
str | toString (self) |
Converts data to string format according HIBC LIC specification. 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 | |
SecondaryAndAdditionalData | 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 | |
Class for storing HIBC LIC secondary and additional data.
None __init__ | ( | self | ) |
|
static |
bool equals | ( | self, | |
SecondaryAndAdditionalData | obj | ||
) |
Returns a value indicating whether this instance is equal to a specified SecondaryAndAdditionalData value.
obj:An SecondaryAndAdditionalData value to compare to this instance. |
datetime 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
datetime getExpiryDate | ( | self | ) |
Identifies expiry date.
Will be used if ExpiryDateFormat is not set to None.
HIBCLICDateFormat getExpiryDateFormat | ( | self | ) |
Identifies expiry date format.
str getLotNumber | ( | self | ) |
Identifies lot or batch number.
Lot/batch number must be alphanumeric string with up to 18 sybmols length.
int 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
str getSerialNumber | ( | self | ) |
Identifies serial number.
Serial number must be alphanumeric string up to 18 sybmols length.
int hashCode | ( | self | ) |
Returns the hash code for this instance.
def init | ( | self | ) |
Reimplemented from BaseJavaClass.
None parseFromString | ( | self, | |
str | secondaryDataCodetext | ||
) |
Instantiates secondary and additional supplemental data from string format according HIBC LIC specification.
secondaryDataCodetext:Formatted string. |
None setDateOfManufacture | ( | self, | |
datetime | 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
None setExpiryDate | ( | self, | |
datetime | value | ||
) |
Identifies expiry date.
Will be used if ExpiryDateFormat is not set to None.
None setExpiryDateFormat | ( | self, | |
HIBCLICDateFormat | value | ||
) |
Identifies expiry date format.
None setLotNumber | ( | self, | |
Optional[str] | value | ||
) |
Identifies lot or batch number.
Lot/batch number must be alphanumeric string with up to 18 sybmols length.
None setQuantity | ( | self, | |
int | 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
None setSerialNumber | ( | self, | |
Optional[str] | value | ||
) |
Identifies serial number.
Serial number must be alphanumeric string up to 18 sybmols length.
str toString | ( | self | ) |
Converts data to string format according HIBC LIC specification.
|
static |