21
Issue 134: Specification of Constraints There is no standard way of specifying constraints Constraints in MDR metamodel • OCL expressions can be provided for metaclass and its instance • Target: Data Element Concept and Conceptual Domain, Value Domain and Data Element and so on. Constraints of registered data elements (user should be defined) • Target: Conceptual Domain or Value Domain • Representation, Dimensionality and Classification are a kind of constraints • User defined matadata should enable to be defined as extension mechanism, such as ebXML Registry and Repository • Constraint should be described using such user defined slots • Need formal description language such as OCL, CL We should allow OCL or other specification languages to be used by users of the registry

Issue 134: Specification of Constraints

  • Upload
    knoton

  • View
    23

  • Download
    1

Embed Size (px)

DESCRIPTION

Issue 134: Specification of Constraints. There is no standard way of specifying constraints Constraints in MDR metamodel OCL expressions can be provided for metaclass and its instance Target: Data Element Concept and Conceptual Domain, Value Domain and Data Element and so on. - PowerPoint PPT Presentation

Citation preview

Page 1: Issue 134: Specification of Constraints

Issue 134: Specification of Constraints

• There is no standard way of specifying constraints – Constraints in MDR metamodel

• OCL expressions can be provided for metaclass and its instance• Target: Data Element Concept and Conceptual Domain, Value

Domain and Data Element and so on.

– Constraints of registered data elements (user should be defined)

• Target: Conceptual Domain or Value Domain• Representation, Dimensionality and Classification are a kind of

constraints• User defined matadata should enable to be defined as extension

mechanism, such as ebXML Registry and Repository• Constraint should be described using such user defined slots• Need formal description language such as OCL, CL

• We should allow OCL or other specification languages to be used by users of the registry

Page 2: Issue 134: Specification of Constraints

• 4.11.1.3 Data Element Concept• (1) A Data Element Concept is a concept that can be represented in the form of a data element,

described independently of any particular representation.• (2) A Data Element Concept may have zero or one Object Class and zero or one Property. • (3) The union of a Property and an Object Class provides significance beyond either that of the

Property or the Object Class. • (4) A Data Element Concept thus has a Definition independent from the Definition of the Object

Class or the Property.• (5) As an Administered Item, a Data Element Concept carries its own Administration Record

information, allowing it to be identified, named, defined and optionally classified within a Classification Scheme. IdentifiedandOptionallyClassified

• (6) A Data Element Concept may be associated with other Data Element Concepts, via the Data Element Concept Relationship.

• (7) The nature of the relationship is described using the data element concept relationship type description. IsDescribedUsing

• (8) A Data Element Concept may be registered as an Administered Item without necessarily being associated with any Data Element, but a Data Element Concept shall be associated with exactly one Conceptual Domain, as represented by the "data element concept-conceptual domain relationship" in Figure 8. MustBeRegistered, ShallBeAssociatedWith

• (9) The Conceptual Domain specifies all valid Value Meanings of a Data Element Concept. The Conceptual Domain is described in 4.12.1.1.MustBeContained

Constraints in Data Element Concept

Page 3: Issue 134: Specification of Constraints

Examples of OCL expression

MustBeContainedUnless….….AttributesCannotBeChanged….CannotBeDeleted….DependenciesCannotBeChanged….NamesMustNotCollide….MustNotBeSelf….MustBeSame….MustNotCollideWith….….RuleMustBeObeyedNo….AllowedFor…..

Page 4: Issue 134: Specification of Constraints

Examples of Constraints (form MOF1.4)

