code: def type_str(self, short=False):
          
          if short:
              return javabridge.static_call(
                  "weka/core/Attribute", "typeToStringShort", "(Lweka/core/Attribute;)Ljava/lang/String;",
                  self.jobject)
          else:
              return javabridge.static_call(
                  "weka/core/Attribute", "typeToString", "(Lweka/core/Attribute;)Ljava/lang/String;",
                  self.jobject)
docs: Returns the type of the attribute as string.
  
          :return: the type
          :rtype: str