@bentley/bis-core-schema 1.0.17-dev.3 → 1.0.17-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@
7
7
 
8
8
  <ECSchemaReference name="CoreCustomAttributes" version="01.00.03" alias="CoreCA"/>
9
9
  <ECSchemaReference name="BisCustomAttributes" version="01.00.00" alias="bisCA"/>
10
- <ECSchemaReference name="ECDbMap" version="02.00.00" alias="ecdbmap"/>
10
+ <ECSchemaReference name="ECDbMap" version="02.00.02" alias="ecdbmap"/>
11
11
  <ECSchemaReference name="ECDbSchemaPolicies" version="01.00.00" alias="ecdbpol"/>
12
12
 
13
13
  <ECCustomAttributeClass typeName="SchemaHasBehavior" appliesTo="Schema" description="Applied to an ECSchema to indicate that there is an associated JavaScript library that will provide run-time behavior.">
@@ -29,6 +29,9 @@
29
29
  </NoAdditionalForeignKeyConstraints>
30
30
  <NoAdditionalLinkTables xmlns="ECDbSchemaPolicies.01.00.00"/>
31
31
  <SchemaHasBehavior xmlns="BisCore.01.00.00"/>
32
+ <ImportRequiresVersion xmlns="ECDbMap.02.00.02">
33
+ <ECDbRuntimeVersion>4.0.0.5</ECDbRuntimeVersion>
34
+ </ImportRequiresVersion>
32
35
  </ECCustomAttributes>
33
36
 
34
37
  <!-- Applied to an ECClass to reserve a list of properties that cannot be used by that class or its derived classes. -->
@@ -359,6 +362,116 @@
359
362
  <Class class="ISubModeledElement" />
360
363
  </Target>
361
364
  </ECRelationshipClass>