• [A ModelElement that is not a Package must have a container. [C-1]]• [The attribute values of a ModelElement which is frozen cannot be changed. [C-2]]• [A frozen ModelElement which is in a frozen Namespace can only be deleted, by deleting

the Namespace. [C-3]]• [The link sets that express dependencies of a frozen Element on other Elements cannot be

explicitly changed. [C-4]]• [The names of the contents of a Namespace must not collide. [C-5]]• [A Generalizable Element cannot be its own direct or indirect supertype. [C-6]]• [A supertypes of a GeneralizableElement must be of the same kind as the

GeneralizableElement itself. [C-7]]• [The names of the contents of a GeneralizableElement should not collide with the names

of the contents of any direct or indirect supertype. [C-8]]• [Multiple inheritance must obey the “Diamond Rule.” [C-9]]• [If a Generalizable Element is marked as a “root,” it cannot have any supertypes. [C-10]]• [A GeneralizableElement’s immediate supertypes must all be visible to it. [C-11]]• [A GeneralizableElement cannot inherit from a GeneralizableElement defined as a “leaf.”

[C-12]]

Page 5: Issue 134: Specification of Constraints

[C-1] MustBeContainedUnlessPackage

• format1: MUST_BE_CONTAINED_UNLESS_PACKAGE

• format2: must_be_contained_unless_package

• evaluation policy: deferred

• description: A ModelElement that is not a Package must have a container.

context ModelElement

inv:

not self.oclIsTypeOf(Package) implies

self.container -> size = 1

Page 6: Issue 134: Specification of Constraints

• format1: FROZEN_ATTRIBUTES_CANNOT_BE_CHANGED

• format2: frozen_attributes_cannot_be_changed

• evaluation policy: immediate

• description: The attribute values of a ModelElement which is frozen cannot be changed.

[C-2] FrozenAttributesCannotBeChanged

context ModelElement

inv:

self.isFrozen() implies

let myTypes = self.oclType() -> allSupertypes() ->

includes(self.oclType()) in

let myAttrs : Set(Attribute) =

self.RefBaseObject::refMetaObject() ->asOclType(Class) ->

findElementsByTypeExtended(Attribute) in

myAttrs -> forAll(a |self.RefObject::refValue@pre(a) =

self.RefObject::refValue(a))

Page 7: Issue 134: Specification of Constraints

[C-3] FrozenElementsCannotBeDeleted

• format1: FROZEN_ELEMENTS_CANNOT_BE_DELETED

• format2: frozen_elements_cannot_be_deleted

• evaluation policy: immediate

• description: A frozen ModelElement which is in a frozen Namespace can only be deleted, by deleting the Namespace.

• context ModelElement• post:• (self.isFrozen@pre() and• self.container@pre -> notEmpty and• self.container.isFrozen@pre()) implies

(self.container.Object::non_existent() or not self.Object::non_existent())

Page 8: Issue 134: Specification of Constraints

[C-4] FrozenDependenciesCannotBeChanged• format1: FROZEN_DEPENDENCIES_CANNOT_BE_CHANGED• format2: frozen_dependencies_cannot_be_changed • evaluation policy: immediate• description: The link sets that express dependencies of a frozen Element on other Elements

cannot be explicitly changed.

• context ModelElement• post:• self.isFrozen() implies• let myClasses = self.oclType() -> allSupertypes() ->

includes(self.oclType()) in• let myRefs = Set(Reference) =• self.RefBaseObject::refMetaObject() -> asOclType(Class) ->• findElementsByTypeExtended(Reference) in• let myDepRefs = myRefs ->• select(r | Set{“contents”, “constraints”, “supertypes”,

“type”, “referencedEnd”, “exceptions”, “importedNamespace”, “elements”} -> includes(r.name)) in

• myDepRefs -> forAll(r |self.RefObject::refValue@pre(r) = •

self.RefObject::refValue(r))

Page 9: Issue 134: Specification of Constraints

[C-5] ContentNamesMustNotCollide

• format1: CONTENT_NAMES_MUST_NOT_COLLIDE

• format2: content_names_must_not_collide

• evaluation policy: immediate

• description: The names of the contents of a Namespace must not collide.

• context Namespace• inv: self.contents.forAll( e1, e2 | e1.name = e2.name

implies r1 = r2)

Page 10: Issue 134: Specification of Constraints

[C-6] SupertypeMustNotBeSelf

• format1: SUPERTYPE_MUST_NOT_BE_SELF

• format2: supertype_must_not_be_self

• evaluation policy: immediate

