def get_java_type(self): if not self.type in pg2javaMap and not self.type in pg2javaMapNotNull: return java.camel_case(self.type) elif self.isNullable: return pg2javaMap[self.type] else: return pg2javaMapNotNull[self.type]
def getClassName(self): return java.camel_case(self.name)