MergedConstraintRepr

Top  Previous  Next

Description

 

 

XML Representation

 

<MergedConstraint 

 Address="%constraint resource uri%" 

 ConstraintType="%constraint type identifier%">

  <TopicTypeSi>%si%</TopicTypeSi>

  <OtherTopicTypeSi>%si%</OtherTopicTypeSi>

  <OccurrenceTypeSi>%si%</OccurrenceTypeSi>

  <NameTypeSi>%si%</NameTypeSi>

  <RoleTypeSi>%si%</RoleTypeSi>

  <OtherRoleTypeSi>%si%</OtherRoleTypeSi>

  <AssociationTypeSi>%association type si%</AssociationTypeSi>

  <StatementTypeSi>%si%</StatementTypeSi>

  <ScopeTopicSi>%si%</ScopeTopicSi>

  <ScopeTypeSi>%si%</ScopeTypeSi>

  <CardMin>0</CardMin>

  <CardMax>1</CardMax>

  <RegExp>%regular expression string%</RegExp>

  <DataTypeUri>%data type identifier%</DataTypeUri>

  <Properties>

    <Property> see ConstraintPropertyRepr </Property>*

  </Properties>

  <SourceConstraints>

    <string>%source constraint resource uri%</string>*

  </SourceConstraints>

</MergedConstraint>

 

JSON Representation

 

"SourceConstraints": array of "%source constraint resource uri%",  

"Address":"%constraint resource uri%", 

"ConstraintType":"%constraint type identifier", 

"TopicTypeSi":"%si%", 

"OtherTopicTypeSi":"%si%", 

"OccurrenceTypeSi":"%si%", 

"NameTypeSi":"%si%", 

"RoleTypeSi":"%si%", 

"OtherRoleTypeSi":"%si%", 

"AssociationTypeSi":"%association type si%", 

"StatementTypeSi":"%si%", 

"ScopeTopicSi":"%si%", 

"ScopeTypeSi":"%si%", 

"CardMin":0, 

"CardMax":1, 

"RegExp":"%regular expression string%", 

"DataTypeUri":"%data type identifier%", 

"Properties": array of ConstraintPropertyRepr

 

 

Notes

The value for "%constraint type identifier%" must be one of the constraint subject identifiers defined by the TMCL standard. For a complete list of these identifiers please refer to the topic Constraint Type Identifiers.
An unbounded maximum cardinality can be specified by using the value Int32.MaxValue.

 

See Also