• description: A Generalizable Element cannot be its own direct or indirect

• supertype.

• context GeneralizableElement• inv: self.allSupertypes() -> forAll(s | s <> self)

Page 11: Issue 134: Specification of Constraints

[C-7] SupertypeKindMustBeSame

• format1: SUPERTYPE_KIND_MUST_BE_SAME• format2: supertype_kind_must_be_same• evaluation policy: immediate• description: A supertypes of a GeneralizableElement must be of the same

kind as the GeneralizableElement itself.

• context GeneralizableElement• inv: self.supertypes -> forAll(s | s.oclType() =

self.oclType())

Page 12: Issue 134: Specification of Constraints

• format1: CONTENTS_MUST_NOT_COLLIDE_WITH_SUPERTYPES

• format2: contents_must_not_collide_with_supertypes

• evaluation policy: immediate

• description: The names of the contents of a GeneralizableElement should not

• collide with the names of the contents of any direct or indirect

• supertype.

• context GeneralizableElement• inv:• let superContents = self.allSupertypes() -> collect(s

| s.contents) in• self.contents -> forAll(m1 | superContents ->

forAll(m2 | m1.name = m2.name implies m1 = m2))

[C-8] ContentsMustNotCollideWithSupertypes

Page 13: Issue 134: Specification of Constraints

[C-9] DiamondRuleMustBeObeyed

• format1: DIAMOND_RULE_MUST_BE_OBEYED

• format2: diamond_rule_must_be_obeyed

• evaluation policy: immediate

• description: Multiple inheritance must obey the “Diamond Rule.”

• context GeneralizableElement• inv:• let superNamespaces =• self.supertypes -> collect(s | s.extendedNamespace)

in superNamespaces -> asSet -> isUnique(s | s.name)

Page 14: Issue 134: Specification of Constraints

[C-10] NoSupertypesAllowedForRoot

• format1: NO_SUPERTYPES_ALLOWED_FOR_ROOT

• format2: no_supertypes_allowed_for_root

• evaluation policy: immediate

• description: If a Generalizable Element is marked as a “root,” it cannot have any supertypes.

• context GeneralizableElement• inv: self.isRoot implies self.supertypes ->

isEmpty

Page 15: Issue 134: Specification of Constraints

Data_El ement _Conceptobj ect _cl ass_cl assi fi er[0. . 1] : St r i ngproper ty_qual i fi er [ 0. . 1] : St r i ng

Data_El ementrepresentat i on_cl ass_qual i fi er [ 0. . 1] : St r i ngdata_el ement _preci si on [ 0. . 1] : I nteger

1

0. . n

+expresed by

1

+expressi ng

0. . n

data_el ement _concept _expressi on

Conceptual _Domai ndi mensi onal i t y [ 0. . 1] : St r i ng

10. . n

+speci f yi ng

1

+havi ng

0. . n

data_el ement _concept _conceptual _domai n_rel at i onshi p

Admi ni st rat i on_Recordregi st rat i on_st atus [ 1. . 1] : St r i ngadmi ni st rat i ve_status [1. . 1] : St r i ngcreat i on_dat e [ 1. . 1] : Datel ast_change_dat e [ 0. . 1] : Dateeff ect i ve_date [ 0. . 1] : Dat eunt i l _date [ 0. . 1] : Datechange_descr i pt i on [ 0. . 1] : St r i ngadmi ni st rat i ve_not e [ 0. . 1] : St r i ngexpl anat ory_comment [ 0. . 1] : St r i ngunresol ved_i ssue [ 0. . 1] : St r i ngor i gi n [ 0. . 1] : St r i ng

1

1

1

1

data_el ement _concept _admi ni st rat i on_record

1

1

1

1conceptual _domai n_admi ni st rat i on_record

1

1

1

1

data_el ement _admi ni st rat i on_record

Val ue_Domai nval ue_domai n_maxi mum_character_quant i t y [ 0. . 1] : I ntegerval ue_domai n_f ormat [ 0. . 1] : St r i ng

10. . n

+repreent i ng

1

+represented by

