Class Code128DataPortion
- java.lang.Object
-
- com.aspose.barcode.barcoderecognition.Code128DataPortion
-
public class Code128DataPortion extends java.lang.Object
Contains the data of subtype for Code128 type barcode
-
-
Constructor Summary
Constructors Constructor Description Code128DataPortion(int code128SubType, java.lang.String data)
Creates a new instance of theCode128DataPortion
class with start code symbol and decoded codetext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specifiedCode128DataPortion
value.int
getCode128SubType()
Gets the type of Code128 subsetjava.lang.String
getData()
Gets the part of code text related to subtype.int
hashCode()
Returns the hash code for this instance.void
setData(java.lang.String value)
Gets the part of code text related to subtype.java.lang.String
toString()
Returns a human-readable string representation of thisCode128DataPortion
.
-
-
-
Method Detail
-
getData
public java.lang.String getData()
Gets the part of code text related to subtype.
- Returns:
- The part of code text related to subtype
-
setData
public void setData(java.lang.String value)
Gets the part of code text related to subtype.
-
getCode128SubType
public int getCode128SubType()
Gets the type of Code128 subset
- Returns:
- The type of Code128 subset
-
equals
public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified
Code128DataPortion
value.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- An System.Object value to compare to this instance.- Returns:
<b>true</b>
if obj has the same value as this instance; otherwise,<b>false</b>
.
-
hashCode
public int hashCode()
Returns the hash code for this instance.
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- A 32-bit signed integer hash code.
-
toString
public java.lang.String toString()
Returns a human-readable string representation of this
Code128DataPortion
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string that represents this
Code128DataPortion
.
-
-