def __init__(self,
                 record_type='',
                 transaction_sequence_n=0,
                 record_sequence_n=0,
                 submitter_work_n='',
                 title='',
                 version_type=None,
                 musical_work_distribution_category=None,
                 date_publication_printed_edition=None,
                 text_music_relationship=None,
                 language_code=None,
                 copyright_number='',
                 copyright_date=None,
                 music_arrangement=None,
                 lyric_adaptation=None,
                 excerpt_type=None,
                 composite_type=None,
                 composite_component_count=1,
                 iswc=None,
                 work_type=None,
                 duration=None,
                 catalogue_number='',
                 opus_number='',
                 contact_id='',
                 contact_name='',
                 recorded_indicator='U',
                 priority_flag='U',
                 exceptional_clause='U',
                 grand_rights_indicator=False
                 ):
        """
        Constructs a WorkRecord.

        :param record_type: type of record
        :param transaction_sequence_n: position in the transactions sequence
        :param record_sequence_n: position in the records sequence
        :param submitter_work_n: number given by the submitter to the work
        :param title: work's title
        :param version_type: type of versioning this work represents, if any
        :param musical_work_distribution_category: type of work for
        distributions
        :param date_publication_printed_edition: date in which this edition was
        printed
        :param text_music_relationship: relationship between the text and the
        music
        :param language_code: work's language
        :param copyright_number: original copyright number
        :param copyright_date: original copyright date
        :param music_arrangement: musical arrangement, if any
        :param lyric_adaptation: lyrical adaptation, if any
        :param excerpt_type: type of excerpt, if any
        :param composite_type: type of composition, if any
        :param composite_component_count: numbers of components in a composition
        :param iswc: work's ISWC
        :param work_type: CWR work type
        :param duration: duration of the work
        :param catalogue_number: catalogue number
        :param opus_number: opus number
        :param contact_id: id for the work's contact persion
        :param contact_name: name of the work's contact person
        :param recorded_indicator: indicates if the work has been recorded
        :param priority_flag: indicates if the works should be given priority
        :param exceptional_clause: indicates if the GEMA exceptional clause
        applies
        :param grand_rights_indicator: indicates if the work was originally
        intended for performance on stage
        """
        super(WorkRecord, self).__init__(
            record_type,
            transaction_sequence_n,
            record_sequence_n,
            title,
            language_code,
            iswc
        )
        # Work identifying info
        self._submitter_work_n = submitter_work_n
        self._date_publication_printed_edition = \
            date_publication_printed_edition

        # Copyright
        self._copyright_date = copyright_date
        self._copyright_number = copyright_number

        # Musical info
        self._text_music_relationship = text_music_relationship
        self._music_arrangement = music_arrangement
        self._lyric_adaptation = lyric_adaptation
        self._composite_type = composite_type
        self._composite_component_count = composite_component_count
        self._duration = duration
        self._version_type = version_type
        self._excerpt_type = excerpt_type
        self._opus_number = opus_number

        # Distribution and publication info
        self._musical_work_distribution_category = \
            musical_work_distribution_category
        self._grand_rights_indicator = grand_rights_indicator
        self._recorded_indicator = recorded_indicator
        self._exceptional_clause = exceptional_clause
        self._catalogue_number = catalogue_number

        # International info
        self._work_type = work_type

        # Contact info
        self._contact_id = contact_id
        self._contact_name = contact_name

        # Other info
        self._priority_flag = priority_flag
def __init__ ( self , record_type = '' , transaction_sequence_n = 0 , record_sequence_n = 0 , submitter_work_n = '' , title = '' , version_type = None , musical_work_distribution_category = None , date_publication_printed_edition = None , text_music_relationship = None , language_code = None , copyright_number = '' , copyright_date = None , music_arrangement = None , lyric_adaptation = None , excerpt_type = None , composite_type = None , composite_component_count = 1 , iswc = None , work_type = None , duration = None , catalogue_number = '' , opus_number = '' , contact_id = '' , contact_name = '' , recorded_indicator = 'U' , priority_flag = 'U' , exceptional_clause = 'U' , grand_rights_indicator = False ) : super ( WorkRecord , self ) . __init__ ( record_type , transaction_sequence_n , record_sequence_n , title , language_code , iswc ) self . _submitter_work_n = submitter_work_n self . _date_publication_printed_edition = date_publication_printed_edition self . _copyright_date = copyright_date self . _copyright_number = copyright_number self . _text_music_relationship = text_music_relationship self . _music_arrangement = music_arrangement self . _lyric_adaptation = lyric_adaptation self . _composite_type = composite_type self . _composite_component_count = composite_component_count self . _duration = duration self . _version_type = version_type self . _excerpt_type = excerpt_type self . _opus_number = opus_number self . _musical_work_distribution_category = musical_work_distribution_category self . _grand_rights_indicator = grand_rights_indicator self . _recorded_indicator = recorded_indicator self . _exceptional_clause = exceptional_clause self . _catalogue_number = catalogue_number self . _work_type = work_type self . _contact_id = contact_id self . _contact_name = contact_name self . _priority_flag = priority_flag
Constructs a WorkRecord.

        :param record_type: type of record
        :param transaction_sequence_n: position in the transactions sequence
        :param record_sequence_n: position in the records sequence
        :param submitter_work_n: number given by the submitter to the work
        :param title: work's title
        :param version_type: type of versioning this work represents, if any
        :param musical_work_distribution_category: type of work for
        distributions
        :param date_publication_printed_edition: date in which this edition was
        printed
        :param text_music_relationship: relationship between the text and the
        music
        :param language_code: work's language
        :param copyright_number: original copyright number
        :param copyright_date: original copyright date
        :param music_arrangement: musical arrangement, if any
        :param lyric_adaptation: lyrical adaptation, if any
        :param excerpt_type: type of excerpt, if any
        :param composite_type: type of composition, if any
        :param composite_component_count: numbers of components in a composition
        :param iswc: work's ISWC
        :param work_type: CWR work type
        :param duration: duration of the work
        :param catalogue_number: catalogue number
        :param opus_number: opus number
        :param contact_id: id for the work's contact persion
        :param contact_name: name of the work's contact person
        :param recorded_indicator: indicates if the work has been recorded
        :param priority_flag: indicates if the works should be given priority
        :param exceptional_clause: indicates if the GEMA exceptional clause
        applies
        :param grand_rights_indicator: indicates if the work was originally
        intended for performance on stage