365
+ <ECRelationshipClass typeName="DefinitionModelBreaksDownDefinitionPartition" displayLabel="DefinitionModel Sub-Models DefinitionPartition" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:DefinitionModel to the bis:DefinitionPartition that it sub-models.">
366
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
367
+ <BaseClass>ModelModelsElement</BaseClass>
368
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="false">
369
+ <Class class="DefinitionModel"/>
370
+ </Source>
371
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="false">
372
+ <Class class="DefinitionPartition" />
373
+ </Target>
374
+ </ECRelationshipClass>
375
+ <ECRelationshipClass typeName="DefinitionModelBreaksDownDefinitionContainer" displayLabel="DefinitionModel Sub-Models DefinitionContainer" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:DefinitionModel to the bis:DefinitionContainer that it sub-models.">
376
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
377
+ <BaseClass>ModelModelsElement</BaseClass>
378
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="false">
379
+ <Class class="DefinitionModel"/>
380
+ </Source>
381
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
382
+ <Class class="DefinitionContainer" />
383
+ </Target>
384
+ </ECRelationshipClass>
385
+ <ECRelationshipClass typeName="DrawingModelBreaksDownTemplateRecipe2d" displayLabel="DrawingModel Sub-Models TemplateRecipe2d" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:DrawingModel to the bis:TemplateRecipe2d that it sub-models.">
386
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
387
+ <BaseClass>ModelModelsElement</BaseClass>
388
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="false">
389
+ <Class class="DrawingModel"/>
390
+ </Source>
391
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
392
+ <Class class="TemplateRecipe2d" />
393
+ </Target>
394
+ </ECRelationshipClass>
395
+ <ECRelationshipClass typeName="PhysicalModelBreaksDownTemplateRecipe3d" displayLabel="PhysicalModel Sub-Models TemplateRecipe2d" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:PhysicalModel to the bis:TemplateRecipe3d that it sub-models.">
396
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
397
+ <BaseClass>ModelModelsElement</BaseClass>
398
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="false">
399
+ <Class class="PhysicalModel"/>
400
+ </Source>
401
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
402
+ <Class class="TemplateRecipe3d" />
403
+ </Target>
404
+ </ECRelationshipClass>
405
+ <ECRelationshipClass typeName="DocumentListModelBreaksDownDocumentPartition" displayLabel="DocumentListModel Sub-Models DocumentPartition" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:DocumentListModel to the bis:DocumentPartition that it sub-models.">
406
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
407
+ <BaseClass>ModelModelsElement</BaseClass>
408
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="false">
409
+ <Class class="DocumentListModel"/>
410
+ </Source>
411
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
412
+ <Class class="DocumentPartition" />
413
+ </Target>
414
+ </ECRelationshipClass>
415
+ <ECRelationshipClass typeName="GroupInformationModelBreaksDownGroupInformationPartition" displayLabel="DocumentListModel Sub-Models GroupInformationPartition" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:GroupInformationModel to the bis:GroupInformationPartition that it sub-models.">
416
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
417
+ <BaseClass>ModelModelsElement</BaseClass>
418
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="true">
419
+ <Class class="GroupInformationModel"/>
420
+ </Source>
421
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
422
+ <Class class="GroupInformationPartition" />
423
+ </Target>
424
+ </ECRelationshipClass>
425
+ <ECRelationshipClass typeName="InformationRecordModelBreaksDownInformationRecordPartition" displayLabel="InformationRecordModel Sub-Models InformationRecordPartition" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:InformationRecordModel to the bis:InformationRecordPartition that it sub-models.">
426
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
427
+ <BaseClass>ModelModelsElement</BaseClass>
428
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="true">
429
+ <Class class="InformationRecordModel"/>
430
+ </Source>
431
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
432
+ <Class class="InformationRecordPartition" />
433
+ </Target>
434
+ </ECRelationshipClass>
435
+ <ECRelationshipClass typeName="LinkModelBreaksDownLinkPartition" displayLabel="LinkModel Sub-Models LinkPartition" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:LinkModel to the bis:LinkPartition that it sub-models.">
436
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
437
+ <BaseClass>ModelModelsElement</BaseClass>
438
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="true">
439
+ <Class class="LinkModel"/>
440
+ </Source>
441
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
442
+ <Class class="LinkPartition" />
443
+ </Target>
444
+ </ECRelationshipClass>
445
+ <ECRelationshipClass typeName="PhysicalModelBreaksDownPhysicalPartition" displayLabel="PhysicalModel Sub-Models PhysicalPartition" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:PhysicalModel to the bis:PhysicalPartition that it sub-models.">
446
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
447
+ <BaseClass>ModelModelsElement</BaseClass>
448
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="true">
449
+ <Class class="PhysicalModel"/>
450
+ </Source>
451
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
452
+ <Class class="PhysicalPartition" />
453
+ </Target>
454
+ </ECRelationshipClass>
455
+ <ECRelationshipClass typeName="GraphicalModel3dBreaksDownGraphicalPartition3d" displayLabel="GraphicalModel3d Sub-Models GraphicalPartition3d" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:GraphicalModel3d to the bis:GraphicalPartition3d that it sub-models.">
456
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
457
+ <BaseClass>ModelModelsElement</BaseClass>
458
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="true">
459
+ <Class class="GraphicalModel3d"/>
460
+ </Source>
461
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
462
+ <Class class="GraphicalPartition3d" />
463
+ </Target>
464
+ </ECRelationshipClass>
465
+ <ECRelationshipClass typeName="SpatialLocationModelBreaksDownSpatialLocationPartition" displayLabel="SpatialLocationModel Sub-Models SpatialLocationPartition" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:SpatialLocationModel to the bis:SpatialLocationPartition that it sub-models.">
466
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
467
+ <BaseClass>ModelModelsElement</BaseClass>
468
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="true">
469
+ <Class class="SpatialLocationModel"/>
470
+ </Source>
471
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
472
+ <Class class="SpatialLocationPartition" />
473
+ </Target>
474
+ </ECRelationshipClass>
362
475
  <ECRelationshipClass typeName="PhysicalModelBreaksDownPhysicalPortion" strength="embedding" strengthDirection="backward" modifier="None" description="DEPRECATED">
363
476
  <ECCustomAttributes>
364
477
  <Deprecated xmlns="CoreCustomAttributes.01.00.03">
@@ -373,7 +486,8 @@
373
486
  <Class class="PhysicalPortion" />
374
487
  </Target>
375
488
  </ECRelationshipClass>
