com.aspose.barcode.barcoderecognition

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 and Description
      Code128DataPortion(int code128SubType, java.lang.String data)
      Creates a new instance of the Code128DataPortion class with start code symbol and decoded codetext.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Code128DataPortion

        public Code128DataPortion(int code128SubType,
                                  java.lang.String data)

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

        Parameters:
        code128SubType - A start encoding symbol
        data - A partial codetext
    • 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 class java.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>.
      • op_Equality

        public static boolean op_Equality(Code128DataPortion first,
                                          Code128DataPortion second)

        Returns a value indicating whether the first Code128DataPortion value is equal to the second.

        Parameters:
        first - A first compared value
        second - A second compared value
        Returns:
        <b>true</b> if first has the same value as second; otherwise, <b>false</b>.
      • op_Inequality

        public static boolean op_Inequality(Code128DataPortion first,
                                            Code128DataPortion second)

        Returns a value indicating if the first Code128DataPortion value is different from the second.

        Parameters:
        first - A first compared value
        second - A second compared value
        Returns:
        <b>true</b> if first has the different value from second; otherwise, <b>false</b>.
      • hashCode

        public int hashCode()

        Returns the hash code for this instance.

        Overrides:
        hashCode in class java.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 class java.lang.Object
        Returns:
        A string that represents this Code128DataPortion.