getType method

String getType()

Implementation

String getType(){
  switch(this){
    case TCodeType.code128:
      return "128";
    case TCodeType.code39:
      return "39";
    case TCodeType.code93:
      return "93";
    case TCodeType.itf:
      return "ITF";
    case TCodeType.upca:
      return "UPCA";
    case TCodeType.upce:
      return "UPCE";
    case TCodeType.codeBar:
      return "CODABAR";
    case TCodeType.ean8:
      return "EAN8";
      case TCodeType.ean13:
    return "EAN13";
  }
}