376
- <ECRelationshipClass typeName="DrawingModelBreaksDownDrawing" displayLabel="DrawingModel Sub-Models Drawing" strength="embedding" strengthDirection="backward" modifier="None">
489
+ <ECRelationshipClass typeName="DrawingModelBreaksDownDrawing" displayLabel="DrawingModel Sub-Models Drawing" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:DrawingModel to the bis:Drawing that it sub-models.">
490
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
377
491
  <BaseClass>ModelModelsElement</BaseClass>
378
492
  <Source multiplicity="(0..1)" roleLabel="sub-models" polymorphic="true">
379
493
  <Class class="DrawingModel"/>
@@ -391,6 +505,16 @@
391
505
  <Class class="Sheet" />
392
506
  </Target>
393
507
  </ECRelationshipClass>
508
+ <ECRelationshipClass typeName="ModelBreaksDownRepositoryLink" displayLabel="Model Sub-Models RepositoryLink" strength="embedding" strengthDirection="backward" modifier="None" description="Relates a bis:Model to the bis:RepositoryLink that it sub-models.">
509
+ <!-- @see Model.ModeledElement ECNavigationProperty -->
510
+ <BaseClass>ModelModelsElement</BaseClass>
511
+ <Source multiplicity="(0..1)" roleLabel="models" polymorphic="true">
512
+ <Class class="Model"/>
513
+ </Source>
514
+ <Target multiplicity="(0..1)" roleLabel="is modeled by" polymorphic="true">
515
+ <Class class="RepositoryLink" />
516
+ </Target>
517
+ </ECRelationshipClass>
394
518
 
395
519
  <ECEntityClass typeName="Element" modifier="Abstract" description="Most abstract class and smallest individually identifiable building block for modeling Entities in a BIS repository.">
396
520
  <!-- NOTE: Only platform can directly subclass from Element. Everyone else should pick the most appropriate superclass. -->
@@ -1771,6 +1895,20 @@
1771
1895
  <string>TargetClassId</string>
1772
1896
  </PropertyNames>
1773
1897
  </ReservedPropertyNames>
1898
+ <DbIndexList xmlns="ECDbMap.02.00.00">
1899
+ <Indexes>
1900
+ <DbIndex>
1901
+ <Name>uix_bis_ElementRefersToElements_sourcetargetclassid</Name>
1902
+ <IsUnique>True</IsUnique>
1903
+ <Properties>
1904
+ <string>SourceECInstanceId</string>
1905
+ <string>TargetECInstanceId</string>
1906
+ <string>ECClassId</string>
1907
+ <string>MemberPriority</string>
1908
+ </Properties>
1909
+ </DbIndex>
1910
+ </Indexes>
1911
+ </DbIndexList>
1774
1912
  </ECCustomAttributes>
1775
1913
  <Source multiplicity="(0..*)" roleLabel="refers to" polymorphic="true">
1776
1914
  <Class class="Element"/>
@@ -1778,6 +1916,7 @@
1778
1916
  <Target multiplicity="(0..*)" roleLabel="is referenced by" polymorphic="true">
1779
1917
  <Class class="Element"/>
1780
1918
  </Target>
1919
+ <ECProperty propertyName="MemberPriority" typeName="int" displayLabel="Member Priority" description="Can be used to prioritize or order elements being referenced. Values do not have to be unique for a particular referencing element."/>
1781
1920
  </ECRelationshipClass>
1782
1921
 
1783
1922
  <ECRelationshipClass typeName="ElementRefersToDocuments" strength="referencing" modifier="None" description="A general relationship between a bis:Element and a bis:Document. There is no implied owner in this relationship – so it is valid for relationship where the document existed before the referenced element (e.g. design specification) or after (e.g. operational results).">
@@ -1798,7 +1937,6 @@
1798
1937
  <Target multiplicity="(0..*)" roleLabel="is grouped by" polymorphic="true">
1799
1938
  <Class class="Element"/>
1800
1939
  </Target>
1801
- <ECProperty propertyName="MemberPriority" typeName="int" displayLabel="Member Priority" description="Can be used to prioritize or order members within an ElementGroup. Values do not have to be unique within a particular group."/>
1802
1940
  </ECRelationshipClass>
1803
1941
 
1804
1942
  <ECRelationshipClass typeName="GroupImpartsToMembers" strength="referencing" modifier="None" description="Represents group membership where the group Element (and its properties) impart information about the member Elements above mere membership. Implies that properties of the group should be considered as properties of its members.">