0. . n

data_el ement _representat i on

1

0. . n

+represented by

1

+represent i ng

0. . n

conceptual _domai n_represent at i on

1

1

1

1

val ue_domai n_admi ni st rat i on_record

Uni t_of _Measureuni t_of _measure_name [1. . 1] : St r i nguni t_of _measure_preci si on [ 1. . 1] : I nteger

1

0. . 1

1

0. . 1

val ue_domai n_uni t_of _measure

Page 16: Issue 134: Specification of Constraints

ConceptConcept_Rel ati onshi p

Conceptconcept_rel ati onshi p_type_descri pti on [1. .1] : Stri ng

n

0. .1

n+used_i n

0. .1

0. .1

n+usi ng

0. .1

n

Conceptual _Domai ndi mensi onal i ty [0. .1] : Stri ng

Data_El ement_Concept_Rel ationshi pdata_el ement_concept_rel ationshi p_type_descri pti on [1. .1] : Stri ng

Obj ect_Cl ass

Property

Admi ni strati on_Recordregi strati on_status [1. .1] : Stri ngadmi ni strati ve_status [1. .1] : Stri ngcreation_date [1..1] : Datel ast_change_date [0. .1] : Dateeff ecti ve_date [0. .1] : Dateunti l _date [0. .1] : Datechange_descri pti on [0. .1] : Stri ngadmi ni strati ve_note [0. .1] : Stri ngexpl anatory_comment [0. .1] : Stri ngunresol ved_i ssue [0. .1] : Stri ngori gi n [0. .1] : Stri ng

1 11 1property_admi ni strati on_record

1

1

1

1

obj ect_cl ass_admini strati on_record

1

1

1

1conceptual _domai n_admi ni strati on_record

Data_El ement_Conceptobj ect_cl ass_cl assi fi er[0. .1] : Stri ngproperty_qual i fi er [0. .1] : Stri ng

10. .n

+speci fyi ng

1

+havi ng

0. .n

data_el ement_concept_conceptual _domai n_rel ati onshi p

0. .10. .n

+rel ated to

0. .10. .n

0. .n

0. .1

0. .n+rel ated to

0. .1

0. .n

0. .1

0. .n

0. .1

data_el ement_concept_obj ect_cl ass

0. .n

0. .1

0. .n

0. .1

data_el ement_concept_property

1

1

1

1

data_el ement_concept_admi nistrati on_record

Page 17: Issue 134: Specification of Constraints

Enumerat ed_Concept ual _Domai n

Val ue_Meani ngval ue_meani ng_i dent i fi er [ 1. . 1] : St r i ngval ue_meani ng_descr i pt i on [ 0. . 1] : St r i ngval ue_meani ng_begi n_date [ 1. . 1] : Dat eval ue_meani ng_end_dat e [ 0. . 1] : Date

1. . n

1. . n

+cont ai ni ng1. . n

+cont ai ned_i n1. . n

val ue_meani ng_set

Val ueval ue_i t em [ 1. . 1] : St r i ng

Permi ssi bl e_Val uepermi ssi bl e_val ue_begi n_dat e [ 1. . 1] : Datepermi ssi bl e_val ue_end_dat e [ 0. . 1] : Dat e

1

0. . n

+used_i n1

+has 0. . n

permi ssi bl e_val ue_meani ng

1

0. . n

+used_i n1

+has0. . n

permi t t ed_val ue

Enumerat ed_Value_Domai n

2. . n

0. . n

+cont ai ned_i n

2. . n

+cont ai ni ng

0. . n

permi ssi bl e_val ue_set

Non_enumerat ed_Val ue_Domai nnon_enumerat ed_domai n_descr i pt i on [1. . 1] : St r i ng

Non_enumerat ed_Concept ual _Domai nnon_enumerat ed_concept ual _domai n_descr i pt i on [ 1. . 1] : St r i ng

1

+represent i ng

+represented_by

1

non- enumerat ed_concept ual _domai n_represent at i on

