getType method

String getType()

Implementation

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