MaxiCodeStructuredSecondMessage

MaxiCodeStructuredSecondMessage class

Class for encoding and decoding structured second message for MaxiCode barcode.

new MaxiCodeStructuredSecondMessage()

Methods

NameDescription
add(identifier)Adds new identifier
clear()Clear identifiers list
equals(obj)Returns a value indicating whether this instance is equal to a specified value.
getHashCode()Returns the hash code for this instance.
getIdentifiers()Gets identifiers list
getMessage()Gets constructed second message
getYear()Gets year. Year must be 2 digit integer value.
setYear()Sets year. Year must be 2 digit integer value.

add(identifier)

Adds new identifier

ParameterDescription
identifierIdentifier to be added

clear()

Clear identifiers list

equals(obj)

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

ParameterDescription
obj“obj”>An value to compare to this instance.

Returns: true if obj has the same value as this instance; otherwise, false .

getHashCode()

Returns the hash code for this instance.

Returns: A 32-bit signed integer hash code.

getIdentifiers()

Gets identifiers list

Returns: List of identifiers

getMessage()

Gets constructed second message

Returns: Constructed second message

getYear()

Gets year. Year must be 2 digit integer value.

setYear()

Sets year. Year must be 2 digit integer value.