Dat a_El ement _Concept _Rel at i onshi pdat a_el ement _concept _rel at i onshi p_type_descr i pt i on [ 1. . 1] : St r i ng

Dat a_El ement _Exampl edat a_el ement _exampl e_i tem [ 1. . n] : St r i ng Dat a_El ement _Deri vat i on

Concept ual _Domai n_Rel at i onshi pconcept ual _domai n_rel at i onshi p_t ype_descr i pt i on [ 1. . 1] : St r i ng

Der i vat i on_Rul eder i vat i on_rul e_speci fi cat i on [ 1. . 1] : St r i ng

0. . n

1

+appl yi ng0. . n

+appl i ed_to

1

der i vat i on_rul e_appl i cat i on

Dat a_El ement _Conceptobj ect _cl ass_cl assi fi er[ 0. . 1] : St r i ngproper t y_qual i fi er [ 0. . 1] : St r i ng

1

0. . n

+rel at ed to1

0. . n

0. . n

1

0. . n+rel at ed to

1

Dat a_El ementrepresent at i on_cl ass_qual i fi er [ 0. . 1] : St r i ngdat a_el ement _preci si on [ 0. . 1] : I nteger

1. . n

0. . n

+exempl i fi ed_by1. . n

+exempl i f yi ng0. . n

exempl i fi cat i on

1. . n

0. . 1

+deri ved_f rom

1. . n

+deri vi ng

0. . 1der i vat i on_out put

1. . n

0. . n

+i nput _t o1. . n

+i nput i ng0. . n

der i vat i on_i nput

1

0. . n

+expressed_by1

+expressi ng

0. . n

dat a_el ement _concept _expressi on

Represent ati on_Cl ass

Val ue_Domai n_Rel at i onshi pval ue_domai n_rel at i onshi p_t ype_descr i pt i on [ 1. . 1] : St r i ng

Concept ual _Domai ndi mensi onal i t y [0. . 1] : St r i ng

0. . n

1

0. . n

+rel at ed to1

1

0. . n

+rel at ed to

1

0. . n

10. . n

+speci f yi ng

1

+havi ng

0. . n

dat a_el ement _concept _concept ual _domai n_rel at i onshi p

Admi ni st rat i on_Recordregi st rat i on_st at us [ 1. . 1] : St r i ngadmi ni st rat i ve_st at us [1. . 1] : St r i ngcreat i on_dat e [ 1. . 1] : Dat el ast_change_dat e [ 0. . 1] : Dateeff ect i ve_dat e [0. . 1] : Dat eunt i l _dat e [ 0. . 1] : Datechange_descr i pt i on [ 0. . 1] : St r i ngadmi ni st rat i ve_not e [ 0. . 1] : St r i ngexpl anat ory_comment [ 0. . 1] : St r i ngunresol ved_i ssue [ 0. . 1] : St r i ngor i gi n [ 0. . 1] : St r i ng

der i vat i on_rul e_admi ni st rat i on_recordrepresent at i on_cl ass_admi ni st rat i on_record

Dat at ype

dat at ype_name [ 1. . 1] : St r i ngdat at ype_descr i pt i on [ 0. . 1] : St r i ngdat at ype_scheme_ref erence [ 1. . 1] : St r i ngdat at ype_annot at i on [ 0. . 1] : St r i ng

(MOF1. 4 )から

Uni t_of _Measureuni t_of _measure_name [ 1. . 1] : St r i nguni t_of _measure_preci si on [ 1. . 1] : I nt eger

Val ue_Domai nval ue_domai n_maxi mum_charact er_quant i t y [0. . 1] : I nt egerval ue_domai n_f ormat [ 0. . 1] : St r i ng

10. . n

+represent i ng

1

+represented_by

0. . n

dat a_el ement _represent at i on

0. . n

0. . 1

+t yped_by0. . n

+t ypi ng0. . 1

val ue_domai n_represent at i on_cl ass

1

0. . n

+rel at ed to

1

0. . n0. . n

1

0. . n

+rel at ed to

1

0. . n

1

+represent i ng

0. . n

+represented_by

1

concept ual _domai n_represent at i on

