public class Code128DataPortion
extends java.lang.Object
Contains the data of subtype for Code128 type barcode
Constructor and Description |
---|
Code128DataPortion(int code128SubType,
java.lang.String data)
Creates a new instance of the
Code128DataPortion class with start code symbol and decoded codetext. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified
Code128DataPortion value. |
int |
getCode128SubType()
Gets the type of Code128 subset
|
java.lang.String |
getData()
Gets the part of code text related to subtype.
|
int |
hashCode()
Returns the hash code for this instance.
|
static boolean |
op_Equality(Code128DataPortion first,
Code128DataPortion second)
Returns a value indicating whether the first
Code128DataPortion value is equal to the second. |
static boolean |
op_Inequality(Code128DataPortion first,
Code128DataPortion second)
Returns a value indicating if the first
Code128DataPortion value is different from the second. |
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 this
Code128DataPortion . |
public Code128DataPortion(int code128SubType, java.lang.String data)
Creates a new instance of the Code128DataPortion
class with start code symbol and decoded codetext.
code128SubType
- A start encoding symboldata
- A partial codetextpublic java.lang.String getData()
Gets the part of code text related to subtype.
public void setData(java.lang.String value)
Gets the part of code text related to subtype.
public int getCode128SubType()
Gets the type of Code128 subset
public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified Code128DataPortion
value.
equals
in class java.lang.Object
obj
- An System.Object value to compare to this instance.<b>true</b>
if obj has the same value as this instance; otherwise, <b>false</b>
.public static boolean op_Equality(Code128DataPortion first, Code128DataPortion second)
Returns a value indicating whether the first Code128DataPortion
value is equal to the second.
first
- A first compared valuesecond
- A second compared value<b>true</b>
if first has the same value as second; otherwise, <b>false</b>
.public static boolean op_Inequality(Code128DataPortion first, Code128DataPortion second)
Returns a value indicating if the first Code128DataPortion
value is different from the second.
first
- A first compared valuesecond
- A second compared value<b>true</b>
if first has the different value from second; otherwise, <b>false</b>
.public int hashCode()
Returns the hash code for this instance.
hashCode
in class java.lang.Object
public java.lang.String toString()
Returns a human-readable string representation of this Code128DataPortion
.
toString
in class java.lang.Object
Code128DataPortion
.