com.atid.lib.module.barcode.ssi.type

## Class CodeLength

- java.lang.Object
- - com.atid.lib.module.barcode.ssi.type.CodeLength

-     public class CodeLength
      extends java.lang.Object

  The length of a code refers to the number of characters (i.e., human readable characters), including check digit(s) the code contains. Set lengths to any length, one or two discrete lengths, or lengths within a specific range.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CodeLength()`
    `CodeLength(int length1, int length2)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getLength1()`
    `int` | `getLength2()`
    `CodeLengthType` | `getLengthType()`
    `void` | `setLength(int length1, int length2)`
    `void` | `setLengthType(CodeLengthType type)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CodeLength

          public CodeLength()

    - #### CodeLength

          public CodeLength(int length1,
                            int length2)

  - ### Method Detail

    - #### getLengthType

          public CodeLengthType getLengthType()

    - #### setLengthType

          public void setLengthType(CodeLengthType type)

    - #### getLength1

          public int getLength1()

    - #### getLength2

          public int getLength2()

    - #### setLength

          public void setLength(int length1,
                                int length2)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`