val ue_domai n_datat ype

Page 18: Issue 134: Specification of Constraints

Language_I dent i fi cat i onl anguage_i dent i fi er [1. . 1] : St ri ngcountry_i dent i fi er [0. . 1] : St r i ng

Contactcontact_name [1. . 1] : St r i ngcontact_t i t l e [0. . 1] : St r i ngcontact_i nf ormat i on [1. . 1] : St ri ng

Admi ni st rat i on_Recordregi st rat i on_status [1. . 1] : St ri ngadmi ni st rat i ve_status [1. . 1] : St r i ngcreat i on_date [1. . 1] : Datel ast_change_date [0. . 1] : Dateeff ect i ve_date [0. . 1] : Dateunt i l _date [0. . 1] : Datechange_descr i pt i on [0. . 1] : St r i ngadmi ni st rat i ve_note [0. . 1] : St ri ngexpl anatory_comment [0. . 1] : St ri ngunresol ved_i ssue [0. . 1] : St r i ngor i gi n [0. . 1] : St r i ng

Regi st rat i on_ Author i ty_I dent i fi eri nternat i onal _code_desi gnator [1. . 1] : St r i ngorgani zat i on_i dent i fi er [1. . 1] : St r i ngorgani zat i on_part _i dent i fi er [0. . 1] : Str i ngOPI _source [0. . 1] : St ri ng

I tem_I dent i fi erdata_i dent i fi er [1. . 1] : St r i ngversi on [1. . 1] : St r i ng

1

0. . n

1

0. . n

admi ni stered_i tem_i dent i fi er

1

0. . n

1

0. . n

i t em_regi st rat i on_author i ty_i dent i fi er

Page 19: Issue 134: Specification of Constraints

Cl assi fi cati on_Scheme_I tem_Rel ati onshi pcl assi fi cati on_scheme_i tem_rel at i onshi p_type_descri pti on [1. . 1] : Stri ng

Cl assi fi cati on_Schemecl assi fi cati on_scheme_type_name [1. . 1] : Stri ng

Cl assi fi cati on_Scheme_I temcl assi fi cati on_scheme_i tem_type_name [0. . 1] : Stri ngcl assi fi cati on_scheme_i tem_val ue [0. . 1] : Stri ng

0. . 1

0. . n

+associ at i on0. . 1

0. . n

0. . n

0. . 1

+associ at i on0. . n

0. . 1

1. . n

0. . n

+contai ni ng1. . n

+contai ned i n0. . n

cl assi fi cati on_scheme_membershi pAdmi ni strat i on_Record

regi strat i on_status [1. . 1] : Stri ngadmi ni strat i ve_status [1. . 1] : Stri ngcreati on_date [1. . 1] : Datel ast_change_date [0. . 1] : Dateeff ecti ve_date [0. . 1] : Dateunti l _date [0. . 1] : Datechange_descri pti on [0. . 1] : Stri ngadmi ni strat i ve_note [0. . 1] : Stri ngexpl anatory_comment [0. . 1] : Stri ngunresol ved_i ssue [0. . 1] : Stri ngori gi n [0. . 1] : Stri ng

1

1

1

1cl assi fi cati on_scheme_admi ni strati on_record

Admi ni stered_I tem

0. . n

0. . n

+cl assi f yi ng0. . n

+cl assi fi ed_by

0. . n

admi ni stered_i tem_cl assi fi cati on

1

1

1

1

admi ni stered_i tem_admi ni strat i on_record

Page 20: Issue 134: Specification of Constraints

Ref erence Documentref erence_document_i dent i fi er [ 1. . 1] : St r i ngref erence_document_type_descr i pt i on [0. . 1] : St r i ngref erence_document_t i t l e [ 0. . 1] : St r i ng

Organi zat i on(MDR)organi zat i on_name [1. . 1] : St r i ng2organi zat i on_mai l _address [0. . 1] : St r i ng

1. . n

0. . n

+provi di ng

1. . n +provi ded_by

0. . n

Admi ni stered I t em

0. . n

0. . n

