Code128DataPortion

Inheritance: java.lang.Object

public class Code128DataPortion

Contains the data of subtype for Code128 type barcode

Constructors

ConstructorDescription
Code128DataPortion(int code128SubType, String data)Creates a new instance of the Code128DataPortion class with start code symbol and decoded codetext.

Methods

MethodDescription
equals(Object obj)Returns a value indicating whether this instance is equal to a specified Code128DataPortion value.
getClass()
getCode128SubType()Gets the type of Code128 subset
getData()Gets the part of code text related to subtype.
hashCode()Returns the hash code for this instance.
notify()
notifyAll()
setData(String value)Gets the part of code text related to subtype.
toString()Returns a human-readable string representation of this Code128DataPortion .
wait()
wait(long arg0)
wait(long arg0, int arg1)

Code128DataPortion(int code128SubType, String data)

public Code128DataPortion(int code128SubType, String data)

Creates a new instance of the Code128DataPortion class with start code symbol and decoded codetext.

Parameters:

ParameterTypeDescription
code128SubTypeintA start encoding symbol
datajava.lang.StringA partial codetext

equals(Object obj)

public boolean equals(Object obj)

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

Parameters:

ParameterTypeDescription
objjava.lang.ObjectAn System.Object value to compare to this instance.

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

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCode128SubType()

public int getCode128SubType()

Gets the type of Code128 subset

Returns: int - The type of Code128 subset

getData()

public String getData()

Gets the part of code text related to subtype.

Returns: java.lang.String - The part of code text related to subtype

hashCode()

public int hashCode()

Returns the hash code for this instance.

Returns: int - A 32-bit signed integer hash code.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setData(String value)

public void setData(String value)

Gets the part of code text related to subtype.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns a human-readable string representation of this Code128DataPortion .

Returns: java.lang.String - A string that represents this Code128DataPortion .

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int