#NEWLINE# def str( self ) : #NEWLINE# #INDENT# '\n        Get the string representation of the C{Notification} instance.\n\n        @return: the string representation of the C{Notification} instance.\n        ' #NEWLINE# msg = ( 'Notification Name: ' + self . getName ( ) ) #NEWLINE# bd = 'None' #NEWLINE# if ( self . body is not None ) : #NEWLINE# #INDENT# bd = str ( self . body ) #NEWLINE# #UNINDENT# ty = 'None' #NEWLINE# if ( self . type is not None ) : #NEWLINE# #INDENT# ty = self . type #NEWLINE# #UNINDENT# msg += ( '\nBody:' + bd ) #NEWLINE# msg += ( '\nType:' + ty ) #NEWLINE# return msg