Commit 1e939c9c authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[code gen] Annotation (almost) everywhere.

For UX reason, don't add it when there is no user_cardinality as well (so we can
consistently edit annotation).

Related to #14157055
parent 187b2c8dd288
......@@ -24,7 +24,7 @@ class SEDAArchiveTransfer(AnyEntity):
class SEDAComment(AnyEntity):
__regid__ = 'SEDAComment'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'comment'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'comment', 'user_annotation'])
value_attr = 'comment'
class SEDASignature(AnyEntity):
......@@ -34,7 +34,7 @@ class SEDASignature(AnyEntity):
class SEDAArchivalAgreement(AnyEntity):
__regid__ = 'SEDAArchivalAgreement'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'archival_agreement'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'archival_agreement', 'user_annotation'])
value_attr = 'archival_agreement'
class SEDARelatedTransferReference(AnyEntity):
......@@ -59,7 +59,7 @@ class SEDAPhysicalDataObject(AnyEntity):
class SEDAServiceLevel(AnyEntity):
__regid__ = 'SEDAServiceLevel'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'service_level'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'service_level', 'user_annotation'])
value_attr = 'service_level'
class SEDAStorageRule(AnyEntity):
......@@ -89,12 +89,12 @@ class SEDAReuseRule(AnyEntity):
class SEDAClassificationRule(AnyEntity):
__regid__ = 'SEDAClassificationRule'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'classification_owner'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'classification_owner', 'user_annotation'])
value_attr = 'classification_owner'
class SEDANeedAuthorization(AnyEntity):
__regid__ = 'SEDANeedAuthorization'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'need_authorization'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'need_authorization', 'user_annotation'])
value_attr = 'need_authorization'
class SEDASeqClassificationRuleRule(AnyEntity):
......@@ -114,7 +114,7 @@ class SEDAClassificationReassessingDate(AnyEntity):
class SEDANeedReassessingAuthorization(AnyEntity):
__regid__ = 'SEDANeedReassessingAuthorization'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'need_reassessing_authorization'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'need_reassessing_authorization', 'user_annotation'])
value_attr = 'need_reassessing_authorization'
class SEDAPreventInheritance(AnyEntity):
......@@ -214,12 +214,12 @@ class SEDADataObjectReference(AnyEntity):
class SEDArestrictionRuleIdRef(AnyEntity):
__regid__ = 'SEDArestrictionRuleIdRef'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'restriction_rule_id_ref'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'restriction_rule_id_ref', 'user_annotation'])
value_attr = 'restriction_rule_id_ref'
class SEDArestrictionValue(AnyEntity):
__regid__ = 'SEDArestrictionValue'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'restriction_value'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'restriction_value', 'user_annotation'])
value_attr = 'restriction_value'
class SEDArestrictionEndDate(AnyEntity):
......@@ -229,12 +229,12 @@ class SEDArestrictionEndDate(AnyEntity):
class SEDATitle(AnyEntity):
__regid__ = 'SEDATitle'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'title'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'title', 'user_annotation'])
value_attr = 'title'
class SEDAFilePlanPosition(AnyEntity):
__regid__ = 'SEDAFilePlanPosition'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'file_plan_position'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'file_plan_position', 'user_annotation'])
value_attr = 'file_plan_position'
class SEDASystemId(AnyEntity):
......@@ -249,32 +249,32 @@ class SEDAOriginatingSystemId(AnyEntity):
class SEDAArchivalAgencyArchiveUnitIdentifier(AnyEntity):
__regid__ = 'SEDAArchivalAgencyArchiveUnitIdentifier'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'archival_agency_archive_unit_identifier'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'archival_agency_archive_unit_identifier', 'user_annotation'])
value_attr = 'archival_agency_archive_unit_identifier'
class SEDAOriginatingAgencyArchiveUnitIdentifier(AnyEntity):
__regid__ = 'SEDAOriginatingAgencyArchiveUnitIdentifier'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'originating_agency_archive_unit_identifier'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'originating_agency_archive_unit_identifier', 'user_annotation'])
value_attr = 'originating_agency_archive_unit_identifier'
class SEDATransferringAgencyArchiveUnitIdentifier(AnyEntity):
__regid__ = 'SEDATransferringAgencyArchiveUnitIdentifier'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'transferring_agency_archive_unit_identifier'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'transferring_agency_archive_unit_identifier', 'user_annotation'])
value_attr = 'transferring_agency_archive_unit_identifier'
class SEDADescription(AnyEntity):
__regid__ = 'SEDADescription'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'description'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'description', 'user_annotation'])
value_attr = 'description'
class SEDAType(AnyEntity):
__regid__ = 'SEDAType'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'type'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'type', 'user_annotation'])
value_attr = 'type'
class SEDADocumentType(AnyEntity):
__regid__ = 'SEDADocumentType'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'document_type'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'document_type', 'user_annotation'])
value_attr = 'document_type'
class SEDALanguage(AnyEntity):
......@@ -289,17 +289,17 @@ class SEDADescriptionLanguage(AnyEntity):
class SEDAStatus(AnyEntity):
__regid__ = 'SEDAStatus'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'status'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'status', 'user_annotation'])
value_attr = 'status'
class SEDAVersion(AnyEntity):
__regid__ = 'SEDAVersion'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'version'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'version', 'user_annotation'])
value_attr = 'version'
class SEDATag(AnyEntity):
__regid__ = 'SEDATag'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'tag'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'tag', 'user_annotation'])
value_attr = 'tag'
class SEDAKeyword(AnyEntity):
......@@ -339,7 +339,7 @@ class SEDARecipient(AnyEntity):
class SEDASource(AnyEntity):
__regid__ = 'SEDASource'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'source'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'source', 'user_annotation'])
value_attr = 'source'
class SEDACreatedDate(AnyEntity):
......@@ -499,17 +499,17 @@ class SEDAAltIsVersionOfArchiveUnitRefId(AnyEntity):
class SEDASpatial(AnyEntity):
__regid__ = 'SEDASpatial'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'spatial'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'spatial', 'user_annotation'])
value_attr = 'spatial'
class SEDATemporal(AnyEntity):
__regid__ = 'SEDATemporal'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'temporal'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'temporal', 'user_annotation'])
value_attr = 'temporal'
class SEDAJuridictional(AnyEntity):
__regid__ = 'SEDAJuridictional'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'juridictional'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'juridictional', 'user_annotation'])
value_attr = 'juridictional'
class SEDAKeywordContent(AnyEntity):
......@@ -529,7 +529,7 @@ class SEDAKeywordType(AnyEntity):
class SEDACustodialHistoryItem(AnyEntity):
__regid__ = 'SEDACustodialHistoryItem'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'custodial_history_item'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'custodial_history_item', 'user_annotation'])
value_attr = 'custodial_history_item'
class SEDACustodialHistoryFile(AnyEntity):
......@@ -604,17 +604,17 @@ class SEDAAltBinaryDataObjectAttachment(AnyEntity):
class SEDACompressed(AnyEntity):
__regid__ = 'SEDACompressed'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'compressed'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'compressed', 'user_annotation'])
value_attr = 'compressed'
class SEDACreatingApplicationName(AnyEntity):
__regid__ = 'SEDACreatingApplicationName'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'creating_application_name'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'creating_application_name', 'user_annotation'])
value_attr = 'creating_application_name'
class SEDACreatingApplicationVersion(AnyEntity):
__regid__ = 'SEDACreatingApplicationVersion'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'creating_application_version'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'creating_application_version', 'user_annotation'])
value_attr = 'creating_application_version'
class SEDADateCreatedByApplication(AnyEntity):
......@@ -624,12 +624,12 @@ class SEDADateCreatedByApplication(AnyEntity):
class SEDACreatingOs(AnyEntity):
__regid__ = 'SEDACreatingOs'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'creating_os'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'creating_os', 'user_annotation'])
value_attr = 'creating_os'
class SEDACreatingOsVersion(AnyEntity):
__regid__ = 'SEDACreatingOsVersion'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'creating_os_version'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'creating_os_version', 'user_annotation'])
value_attr = 'creating_os_version'
class SEDALastModified(AnyEntity):
......@@ -639,7 +639,7 @@ class SEDALastModified(AnyEntity):
class SEDAFormatLitteral(AnyEntity):
__regid__ = 'SEDAFormatLitteral'
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'format_litteral'])
fetch_attrs, cw_fetch_order = fetch_config(['user_cardinality', 'format_litteral', 'user_annotation'])
value_attr = 'format_litteral'
class SEDAMimeType(AnyEntity):
......
......@@ -520,7 +520,10 @@ msgstr ""
msgid "Relationship target of"
msgstr ""
msgid "SEDA 2.0 export"
msgid "SEDA 2.0 RNG export"
msgstr ""
msgid "SEDA 2.0 XSD export"
msgstr ""
msgid "SEDA profile tree"
......@@ -7309,6 +7312,62 @@ msgstr ""
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAccessRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAccessRuleCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAcquiredDate"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAddressee"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAltAccessRulePreventInheritance"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAltAppraisalRulePreventInheritance"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAltClassificationRulePreventInheritance"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAltDisseminationRulePreventInheritance"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAltReuseRulePreventInheritance"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAltStorageRulePreventInheritance"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAppraisalRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAppraisalRuleCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAArchivalAgencyArchiveUnitIdentifier"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAArchivalAgreement"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAArchiveTransfer"
msgid "user_annotation"
msgstr ""
......@@ -7317,18 +7376,446 @@ msgctxt "SEDAArchiveUnit"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAAuthorizedAgent"
msgid "user_annotation"
msgstr ""
msgctxt "SEDABinaryDataObject"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAClassificationReassessingDate"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAClassificationRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAClassificationRuleCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAComment"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACompressed"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACompressionAlgorithmCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAContent"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACreatedDate"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACreatingApplicationName"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACreatingApplicationVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACreatingOs"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACreatingOsVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACustodialHistoryFile"
msgid "user_annotation"
msgstr ""
msgctxt "SEDACustodialHistoryItem"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADataObjectReference"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADataObjectVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADataObjectVersionCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADateCreatedByApplication"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADepth"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADescription"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADescriptionLanguage"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADiameter"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADisseminationRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADisseminationRuleCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDADocumentType"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAEncoding"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAEncodingCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAEndDate"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAEvent"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAEventDetail"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAEventIdentifier"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAEventType"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAFilePlanPosition"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAFormatId"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAFormatLitteral"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAGpsAltitude"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAGpsAltitudeRef"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAGpsDateStamp"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAGpsLatitude"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAGpsLatitudeRef"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAGpsLongitude"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAGpsLongitudeRef"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAGpsVersionID"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAHeight"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAIsPartOf"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAIsVersionOf"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAJuridictional"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAKeyword"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAKeywordReference"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAKeywordType"
msgid "user_annotation"
msgstr ""
msgctxt "SEDALanguage"
msgid "user_annotation"
msgstr ""
msgctxt "SEDALastModified"
msgid "user_annotation"
msgstr ""
msgctxt "SEDALength"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAMimeType"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAMimeTypeCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDANeedAuthorization"
msgid "user_annotation"
msgstr ""
msgctxt "SEDANeedReassessingAuthorization"
msgid "user_annotation"
msgstr ""
msgctxt "SEDANumberOfPage"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAOriginatingAgency"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAOriginatingAgencyArchiveUnitIdentifier"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAOriginatingSystemId"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAPhysicalDataObject"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAReceivedDate"
msgid "user_annotation"
msgstr ""
msgctxt "SEDARecipient"
msgid "user_annotation"
msgstr ""
msgctxt "SEDARefNonRuleId"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAReferences"
msgid "user_annotation"
msgstr ""
msgctxt "SEDARegisteredDate"
msgid "user_annotation"
msgstr ""
msgctxt "SEDARelatedTransferReference"
msgid "user_annotation"
msgstr ""
msgctxt "SEDARelationship"
msgid "user_annotation"
msgstr ""
msgctxt "SEDARelationshipCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAReplaces"
msgid "user_annotation"
msgstr ""
msgctxt "SEDARequires"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAReuseRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAReuseRuleCodeListVersion"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASentDate"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASeqAccessRuleRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASeqAppraisalRuleRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASeqClassificationRuleRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASeqDisseminationRuleRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASeqReuseRuleRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASeqStorageRuleRule"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAServiceLevel"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAShape"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASignature"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASource"
msgid "user_annotation"
msgstr ""
msgctxt "SEDASpatial"
msgid "user_annotation"
msgstr ""
msgctxt "SEDAStartDate"