1 9 package com.ziclix.python.sql; 10 11 import org.python.core.PyClass; 12 import org.python.core.PyInteger; 13 14 23 public final class DBApiType extends PyInteger { 24 25 28 public static PyClass __class__; 29 30 35 public DBApiType(int type) { 36 super(type); 37 } 38 39 44 public DBApiType(Integer type) { 45 super(type.intValue()); 46 } 47 48 53 protected PyClass getPyClass() { 54 return __class__; 55 } 56 } 57 | Popular Tags |