-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfpml_cdapp.py
More file actions
2978 lines (2149 loc) · 152 KB
/
Copy pathfpml_cdapp.py
File metadata and controls
2978 lines (2149 loc) · 152 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/usr/bin/env python
#
# Generated Tue Feb 23 09:00:43 2016 by generateDS.py version 2.19b.
#
# Command line options:
# ('-f', '')
# ('-o', 'fpml01/fpml_cdlib.py')
# ('-s', 'fpml01/fpml_cdapp.py')
# ('--super', 'fpml01/fpml_cdlib')
# ('--member-specs', 'dict')
# ('--export', 'write')
#
# Command line arguments:
# fpml-master-schema-and-key-gen-scripts/src/schema/fpml-cd.xsd
#
# Command line:
# ./generateDS.py -f -o "fpml01/fpml_cdlib.py" -s "fpml01/fpml_cdapp.py" --super="fpml01/fpml_cdlib" --member-specs="dict" --export="write" fpml-master-schema-and-key-gen-scripts/src/schema/fpml-cd.xsd
#
# Current working directory (os.getcwd()):
# Test02
#
import sys
from lxml import etree as etree_
import fpml01/fpml_cdlib as supermod
def parsexml_(infile, parser=None, **kwargs):
if parser is None:
# Use the lxml ElementTree compatible parser so that, e.g.,
# we ignore comments.
parser = etree_.ETCompatXMLParser()
doc = etree_.parse(infile, parser=parser, **kwargs)
return doc
#
# Globals
#
ExternalEncoding = 'utf-8'
#
# Data representation classes
#
class AdditionalFixedPaymentsSub(supermod.AdditionalFixedPayments):
def __init__(self, interestShortfallReimbursement=None, principalShortfallReimbursement=None, writedownReimbursement=None):
super(AdditionalFixedPaymentsSub, self).__init__(interestShortfallReimbursement, principalShortfallReimbursement, writedownReimbursement, )
supermod.AdditionalFixedPayments.subclass = AdditionalFixedPaymentsSub
# end class AdditionalFixedPaymentsSub
class AdditionalTermSub(supermod.AdditionalTerm):
def __init__(self, additionalTermScheme=None, valueOf_=None):
super(AdditionalTermSub, self).__init__(additionalTermScheme, valueOf_, )
supermod.AdditionalTerm.subclass = AdditionalTermSub
# end class AdditionalTermSub
class AdjustedPaymentDatesSub(supermod.AdjustedPaymentDates):
def __init__(self, adjustedPaymentDate=None, paymentAmount=None):
super(AdjustedPaymentDatesSub, self).__init__(adjustedPaymentDate, paymentAmount, )
supermod.AdjustedPaymentDates.subclass = AdjustedPaymentDatesSub
# end class AdjustedPaymentDatesSub
class BasketReferenceInformationSub(supermod.BasketReferenceInformation):
def __init__(self, basketName=None, basketId=None, referencePool=None, nthToDefault=None, mthToDefault=None, tranche=None):
super(BasketReferenceInformationSub, self).__init__(basketName, basketId, referencePool, nthToDefault, mthToDefault, tranche, )
supermod.BasketReferenceInformation.subclass = BasketReferenceInformationSub
# end class BasketReferenceInformationSub
class CreditOptionStrikeSub(supermod.CreditOptionStrike):
def __init__(self, spread=None, price=None, strikeReference=None):
super(CreditOptionStrikeSub, self).__init__(spread, price, strikeReference, )
supermod.CreditOptionStrike.subclass = CreditOptionStrikeSub
# end class CreditOptionStrikeSub
class DeliverableObligationsSub(supermod.DeliverableObligations):
def __init__(self, accruedInterest=None, category=None, notSubordinated=None, specifiedCurrency=None, notSovereignLender=None, notDomesticCurrency=None, notDomesticLaw=None, listed=None, notContingent=None, notDomesticIssuance=None, assignableLoan=None, consentRequiredLoan=None, directLoanParticipation=None, transferable=None, maximumMaturity=None, acceleratedOrMatured=None, notBearer=None, fullFaithAndCreditObLiability=None, generalFundObligationLiability=None, revenueObligationLiability=None, indirectLoanParticipation=None, excluded=None, othReferenceEntityObligations=None):
super(DeliverableObligationsSub, self).__init__(accruedInterest, category, notSubordinated, specifiedCurrency, notSovereignLender, notDomesticCurrency, notDomesticLaw, listed, notContingent, notDomesticIssuance, assignableLoan, consentRequiredLoan, directLoanParticipation, transferable, maximumMaturity, acceleratedOrMatured, notBearer, fullFaithAndCreditObLiability, generalFundObligationLiability, revenueObligationLiability, indirectLoanParticipation, excluded, othReferenceEntityObligations, )
supermod.DeliverableObligations.subclass = DeliverableObligationsSub
# end class DeliverableObligationsSub
class EntityTypeSub(supermod.EntityType):
def __init__(self, entityTypeScheme='http://www.fpml.org/coding-scheme/entity-type', valueOf_=None):
super(EntityTypeSub, self).__init__(entityTypeScheme, valueOf_, )
supermod.EntityType.subclass = EntityTypeSub
# end class EntityTypeSub
class FixedAmountCalculationSub(supermod.FixedAmountCalculation):
def __init__(self, calculationAmount=None, fixedRate=None, dayCountFraction=None):
super(FixedAmountCalculationSub, self).__init__(calculationAmount, fixedRate, dayCountFraction, )
supermod.FixedAmountCalculation.subclass = FixedAmountCalculationSub
# end class FixedAmountCalculationSub
class FixedRateSub(supermod.FixedRate):
def __init__(self, id=None, valueOf_=None):
super(FixedRateSub, self).__init__(id, valueOf_, )
supermod.FixedRate.subclass = FixedRateSub
# end class FixedRateSub
class FloatingAmountCalculationSub(supermod.FloatingAmountCalculation):
def __init__(self, calculationAmount=None, floatingRate=None, dayCountFraction=None, initialFixingDate=None, finalFixingDate=None):
super(FloatingAmountCalculationSub, self).__init__(calculationAmount, floatingRate, dayCountFraction, initialFixingDate, finalFixingDate, )
supermod.FloatingAmountCalculation.subclass = FloatingAmountCalculationSub
# end class FloatingAmountCalculationSub
class FloatingAmountEventsSub(supermod.FloatingAmountEvents):
def __init__(self, failureToPayPrincipal=None, interestShortfall=None, writedown=None, impliedWritedown=None, floatingAmountProvisions=None, additionalFixedPayments=None):
super(FloatingAmountEventsSub, self).__init__(failureToPayPrincipal, interestShortfall, writedown, impliedWritedown, floatingAmountProvisions, additionalFixedPayments, )
supermod.FloatingAmountEvents.subclass = FloatingAmountEventsSub
# end class FloatingAmountEventsSub
class FloatingAmountProvisionsSub(supermod.FloatingAmountProvisions):
def __init__(self, WACCapInterestProvision=None, stepUpProvision=None):
super(FloatingAmountProvisionsSub, self).__init__(WACCapInterestProvision, stepUpProvision, )
supermod.FloatingAmountProvisions.subclass = FloatingAmountProvisionsSub
# end class FloatingAmountProvisionsSub
class GeneralTermsSub(supermod.GeneralTerms):
def __init__(self, effectiveDate=None, scheduledTerminationDate=None, buyerPartyReference=None, buyerAccountReference=None, sellerPartyReference=None, sellerAccountReference=None, buyerConvention=None, dateAdjustments=None, referenceInformation=None, indexReferenceInformation=None, basketReferenceInformation=None, additionalTerm=None, substitution=None, modifiedEquityDelivery=None):
super(GeneralTermsSub, self).__init__(effectiveDate, scheduledTerminationDate, buyerPartyReference, buyerAccountReference, sellerPartyReference, sellerAccountReference, buyerConvention, dateAdjustments, referenceInformation, indexReferenceInformation, basketReferenceInformation, additionalTerm, substitution, modifiedEquityDelivery, )
supermod.GeneralTerms.subclass = GeneralTermsSub
# end class GeneralTermsSub
class IndexAnnexSourceSub(supermod.IndexAnnexSource):
def __init__(self, indexAnnexSourceScheme='http://www.fpml.org/coding-scheme/cdx-index-annex-source', valueOf_=None):
super(IndexAnnexSourceSub, self).__init__(indexAnnexSourceScheme, valueOf_, )
supermod.IndexAnnexSource.subclass = IndexAnnexSourceSub
# end class IndexAnnexSourceSub
class IndexIdSub(supermod.IndexId):
def __init__(self, indexIdScheme=None, valueOf_=None):
super(IndexIdSub, self).__init__(indexIdScheme, valueOf_, )
supermod.IndexId.subclass = IndexIdSub
# end class IndexIdSub
class IndexNameSub(supermod.IndexName):
def __init__(self, indexNameScheme=None, valueOf_=None):
super(IndexNameSub, self).__init__(indexNameScheme, valueOf_, )
supermod.IndexName.subclass = IndexNameSub
# end class IndexNameSub
class IndexReferenceInformationSub(supermod.IndexReferenceInformation):
def __init__(self, id=None, indexName=None, indexId=None, indexSeries=None, indexAnnexVersion=None, indexAnnexDate=None, indexAnnexSource=None, excludedReferenceEntity=None, tranche=None, settledEntityMatrix=None):
super(IndexReferenceInformationSub, self).__init__(id, indexName, indexId, indexSeries, indexAnnexVersion, indexAnnexDate, indexAnnexSource, excludedReferenceEntity, tranche, settledEntityMatrix, )
supermod.IndexReferenceInformation.subclass = IndexReferenceInformationSub
# end class IndexReferenceInformationSub
class InterestShortFallSub(supermod.InterestShortFall):
def __init__(self, interestShortfallCap=None, compounding=None, rateSource=None):
super(InterestShortFallSub, self).__init__(interestShortfallCap, compounding, rateSource, )
supermod.InterestShortFall.subclass = InterestShortFallSub
# end class InterestShortFallSub
class LimitedCreditDefaultSwapSub(supermod.LimitedCreditDefaultSwap):
def __init__(self, generalTerms=None, feeLeg=None, protectionTerms=None):
super(LimitedCreditDefaultSwapSub, self).__init__(generalTerms, feeLeg, protectionTerms, )
supermod.LimitedCreditDefaultSwap.subclass = LimitedCreditDefaultSwapSub
# end class LimitedCreditDefaultSwapSub
class MatrixSourceSub(supermod.MatrixSource):
def __init__(self, settledEntityMatrixSourceScheme='http://www.fpml.org/coding-scheme/settled-entity-matrix-source', valueOf_=None):
super(MatrixSourceSub, self).__init__(settledEntityMatrixSourceScheme, valueOf_, )
supermod.MatrixSource.subclass = MatrixSourceSub
# end class MatrixSourceSub
class NotDomesticCurrencySub(supermod.NotDomesticCurrency):
def __init__(self, applicable=None, currency=None):
super(NotDomesticCurrencySub, self).__init__(applicable, currency, )
supermod.NotDomesticCurrency.subclass = NotDomesticCurrencySub
# end class NotDomesticCurrencySub
class ObligationsSub(supermod.Obligations):
def __init__(self, category=None, notSubordinated=None, specifiedCurrency=None, notSovereignLender=None, notDomesticCurrency=None, notDomesticLaw=None, listed=None, notDomesticIssuance=None, fullFaithAndCreditObLiability=None, generalFundObligationLiability=None, revenueObligationLiability=None, notContingent=None, excluded=None, othReferenceEntityObligations=None, designatedPriority=None, cashSettlementOnly=None, deliveryOfCommitments=None, continuity=None):
super(ObligationsSub, self).__init__(category, notSubordinated, specifiedCurrency, notSovereignLender, notDomesticCurrency, notDomesticLaw, listed, notDomesticIssuance, fullFaithAndCreditObLiability, generalFundObligationLiability, revenueObligationLiability, notContingent, excluded, othReferenceEntityObligations, designatedPriority, cashSettlementOnly, deliveryOfCommitments, continuity, )
supermod.Obligations.subclass = ObligationsSub
# end class ObligationsSub
class PCDeliverableObligationCharacSub(supermod.PCDeliverableObligationCharac):
def __init__(self, applicable=None, partialCashSettlement=None, extensiontype_=None):
super(PCDeliverableObligationCharacSub, self).__init__(applicable, partialCashSettlement, extensiontype_, )
supermod.PCDeliverableObligationCharac.subclass = PCDeliverableObligationCharacSub
# end class PCDeliverableObligationCharacSub
class PhysicalSettlementPeriodSub(supermod.PhysicalSettlementPeriod):
def __init__(self, businessDaysNotSpecified=None, businessDays=None, maximumBusinessDays=None):
super(PhysicalSettlementPeriodSub, self).__init__(businessDaysNotSpecified, businessDays, maximumBusinessDays, )
supermod.PhysicalSettlementPeriod.subclass = PhysicalSettlementPeriodSub
# end class PhysicalSettlementPeriodSub
class ProtectionTermsSub(supermod.ProtectionTerms):
def __init__(self, id=None, calculationAmount=None, creditEvents=None, obligations=None, floatingAmountEvents=None):
super(ProtectionTermsSub, self).__init__(id, calculationAmount, creditEvents, obligations, floatingAmountEvents, )
supermod.ProtectionTerms.subclass = ProtectionTermsSub
# end class ProtectionTermsSub
class ReferenceInformationSub(supermod.ReferenceInformation):
def __init__(self, referenceEntity=None, referenceObligation=None, noReferenceObligation=None, unknownReferenceObligation=None, allGuarantees=None, referencePrice=None, referencePolicy=None, securedList=None):
super(ReferenceInformationSub, self).__init__(referenceEntity, referenceObligation, noReferenceObligation, unknownReferenceObligation, allGuarantees, referencePrice, referencePolicy, securedList, )
supermod.ReferenceInformation.subclass = ReferenceInformationSub
# end class ReferenceInformationSub
class ReferenceObligationSub(supermod.ReferenceObligation):
def __init__(self, bond=None, convertibleBond=None, mortgage=None, loan=None, primaryObligor=None, primaryObligorReference=None, guarantor=None, guarantorReference=None, standardReferenceObligation=None):
super(ReferenceObligationSub, self).__init__(bond, convertibleBond, mortgage, loan, primaryObligor, primaryObligorReference, guarantor, guarantorReference, standardReferenceObligation, )
supermod.ReferenceObligation.subclass = ReferenceObligationSub
# end class ReferenceObligationSub
class ReferencePairSub(supermod.ReferencePair):
def __init__(self, referenceEntity=None, referenceObligation=None, noReferenceObligation=None, entityType=None):
super(ReferencePairSub, self).__init__(referenceEntity, referenceObligation, noReferenceObligation, entityType, )
supermod.ReferencePair.subclass = ReferencePairSub
# end class ReferencePairSub
class ReferencePoolSub(supermod.ReferencePool):
def __init__(self, referencePoolItem=None):
super(ReferencePoolSub, self).__init__(referencePoolItem, )
supermod.ReferencePool.subclass = ReferencePoolSub
# end class ReferencePoolSub
class ReferencePoolItemSub(supermod.ReferencePoolItem):
def __init__(self, constituentWeight=None, referencePair=None, protectionTermsReference=None, settlementTermsReference=None):
super(ReferencePoolItemSub, self).__init__(constituentWeight, referencePair, protectionTermsReference, settlementTermsReference, )
supermod.ReferencePoolItem.subclass = ReferencePoolItemSub
# end class ReferencePoolItemSub
class SettledEntityMatrixSub(supermod.SettledEntityMatrix):
def __init__(self, matrixSource=None, publicationDate=None):
super(SettledEntityMatrixSub, self).__init__(matrixSource, publicationDate, )
supermod.SettledEntityMatrix.subclass = SettledEntityMatrixSub
# end class SettledEntityMatrixSub
class SingleValuationDateSub(supermod.SingleValuationDate):
def __init__(self, businessDays=None, extensiontype_=None):
super(SingleValuationDateSub, self).__init__(businessDays, extensiontype_, )
supermod.SingleValuationDate.subclass = SingleValuationDateSub
# end class SingleValuationDateSub
class SpecifiedCurrencySub(supermod.SpecifiedCurrency):
def __init__(self, applicable=None, currency=None):
super(SpecifiedCurrencySub, self).__init__(applicable, currency, )
supermod.SpecifiedCurrency.subclass = SpecifiedCurrencySub
# end class SpecifiedCurrencySub
class TrancheSub(supermod.Tranche):
def __init__(self, attachmentPoint=None, exhaustionPoint=None, incurredRecoveryApplicable=None):
super(TrancheSub, self).__init__(attachmentPoint, exhaustionPoint, incurredRecoveryApplicable, )
supermod.Tranche.subclass = TrancheSub
# end class TrancheSub
class ValuationDateSub(supermod.ValuationDate):
def __init__(self, singleValuationDate=None, multipleValuationDates=None):
super(ValuationDateSub, self).__init__(singleValuationDate, multipleValuationDates, )
supermod.ValuationDate.subclass = ValuationDateSub
# end class ValuationDateSub
class AsianSub(supermod.Asian):
def __init__(self, averagingInOut=None, strikeFactor=None, averagingPeriodIn=None, averagingPeriodOut=None):
super(AsianSub, self).__init__(averagingInOut, strikeFactor, averagingPeriodIn, averagingPeriodOut, )
supermod.Asian.subclass = AsianSub
# end class AsianSub
class AveragingObservationListSub(supermod.AveragingObservationList):
def __init__(self, averagingObservation=None):
super(AveragingObservationListSub, self).__init__(averagingObservation, )
supermod.AveragingObservationList.subclass = AveragingObservationListSub
# end class AveragingObservationListSub
class AveragingPeriodSub(supermod.AveragingPeriod):
def __init__(self, schedule=None, averagingDateTimes=None, averagingObservations=None, marketDisruption=None):
super(AveragingPeriodSub, self).__init__(schedule, averagingDateTimes, averagingObservations, marketDisruption, )
supermod.AveragingPeriod.subclass = AveragingPeriodSub
# end class AveragingPeriodSub
class AveragingScheduleSub(supermod.AveragingSchedule):
def __init__(self, startDate=None, endDate=None, averagingPeriodFrequency=None):
super(AveragingScheduleSub, self).__init__(startDate, endDate, averagingPeriodFrequency, )
supermod.AveragingSchedule.subclass = AveragingScheduleSub
# end class AveragingScheduleSub
class BarrierSub(supermod.Barrier):
def __init__(self, barrierCap=None, barrierFloor=None):
super(BarrierSub, self).__init__(barrierCap, barrierFloor, )
supermod.Barrier.subclass = BarrierSub
# end class BarrierSub
class CalendarSpreadSub(supermod.CalendarSpread):
def __init__(self, expirationDateTwo=None):
super(CalendarSpreadSub, self).__init__(expirationDateTwo, )
supermod.CalendarSpread.subclass = CalendarSpreadSub
# end class CalendarSpreadSub
class CompositeSub(supermod.Composite):
def __init__(self, determinationMethod=None, relativeDate=None, fxSpotRateSource=None):
super(CompositeSub, self).__init__(determinationMethod, relativeDate, fxSpotRateSource, )
supermod.Composite.subclass = CompositeSub
# end class CompositeSub
class CreditEventNoticeSub(supermod.CreditEventNotice):
def __init__(self, notifyingParty=None, businessCenter=None, publiclyAvailableInformation=None):
super(CreditEventNoticeSub, self).__init__(notifyingParty, businessCenter, publiclyAvailableInformation, )
supermod.CreditEventNotice.subclass = CreditEventNoticeSub
# end class CreditEventNoticeSub
class CreditEventsSub(supermod.CreditEvents):
def __init__(self, id=None, bankruptcy=None, failureToPay=None, failureToPayPrincipal=None, failureToPayInterest=None, obligationDefault=None, obligationAcceleration=None, repudiationMoratorium=None, restructuring=None, governmentalIntervention=None, distressedRatingsDowngrade=None, maturityExtension=None, writedown=None, impliedWritedown=None, defaultRequirement=None, creditEventNotice=None):
super(CreditEventsSub, self).__init__(id, bankruptcy, failureToPay, failureToPayPrincipal, failureToPayInterest, obligationDefault, obligationAcceleration, repudiationMoratorium, restructuring, governmentalIntervention, distressedRatingsDowngrade, maturityExtension, writedown, impliedWritedown, defaultRequirement, creditEventNotice, )
supermod.CreditEvents.subclass = CreditEventsSub
# end class CreditEventsSub
class FailureToPaySub(supermod.FailureToPay):
def __init__(self, applicable=None, gracePeriodExtension=None, paymentRequirement=None):
super(FailureToPaySub, self).__init__(applicable, gracePeriodExtension, paymentRequirement, )
supermod.FailureToPay.subclass = FailureToPaySub
# end class FailureToPaySub
class FxFeatureSub(supermod.FxFeature):
def __init__(self, referenceCurrency=None, composite=None, quanto=None, crossCurrency=None):
super(FxFeatureSub, self).__init__(referenceCurrency, composite, quanto, crossCurrency, )
supermod.FxFeature.subclass = FxFeatureSub
# end class FxFeatureSub
class GracePeriodExtensionSub(supermod.GracePeriodExtension):
def __init__(self, applicable=None, gracePeriod=None):
super(GracePeriodExtensionSub, self).__init__(applicable, gracePeriod, )
supermod.GracePeriodExtension.subclass = GracePeriodExtensionSub
# end class GracePeriodExtensionSub
class KnockSub(supermod.Knock):
def __init__(self, knockIn=None, knockOut=None):
super(KnockSub, self).__init__(knockIn, knockOut, )
supermod.Knock.subclass = KnockSub
# end class KnockSub
class MarketDisruptionSub(supermod.MarketDisruption):
def __init__(self, marketDisruptionScheme='http://www.fpml.org/coding-scheme/market-disruption', valueOf_=None):
super(MarketDisruptionSub, self).__init__(marketDisruptionScheme, valueOf_, )
supermod.MarketDisruption.subclass = MarketDisruptionSub
# end class MarketDisruptionSub
class NotifyingPartySub(supermod.NotifyingParty):
def __init__(self, buyerPartyReference=None, sellerPartyReference=None):
super(NotifyingPartySub, self).__init__(buyerPartyReference, sellerPartyReference, )
supermod.NotifyingParty.subclass = NotifyingPartySub
# end class NotifyingPartySub
class OptionFeatureSub(supermod.OptionFeature):
def __init__(self, fxFeature=None, strategyFeature=None, asian=None, barrier=None, knock=None, passThrough=None):
super(OptionFeatureSub, self).__init__(fxFeature, strategyFeature, asian, barrier, knock, passThrough, )
supermod.OptionFeature.subclass = OptionFeatureSub
# end class OptionFeatureSub
class OptionNumericStrikeSub(supermod.OptionNumericStrike):
def __init__(self, strikePrice=None, strikePercentage=None, extensiontype_=None):
super(OptionNumericStrikeSub, self).__init__(strikePrice, strikePercentage, extensiontype_, )
supermod.OptionNumericStrike.subclass = OptionNumericStrikeSub
# end class OptionNumericStrikeSub
class OptionStrikeSub(supermod.OptionStrike):
def __init__(self, strikePrice=None, strikePercentage=None, currency=None):
super(OptionStrikeSub, self).__init__(strikePrice, strikePercentage, currency, )
supermod.OptionStrike.subclass = OptionStrikeSub
# end class OptionStrikeSub
class PassThroughSub(supermod.PassThrough):
def __init__(self, passThroughItem=None):
super(PassThroughSub, self).__init__(passThroughItem, )
supermod.PassThrough.subclass = PassThroughSub
# end class PassThroughSub
class PassThroughItemSub(supermod.PassThroughItem):
def __init__(self, payerPartyReference=None, payerAccountReference=None, receiverPartyReference=None, receiverAccountReference=None, underlyerReference=None, passThroughPercentage=None):
super(PassThroughItemSub, self).__init__(payerPartyReference, payerAccountReference, receiverPartyReference, receiverAccountReference, underlyerReference, passThroughPercentage, )
supermod.PassThroughItem.subclass = PassThroughItemSub
# end class PassThroughItemSub
class PubliclyAvailableInformationSub(supermod.PubliclyAvailableInformation):
def __init__(self, standardPublicSources=None, publicSource=None, specifiedNumber=None):
super(PubliclyAvailableInformationSub, self).__init__(standardPublicSources, publicSource, specifiedNumber, )
supermod.PubliclyAvailableInformation.subclass = PubliclyAvailableInformationSub
# end class PubliclyAvailableInformationSub
class QuantoSub(supermod.Quanto):
def __init__(self, fxRate=None, fxSpotRateSource=None):
super(QuantoSub, self).__init__(fxRate, fxSpotRateSource, )
supermod.Quanto.subclass = QuantoSub
# end class QuantoSub
class RestructuringSub(supermod.Restructuring):
def __init__(self, applicable=None, restructuringType=None, multipleHolderObligation=None, multipleCreditEventNotices=None):
super(RestructuringSub, self).__init__(applicable, restructuringType, multipleHolderObligation, multipleCreditEventNotices, )
supermod.Restructuring.subclass = RestructuringSub
# end class RestructuringSub
class RestructuringTypeSub(supermod.RestructuringType):
def __init__(self, restructuringScheme='http://www.fpml.org/coding-scheme/restructuring', valueOf_=None):
super(RestructuringTypeSub, self).__init__(restructuringScheme, valueOf_, )
supermod.RestructuringType.subclass = RestructuringTypeSub
# end class RestructuringTypeSub
class SettlementTermsSub(supermod.SettlementTerms):
def __init__(self, id=None, settlementCurrency=None, extensiontype_=None):
super(SettlementTermsSub, self).__init__(id, settlementCurrency, extensiontype_, )
supermod.SettlementTerms.subclass = SettlementTermsSub
# end class SettlementTermsSub
class StrategyFeatureSub(supermod.StrategyFeature):
def __init__(self, strikeSpread=None, calendarSpread=None):
super(StrategyFeatureSub, self).__init__(strikeSpread, calendarSpread, )
supermod.StrategyFeature.subclass = StrategyFeatureSub
# end class StrategyFeatureSub
class StrikeSpreadSub(supermod.StrikeSpread):
def __init__(self, upperStrike=None, upperStrikeNumberOfOptions=None):
super(StrikeSpreadSub, self).__init__(upperStrike, upperStrikeNumberOfOptions, )
supermod.StrikeSpread.subclass = StrikeSpreadSub
# end class StrikeSpreadSub
class TriggerSub(supermod.Trigger):
def __init__(self, level=None, levelPercentage=None, creditEvents=None, creditEventsReference=None, triggerType=None, triggerTimeType=None):
super(TriggerSub, self).__init__(level, levelPercentage, creditEvents, creditEventsReference, triggerType, triggerTimeType, )
supermod.Trigger.subclass = TriggerSub
# end class TriggerSub
class TriggerEventSub(supermod.TriggerEvent):
def __init__(self, schedule=None, triggerDates=None, trigger=None, featurePayment=None):
super(TriggerEventSub, self).__init__(schedule, triggerDates, trigger, featurePayment, )
supermod.TriggerEvent.subclass = TriggerEventSub
# end class TriggerEventSub
class WeightedAveragingObservationSub(supermod.WeightedAveragingObservation):
def __init__(self, dateTime=None, observationNumber=None, weight=None):
super(WeightedAveragingObservationSub, self).__init__(dateTime, observationNumber, weight, )
supermod.WeightedAveragingObservation.subclass = WeightedAveragingObservationSub
# end class WeightedAveragingObservationSub
class ActualPriceSub(supermod.ActualPrice):
def __init__(self, id=None, currency=None, amount=None, priceExpression=None):
super(ActualPriceSub, self).__init__(id, currency, amount, priceExpression, )
supermod.ActualPrice.subclass = ActualPriceSub
# end class ActualPriceSub
class AssetSub(supermod.Asset):
def __init__(self, id=None, extensiontype_=None):
super(AssetSub, self).__init__(id, extensiontype_, )
supermod.Asset.subclass = AssetSub
# end class AssetSub
class AssetMeasureTypeSub(supermod.AssetMeasureType):
def __init__(self, assetMeasureScheme='http://www.fpml.org/coding-scheme/asset-measure', valueOf_=None):
super(AssetMeasureTypeSub, self).__init__(assetMeasureScheme, valueOf_, )
supermod.AssetMeasureType.subclass = AssetMeasureTypeSub
# end class AssetMeasureTypeSub
class AssetPoolSub(supermod.AssetPool):
def __init__(self, version=None, effectiveDate=None, initialFactor=None, currentFactor=None):
super(AssetPoolSub, self).__init__(version, effectiveDate, initialFactor, currentFactor, )
supermod.AssetPool.subclass = AssetPoolSub
# end class AssetPoolSub
class BasicQuotationSub(supermod.BasicQuotation):
def __init__(self, id=None, value=None, measureType=None, quoteUnits=None, side=None, currency=None, currencyType=None, timing=None, businessCenter=None, exchangeId=None, informationSource=None, pricingModel=None, time=None, valuationDate=None, expiryTime=None, cashflowType=None):
super(BasicQuotationSub, self).__init__(id, value, measureType, quoteUnits, side, currency, currencyType, timing, businessCenter, exchangeId, informationSource, pricingModel, time, valuationDate, expiryTime, cashflowType, )
supermod.BasicQuotation.subclass = BasicQuotationSub
# end class BasicQuotationSub
class BasketSub(supermod.Basket):
def __init__(self, id=None, openUnits=None, basketConstituent=None, basketDivisor=None, basketVersion=None, basketName=None, basketId=None, basketCurrency=None):
super(BasketSub, self).__init__(id, openUnits, basketConstituent, basketDivisor, basketVersion, basketName, basketId, basketCurrency, )
supermod.Basket.subclass = BasketSub
# end class BasketSub
class BasketConstituentSub(supermod.BasketConstituent):
def __init__(self, id=None, payerPartyReference=None, payerAccountReference=None, receiverPartyReference=None, receiverAccountReference=None, underlyingAsset=None, constituentWeight=None, dividendPayout=None, underlyerPrice=None, underlyerNotional=None, underlyerSpread=None, couponPayment=None, underlyerFinancing=None, underlyerLoanRate=None, underlyerCollateral=None):
super(BasketConstituentSub, self).__init__(id, payerPartyReference, payerAccountReference, receiverPartyReference, receiverAccountReference, underlyingAsset, constituentWeight, dividendPayout, underlyerPrice, underlyerNotional, underlyerSpread, couponPayment, underlyerFinancing, underlyerLoanRate, underlyerCollateral, )
supermod.BasketConstituent.subclass = BasketConstituentSub
# end class BasketConstituentSub
class BasketIdSub(supermod.BasketId):
def __init__(self, basketIdScheme=None, valueOf_=None):
super(BasketIdSub, self).__init__(basketIdScheme, valueOf_, )
supermod.BasketId.subclass = BasketIdSub
# end class BasketIdSub
class BasketNameSub(supermod.BasketName):
def __init__(self, basketNameScheme=None, valueOf_=None):
super(BasketNameSub, self).__init__(basketNameScheme, valueOf_, )
supermod.BasketName.subclass = BasketNameSub
# end class BasketNameSub
class CashSub(supermod.Cash):
def __init__(self, id=None, instrumentId=None, description=None, currency=None):
super(CashSub, self).__init__(id, instrumentId, description, currency, )
supermod.Cash.subclass = CashSub
# end class CashSub
class CommissionSub(supermod.Commission):
def __init__(self, commissionDenomination=None, commissionAmount=None, currency=None, commissionPerTrade=None, fxRate=None):
super(CommissionSub, self).__init__(commissionDenomination, commissionAmount, currency, commissionPerTrade, fxRate, )
supermod.Commission.subclass = CommissionSub
# end class CommissionSub
class CommodityBaseSub(supermod.CommodityBase):
def __init__(self, commodityBaseScheme=None, valueOf_=None):
super(CommodityBaseSub, self).__init__(commodityBaseScheme, valueOf_, )
supermod.CommodityBase.subclass = CommodityBaseSub
# end class CommodityBaseSub
class CommodityBusinessCalendarSub(supermod.CommodityBusinessCalendar):
def __init__(self, commodityBusinessCalendarScheme='http://www.fpml.org/coding-scheme/commodity-business-calendar', valueOf_=None):
super(CommodityBusinessCalendarSub, self).__init__(commodityBusinessCalendarScheme, valueOf_, )
supermod.CommodityBusinessCalendar.subclass = CommodityBusinessCalendarSub
# end class CommodityBusinessCalendarSub
class CommodityDetailsSub(supermod.CommodityDetails):
def __init__(self, commodityDetailsScheme=None, valueOf_=None):
super(CommodityDetailsSub, self).__init__(commodityDetailsScheme, valueOf_, )
supermod.CommodityDetails.subclass = CommodityDetailsSub
# end class CommodityDetailsSub
class CommodityInformationProviderSub(supermod.CommodityInformationProvider):
def __init__(self, informationProviderScheme='http://www.fpml.org/coding-scheme/commodity-information-provider', valueOf_=None):
super(CommodityInformationProviderSub, self).__init__(informationProviderScheme, valueOf_, )
supermod.CommodityInformationProvider.subclass = CommodityInformationProviderSub
# end class CommodityInformationProviderSub
class CommodityInformationSourceSub(supermod.CommodityInformationSource):
def __init__(self, rateSource=None, rateSourcePage=None, rateSourcePageHeading=None):
super(CommodityInformationSourceSub, self).__init__(rateSource, rateSourcePage, rateSourcePageHeading, )
supermod.CommodityInformationSource.subclass = CommodityInformationSourceSub
# end class CommodityInformationSourceSub
class ConstituentWeightSub(supermod.ConstituentWeight):
def __init__(self, openUnits=None, basketPercentage=None, basketAmount=None):
super(ConstituentWeightSub, self).__init__(openUnits, basketPercentage, basketAmount, )
supermod.ConstituentWeight.subclass = ConstituentWeightSub
# end class ConstituentWeightSub
class CouponTypeSub(supermod.CouponType):
def __init__(self, couponTypeScheme='http://www.fpml.org/coding-scheme/coupon-type', valueOf_=None):
super(CouponTypeSub, self).__init__(couponTypeScheme, valueOf_, )
supermod.CouponType.subclass = CouponTypeSub
# end class CouponTypeSub
class DeliveryNearbySub(supermod.DeliveryNearby):
def __init__(self, id=None, deliveryNearbyMultiplier=None, deliveryNearbyType=None):
super(DeliveryNearbySub, self).__init__(id, deliveryNearbyMultiplier, deliveryNearbyType, )
supermod.DeliveryNearby.subclass = DeliveryNearbySub
# end class DeliveryNearbySub
class DividendPayoutSub(supermod.DividendPayout):
def __init__(self, dividendPayoutRatio=None, dividendPayoutRatioCash=None, dividendPayoutRatioNonCash=None, dividendPayoutConditions=None, dividendPayment=None):
super(DividendPayoutSub, self).__init__(dividendPayoutRatio, dividendPayoutRatioCash, dividendPayoutRatioNonCash, dividendPayoutConditions, dividendPayment, )
supermod.DividendPayout.subclass = DividendPayoutSub
# end class DividendPayoutSub
class FacilityTypeSub(supermod.FacilityType):
def __init__(self, facilityTypeScheme='http://www.fpml.org/coding-scheme/facility-type', valueOf_=None):
super(FacilityTypeSub, self).__init__(facilityTypeScheme, valueOf_, )
supermod.FacilityType.subclass = FacilityTypeSub
# end class FacilityTypeSub
class FutureIdSub(supermod.FutureId):
def __init__(self, futureIdScheme=None, valueOf_=None):
super(FutureIdSub, self).__init__(futureIdScheme, valueOf_, )
supermod.FutureId.subclass = FutureIdSub
# end class FutureIdSub
class FxConversionSub(supermod.FxConversion):
def __init__(self, amountRelativeTo=None, fxRate=None):
super(FxConversionSub, self).__init__(amountRelativeTo, fxRate, )
supermod.FxConversion.subclass = FxConversionSub
# end class FxConversionSub
class IdentifiedAssetSub(supermod.IdentifiedAsset):
def __init__(self, id=None, instrumentId=None, description=None, extensiontype_=None):
super(IdentifiedAssetSub, self).__init__(id, instrumentId, description, extensiontype_, )
supermod.IdentifiedAsset.subclass = IdentifiedAssetSub
# end class IdentifiedAssetSub
class LienSub(supermod.Lien):
def __init__(self, lienScheme='http://www.fpml.org/coding-scheme/designated-priority', valueOf_=None):
super(LienSub, self).__init__(lienScheme, valueOf_, )
supermod.Lien.subclass = LienSub
# end class LienSub
class MortgageSectorSub(supermod.MortgageSector):
def __init__(self, mortgageSectorScheme='http://www.fpml.org/coding-scheme/mortgage-sector', valueOf_=None):
super(MortgageSectorSub, self).__init__(mortgageSectorScheme, valueOf_, )
supermod.MortgageSector.subclass = MortgageSectorSub
# end class MortgageSectorSub
class PriceSub(supermod.Price):
def __init__(self, commission=None, determinationMethod=None, grossPrice=None, netPrice=None, accruedInterestPrice=None, fxConversion=None, amountRelativeTo=None, cleanNetPrice=None, quotationCharacteristics=None):
super(PriceSub, self).__init__(commission, determinationMethod, grossPrice, netPrice, accruedInterestPrice, fxConversion, amountRelativeTo, cleanNetPrice, quotationCharacteristics, )
supermod.Price.subclass = PriceSub
# end class PriceSub
class PriceQuoteUnitsSub(supermod.PriceQuoteUnits):
def __init__(self, priceQuoteUnitsScheme='http://www.fpml.org/coding-scheme/price-quote-units', valueOf_=None):
super(PriceQuoteUnitsSub, self).__init__(priceQuoteUnitsScheme, valueOf_, )
supermod.PriceQuoteUnits.subclass = PriceQuoteUnitsSub
# end class PriceQuoteUnitsSub
class PricingModelSub(supermod.PricingModel):
def __init__(self, pricingModelScheme='http://www.fpml.org/coding-scheme/pricing-model', valueOf_=None):
super(PricingModelSub, self).__init__(pricingModelScheme, valueOf_, )
supermod.PricingModel.subclass = PricingModelSub
# end class PricingModelSub
class QuantityUnitSub(supermod.QuantityUnit):
def __init__(self, quantityUnitScheme='http://www.fpml.org/coding-scheme/price-quote-units', valueOf_=None):
super(QuantityUnitSub, self).__init__(quantityUnitScheme, valueOf_, )
supermod.QuantityUnit.subclass = QuantityUnitSub
# end class QuantityUnitSub
class QuotationCharacteristicsSub(supermod.QuotationCharacteristics):
def __init__(self, measureType=None, quoteUnits=None, side=None, currency=None, currencyType=None, timing=None, businessCenter=None, exchangeId=None, informationSource=None, pricingModel=None, time=None, valuationDate=None, expiryTime=None, cashflowType=None):
super(QuotationCharacteristicsSub, self).__init__(measureType, quoteUnits, side, currency, currencyType, timing, businessCenter, exchangeId, informationSource, pricingModel, time, valuationDate, expiryTime, cashflowType, )
supermod.QuotationCharacteristics.subclass = QuotationCharacteristicsSub
# end class QuotationCharacteristicsSub
class QuoteTimingSub(supermod.QuoteTiming):
def __init__(self, quoteTimingScheme='http://www.fpml.org/coding-scheme/quote-timing', valueOf_=None):
super(QuoteTimingSub, self).__init__(quoteTimingScheme, valueOf_, )
supermod.QuoteTiming.subclass = QuoteTimingSub
# end class QuoteTimingSub
class ReportingCurrencyTypeSub(supermod.ReportingCurrencyType):
def __init__(self, reportingCurrencyTypeScheme='http://www.fpml.org/coding-scheme/reporting-currency-type', valueOf_=None):
super(ReportingCurrencyTypeSub, self).__init__(reportingCurrencyTypeScheme, valueOf_, )
supermod.ReportingCurrencyType.subclass = ReportingCurrencyTypeSub
# end class ReportingCurrencyTypeSub
class SingleUnderlyerSub(supermod.SingleUnderlyer):
def __init__(self, underlyingAsset=None, openUnits=None, dividendPayout=None, couponPayment=None, averageDailyTradingVolume=None, depositoryReceipt=None):
super(SingleUnderlyerSub, self).__init__(underlyingAsset, openUnits, dividendPayout, couponPayment, averageDailyTradingVolume, depositoryReceipt, )
supermod.SingleUnderlyer.subclass = SingleUnderlyerSub
# end class SingleUnderlyerSub
class UnderlyerSub(supermod.Underlyer):
def __init__(self, singleUnderlyer=None, basket=None):
super(UnderlyerSub, self).__init__(singleUnderlyer, basket, )
supermod.Underlyer.subclass = UnderlyerSub
# end class UnderlyerSub
class UnderlyingAssetSub(supermod.UnderlyingAsset):
def __init__(self, id=None, instrumentId=None, description=None, currency=None, exchangeId=None, clearanceSystem=None, definition=None, extensiontype_=None):
super(UnderlyingAssetSub, self).__init__(id, instrumentId, description, currency, exchangeId, clearanceSystem, definition, extensiontype_, )
supermod.UnderlyingAsset.subclass = UnderlyingAssetSub
# end class UnderlyingAssetSub
class UnderlyingAssetTrancheSub(supermod.UnderlyingAssetTranche):
def __init__(self, loanTrancheScheme=None, valueOf_=None):
super(UnderlyingAssetTrancheSub, self).__init__(loanTrancheScheme, valueOf_, )
supermod.UnderlyingAssetTranche.subclass = UnderlyingAssetTrancheSub
# end class UnderlyingAssetTrancheSub
class UnderlyerLoanRateSub(supermod.UnderlyerLoanRate):
def __init__(self, lossOfStockBorrow=None, maximumStockLoanRate=None, increasedCostOfStockBorrow=None, initialStockLoanRate=None):
super(UnderlyerLoanRateSub, self).__init__(lossOfStockBorrow, maximumStockLoanRate, increasedCostOfStockBorrow, initialStockLoanRate, )
supermod.UnderlyerLoanRate.subclass = UnderlyerLoanRateSub
# end class UnderlyerLoanRateSub
class AccountSub(supermod.Account):
def __init__(self, id=None, accountId=None, accountName=None, accountType=None, accountBeneficiary=None, servicingParty=None):
super(AccountSub, self).__init__(id, accountId, accountName, accountType, accountBeneficiary, servicingParty, )
supermod.Account.subclass = AccountSub
# end class AccountSub
class AccountIdSub(supermod.AccountId):
def __init__(self, accountIdScheme=None, valueOf_=None):
super(AccountIdSub, self).__init__(accountIdScheme, valueOf_, )
supermod.AccountId.subclass = AccountIdSub
# end class AccountIdSub
class AccountNameSub(supermod.AccountName):
def __init__(self, accountNameScheme=None, valueOf_=None):
super(AccountNameSub, self).__init__(accountNameScheme, valueOf_, )
supermod.AccountName.subclass = AccountNameSub
# end class AccountNameSub
class AccountTypeSub(supermod.AccountType):
def __init__(self, accountTypeScheme='http://www.fpml.org/coding-scheme/account-type', valueOf_=None):
super(AccountTypeSub, self).__init__(accountTypeScheme, valueOf_, )
supermod.AccountType.subclass = AccountTypeSub
# end class AccountTypeSub
class ActionTypeSub(supermod.ActionType):
def __init__(self, actionTypeScheme='http://www.fpml.org/coding-scheme/action-type', valueOf_=None):
super(ActionTypeSub, self).__init__(actionTypeScheme, valueOf_, )
supermod.ActionType.subclass = ActionTypeSub
# end class ActionTypeSub
class AddressSub(supermod.Address):
def __init__(self, streetAddress=None, city=None, state=None, country=None, postalCode=None):
super(AddressSub, self).__init__(streetAddress, city, state, country, postalCode, )
supermod.Address.subclass = AddressSub
# end class AddressSub
class AdjustableDateSub(supermod.AdjustableDate):
def __init__(self, id=None, unadjustedDate=None, dateAdjustments=None, adjustedDate=None):
super(AdjustableDateSub, self).__init__(id, unadjustedDate, dateAdjustments, adjustedDate, )
supermod.AdjustableDate.subclass = AdjustableDateSub
# end class AdjustableDateSub
class AdjustableDate2Sub(supermod.AdjustableDate2):
def __init__(self, id=None, unadjustedDate=None, dateAdjustments=None, dateAdjustmentsReference=None, adjustedDate=None):
super(AdjustableDate2Sub, self).__init__(id, unadjustedDate, dateAdjustments, dateAdjustmentsReference, adjustedDate, )
supermod.AdjustableDate2.subclass = AdjustableDate2Sub
# end class AdjustableDate2Sub
class AdjustableDatesSub(supermod.AdjustableDates):
def __init__(self, id=None, unadjustedDate=None, dateAdjustments=None, adjustedDate=None):
super(AdjustableDatesSub, self).__init__(id, unadjustedDate, dateAdjustments, adjustedDate, )
supermod.AdjustableDates.subclass = AdjustableDatesSub
# end class AdjustableDatesSub
class AdjustableDatesOrRelativeDateOffsetSub(supermod.AdjustableDatesOrRelativeDateOffset):
def __init__(self, adjustableDates=None, relativeDate=None):
super(AdjustableDatesOrRelativeDateOffsetSub, self).__init__(adjustableDates, relativeDate, )
supermod.AdjustableDatesOrRelativeDateOffset.subclass = AdjustableDatesOrRelativeDateOffsetSub
# end class AdjustableDatesOrRelativeDateOffsetSub
class AdjustableOrAdjustedDateSub(supermod.AdjustableOrAdjustedDate):
def __init__(self, id=None, unadjustedDate=None, dateAdjustments=None, adjustedDate=None):
super(AdjustableOrAdjustedDateSub, self).__init__(id, unadjustedDate, dateAdjustments, adjustedDate, )
supermod.AdjustableOrAdjustedDate.subclass = AdjustableOrAdjustedDateSub
# end class AdjustableOrAdjustedDateSub
class AdjustableOrRelativeDateSub(supermod.AdjustableOrRelativeDate):
def __init__(self, id=None, adjustableDate=None, relativeDate=None):
super(AdjustableOrRelativeDateSub, self).__init__(id, adjustableDate, relativeDate, )
supermod.AdjustableOrRelativeDate.subclass = AdjustableOrRelativeDateSub
# end class AdjustableOrRelativeDateSub
class AdjustableOrRelativeDatesSub(supermod.AdjustableOrRelativeDates):
def __init__(self, id=None, adjustableDates=None, relativeDates=None):
super(AdjustableOrRelativeDatesSub, self).__init__(id, adjustableDates, relativeDates, )
supermod.AdjustableOrRelativeDates.subclass = AdjustableOrRelativeDatesSub
# end class AdjustableOrRelativeDatesSub
class AdjustableRelativeOrPeriodicDatesSub(supermod.AdjustableRelativeOrPeriodicDates):
def __init__(self, id=None, adjustableDates=None, relativeDates=None, relativeDateSequence=None, periodicDates=None):
super(AdjustableRelativeOrPeriodicDatesSub, self).__init__(id, adjustableDates, relativeDates, relativeDateSequence, periodicDates, )
supermod.AdjustableRelativeOrPeriodicDates.subclass = AdjustableRelativeOrPeriodicDatesSub
# end class AdjustableRelativeOrPeriodicDatesSub
class AdjustableRelativeOrPeriodicDates2Sub(supermod.AdjustableRelativeOrPeriodicDates2):
def __init__(self, id=None, adjustableDates=None, relativeDates=None, periodicDates=None):
super(AdjustableRelativeOrPeriodicDates2Sub, self).__init__(id, adjustableDates, relativeDates, periodicDates, )
supermod.AdjustableRelativeOrPeriodicDates2.subclass = AdjustableRelativeOrPeriodicDates2Sub
# end class AdjustableRelativeOrPeriodicDates2Sub
class AgreementTypeSub(supermod.AgreementType):
def __init__(self, agreementTypeScheme=None, valueOf_=None):
super(AgreementTypeSub, self).__init__(agreementTypeScheme, valueOf_, )
supermod.AgreementType.subclass = AgreementTypeSub
# end class AgreementTypeSub
class AgreementVersionSub(supermod.AgreementVersion):
def __init__(self, agreementVersionScheme=None, valueOf_=None):
super(AgreementVersionSub, self).__init__(agreementVersionScheme, valueOf_, )
supermod.AgreementVersion.subclass = AgreementVersionSub
# end class AgreementVersionSub
class AssetClassSub(supermod.AssetClass):
def __init__(self, assetClassScheme='http://www.fpml.org/coding-scheme/asset-class', valueOf_=None):
super(AssetClassSub, self).__init__(assetClassScheme, valueOf_, )
supermod.AssetClass.subclass = AssetClassSub
# end class AssetClassSub
class AutomaticExerciseSub(supermod.AutomaticExercise):
def __init__(self, thresholdRate=None):
super(AutomaticExerciseSub, self).__init__(thresholdRate, )
supermod.AutomaticExercise.subclass = AutomaticExerciseSub
# end class AutomaticExerciseSub
class AverageDailyTradingVolumeLimitSub(supermod.AverageDailyTradingVolumeLimit):
def __init__(self, limitationPercentage=None, limitationPeriod=None):
super(AverageDailyTradingVolumeLimitSub, self).__init__(limitationPercentage, limitationPeriod, )
supermod.AverageDailyTradingVolumeLimit.subclass = AverageDailyTradingVolumeLimitSub
# end class AverageDailyTradingVolumeLimitSub
class BeneficiarySub(supermod.Beneficiary):
def __init__(self, routingIds=None, routingExplicitDetails=None, routingIdsAndExplicitDetails=None, beneficiaryPartyReference=None):
super(BeneficiarySub, self).__init__(routingIds, routingExplicitDetails, routingIdsAndExplicitDetails, beneficiaryPartyReference, )
supermod.Beneficiary.subclass = BeneficiarySub
# end class BeneficiarySub
class BrokerConfirmationSub(supermod.BrokerConfirmation):
def __init__(self, brokerConfirmationType=None):
super(BrokerConfirmationSub, self).__init__(brokerConfirmationType, )
supermod.BrokerConfirmation.subclass = BrokerConfirmationSub
# end class BrokerConfirmationSub
class BrokerConfirmationTypeSub(supermod.BrokerConfirmationType):
def __init__(self, brokerConfirmationTypeScheme='http://www.fpml.org/coding-scheme/broker-confirmation-type', valueOf_=None):
super(BrokerConfirmationTypeSub, self).__init__(brokerConfirmationTypeScheme, valueOf_, )
supermod.BrokerConfirmationType.subclass = BrokerConfirmationTypeSub
# end class BrokerConfirmationTypeSub
class BusinessCenterSub(supermod.BusinessCenter):
def __init__(self, businessCenterScheme='http://www.fpml.org/coding-scheme/business-center', id=None, valueOf_=None):
super(BusinessCenterSub, self).__init__(businessCenterScheme, id, valueOf_, )
supermod.BusinessCenter.subclass = BusinessCenterSub
# end class BusinessCenterSub
class BusinessCentersSub(supermod.BusinessCenters):
def __init__(self, id=None, businessCenter=None):
super(BusinessCentersSub, self).__init__(id, businessCenter, )
supermod.BusinessCenters.subclass = BusinessCentersSub
# end class BusinessCentersSub
class BusinessCenterTimeSub(supermod.BusinessCenterTime):
def __init__(self, hourMinuteTime=None, businessCenter=None):
super(BusinessCenterTimeSub, self).__init__(hourMinuteTime, businessCenter, )
supermod.BusinessCenterTime.subclass = BusinessCenterTimeSub
# end class BusinessCenterTimeSub
class BusinessDayAdjustmentsSub(supermod.BusinessDayAdjustments):
def __init__(self, id=None, businessDayConvention=None, businessCentersReference=None, businessCenters=None):
super(BusinessDayAdjustmentsSub, self).__init__(id, businessDayConvention, businessCentersReference, businessCenters, )
supermod.BusinessDayAdjustments.subclass = BusinessDayAdjustmentsSub
# end class BusinessDayAdjustmentsSub
class BusinessUnitSub(supermod.BusinessUnit):
def __init__(self, id=None, name=None, businessUnitId=None, contactInfo=None, country=None):
super(BusinessUnitSub, self).__init__(id, name, businessUnitId, contactInfo, country, )
supermod.BusinessUnit.subclass = BusinessUnitSub
# end class BusinessUnitSub
class BusinessUnitRoleSub(supermod.BusinessUnitRole):
def __init__(self, unitRoleScheme='http://www.fpml.org/coding-scheme/unit-role', valueOf_=None):
super(BusinessUnitRoleSub, self).__init__(unitRoleScheme, valueOf_, )
supermod.BusinessUnitRole.subclass = BusinessUnitRoleSub
# end class BusinessUnitRoleSub
class CalculationAgentSub(supermod.CalculationAgent):
def __init__(self, calculationAgentPartyReference=None, calculationAgentParty=None):
super(CalculationAgentSub, self).__init__(calculationAgentPartyReference, calculationAgentParty, )
supermod.CalculationAgent.subclass = CalculationAgentSub
# end class CalculationAgentSub
class CashflowIdSub(supermod.CashflowId):
def __init__(self, cashflowIdScheme=None, valueOf_=None):
super(CashflowIdSub, self).__init__(cashflowIdScheme, valueOf_, )
supermod.CashflowId.subclass = CashflowIdSub
# end class CashflowIdSub
class CashflowNotionalSub(supermod.CashflowNotional):
def __init__(self, id=None, currency=None, units=None, amount=None):
super(CashflowNotionalSub, self).__init__(id, currency, units, amount, )
supermod.CashflowNotional.subclass = CashflowNotionalSub
# end class CashflowNotionalSub
class CashflowTypeSub(supermod.CashflowType):
def __init__(self, cashflowTypeScheme='http://www.fpml.org/coding-scheme/cashflow-type', valueOf_=None):
super(CashflowTypeSub, self).__init__(cashflowTypeScheme, valueOf_, )
supermod.CashflowType.subclass = CashflowTypeSub
# end class CashflowTypeSub
class CashSettlementReferenceBanksSub(supermod.CashSettlementReferenceBanks):