#NEWLINE# def buildAttributeTemplate( self , object ) : #NEWLINE# #INDENT# attribute_list_message = AttributeListMessage ( ) #NEWLINE# attribute_list_message . object_id = object . id #NEWLINE# attributes = AttributeList ( ) #NEWLINE# SetOptionalAttribute ( self , '@obj_attr_n:travel_departure_planet' , 'travel_departure_planet' , object , False ) #NEWLINE# SetOptionalAttribute ( attributes , '@obj_attr_n:travel_departure_point' , 'travel_departure_point' , object , False ) #NEWLINE# SetOptionalAttribute ( attributes , '@obj_attr_n:travel_arrival_planet' , 'travel_arrival_planet' , object , False ) #NEWLINE# SetOptionalAttribute ( attributes , '@obj_attr_n:travel_arrival_point' , 'travel_arrival_point' , object , False ) #NEWLINE# attribute_list_message . attributes = attributes #NEWLINE# return attribute_list_message