+descr i bi ng

0. . n

+descr i bed_by

0. . n

ref erence

Language_I dent i fi cat i onl anguage_i dent i fi er [ 1. . 1] : St r i ngcount ry_i dent i fi er [ 0. . 1] : St r i ng

Regi st rat i on_ Author i t y_I dent i fi eri nternat i onal _code_desi gnator [ 1. . 1] : St r i ngorgani zat i on_i dent i fi er [ 1. . 1] : St r i ngorgani zat i on_part _i dent i fi er [ 0. . 1] : St r i ngOPI _source [0. . 1] : St r i ng

Submi ssi on

1

1

+submi t ted_by1

1

1

0. . n

+submi t t i ng1

0. . n

Stewardshi p

1

1

+admi ni stered_by1

1

+admi ni ster i ng

Regi storat i on Author i t y

1

0. . n

+regi ster i ng1

+regi stered_by0. . n

regi st rat i on

1. . n

0. . n

1. . n

0. . n

documentat i on_l anguage_i dent i fi er

11 11

regi st rat i on_author i t y_i dent i fi er

Contactcontact _name [1. . 1] : St r i ngcontact _t i t l e [ 0. . 1] : St r i ngcontact _i nf ormat i on [1. . 1] : St r i ng

1

1

1

1

submi ssi on_contact

1

1

1

1

stewardshi p_contact

Regi sterregi st rar_i dent i fi er [ 1. . 1] : St r i ng

1

1. . n

+represented_by1

+represent s1. . n

regi st rat i on_author i t y_regi st rar

1

1

1

1

regi st rar_contact

Page 21: Issue 134: Specification of Constraints

Admi ni stered I tem

Admi ni strati on_Recordregi strati on_status [1. .1] : Stri ngadmi ni strati ve_status [1. .1] : Stri ngcreati on_date [1. .1] : Datel ast_change_date [0. .1] : Dateeff ecti ve_date [0. .1] : Dateunti l _date [0. .1] : Datechange_descri pti on [0. .1] : Stri ngadmi ni strati ve_note [0. .1] : Stri ngexpl anatory_comment [0. .1] : Stri ngunresol ved_i ssue [0. .1] : Stri ngorigin [0. .1] : Stri ng

1

1

1

1

admi ni stered_i tem_admi ni strati on_record

Terminol ogi cal _Entry

1

0. .n

1

0. .n

Desi gnati on (of Admini stered I tem)name [1. .1] : stri ngpreferred_designati on [0. .1] : True_Fal se

Context (for Admi ni stered I tem)context_descri pti on [1. .1] : stri ng

0. .n

1. .n

+having0. .n

+grouping1. .n

admi ni stered_i tem_context

1

1. .n

1

1. .n1

1

1

1context_admini strati on_record

Language_Secti on

1

0. .n

+containing1

+naming_entry_of

0. .n

name_entry

1

1. .n

+containing1

+parti ti oning1. .n

terminol ogi cal _entry_l anguages

Defi ni ti on (of Admi ni stered I tem)defi ni ti on_text [1. .1] : stri ngpreferred_defi ni ti on [0. .1] : True_Fal se

0. .1

0. .1

+speci fi cal l y_referencing0. .1

+speci fi cal l y_usi ng0. .1

term_defi ni ti on_pai ri ng

1

0. .n

+containing

1

+defi ning_entry_of

0. .n

defi ni ti on_entry

Language_I denti fi cati onlanguage_i denti fi er [1. .1] : Stri ngcountry_identi fi er [0. .1] : Stri ng

0. .1

0. .n

0. .1

0. .n

context_descri pti on_l anguage_identifi er

l anguage_secti on_l anguage_i denti fi er

Reference Documentreference_document_identi fi er [1. .1] : Stri ngreference_document_type_descri pti on [0. .1] : Stri ngreference_document_ti tl e [0. .1] : Stri ng

0. .10. .n 0. .10. .ndefi ni ti on_source_reference

0. .n

0. .n

0. .n

0. .n

reference_document_l anguage_identifi er