@@ -1408,7 +1408,10 @@ private void update0507ObsoleteDefinitions()
1408
1408
this .archiveBuilder .addTypeDefPatch (deprecateBoundedSchemaType ());
1409
1409
this .archiveBuilder .addTypeDefPatch (deprecateBoundedSchemaElementType ());
1410
1410
this .archiveBuilder .addTypeDefPatch (deprecateArraySchemaType ());
1411
+ this .archiveBuilder .addTypeDefPatch (deprecateArrayDocumentType ());
1411
1412
this .archiveBuilder .addTypeDefPatch (deprecateSetSchemaType ());
1413
+ this .archiveBuilder .addTypeDefPatch (deprecateSetDocumentType ());
1414
+
1412
1415
}
1413
1416
1414
1417
@@ -1431,7 +1434,7 @@ private TypeDefPatch deprecateBoundedSchemaType()
1431
1434
}
1432
1435
1433
1436
/**
1434
- * Deprecate the BoundedSchemaType
1437
+ * Deprecate the BoundedSchemaElementType
1435
1438
*
1436
1439
* @return patch
1437
1440
*/
@@ -1449,7 +1452,7 @@ private TypeDefPatch deprecateBoundedSchemaElementType()
1449
1452
}
1450
1453
1451
1454
/**
1452
- * Deprecate the BoundedSchemaType
1455
+ * Deprecate the ArraySchemaType
1453
1456
*
1454
1457
* @return patch
1455
1458
*/
@@ -1467,7 +1470,25 @@ private TypeDefPatch deprecateArraySchemaType()
1467
1470
}
1468
1471
1469
1472
/**
1470
- * Deprecate the BoundedSchemaType
1473
+ * Deprecate the ArrayDocumentType
1474
+ *
1475
+ * @return patch
1476
+ */
1477
+ private TypeDefPatch deprecateArrayDocumentType ()
1478
+ {
1479
+ final String typeName = "ArrayDocumentType" ;
1480
+
1481
+ TypeDefPatch typeDefPatch = archiveBuilder .getPatchForType (typeName );
1482
+
1483
+ typeDefPatch .setUpdatedBy (originatorName );
1484
+ typeDefPatch .setUpdateTime (creationDate );
1485
+ typeDefPatch .setTypeDefStatus (TypeDefStatus .DEPRECATED_TYPEDEF );
1486
+
1487
+ return typeDefPatch ;
1488
+ }
1489
+
1490
+ /**
1491
+ * Deprecate the SetSchemaType
1471
1492
*
1472
1493
* @return patch
1473
1494
*/
@@ -1484,5 +1505,23 @@ private TypeDefPatch deprecateSetSchemaType()
1484
1505
return typeDefPatch ;
1485
1506
}
1486
1507
1508
+ /**
1509
+ * Deprecate the SetDocumentType
1510
+ *
1511
+ * @return patch
1512
+ */
1513
+ private TypeDefPatch deprecateSetDocumentType ()
1514
+ {
1515
+ final String typeName = "SetDocumentType" ;
1516
+
1517
+ TypeDefPatch typeDefPatch = archiveBuilder .getPatchForType (typeName );
1518
+
1519
+ typeDefPatch .setUpdatedBy (originatorName );
1520
+ typeDefPatch .setUpdateTime (creationDate );
1521
+ typeDefPatch .setTypeDefStatus (TypeDefStatus .DEPRECATED_TYPEDEF );
1522
+
1523
+ return typeDefPatch ;
1524
+ }
1525
+
1487
1526
}
1488
1527
0 commit comments