#NEWLINE# @ commentable #NEWLINE# @ ownable #NEWLINE# def create( self ) : #NEWLINE# #INDENT# 'Return SQL statements to CREATE the composite type\n\n        :return: SQL statements\n        ' #NEWLINE# attrs = [ ] #NEWLINE# for att in self . attributes : #NEWLINE# #INDENT# attrs . append ( ( '    ' + att . add ( ) [ 0 ] ) ) #NEWLINE# #UNINDENT# return [ ( 'CREATE TYPE %s AS (%s)' % ( self . qualname ( ) , ',\n' . join ( attrs ) ) ) ]