element <uml:Constraint> (global)
Namespace:
Type:
Content:
complex, 13 attributes, 10 elements
Defined:
globally in UML2XMI.xsd; see XML source
Used:
never
Content Model Diagram
XML Representation Summary
<uml:Constraint
   
 = 
xsd:ID
 = 
xsd:string
 = 
xsd:string
 = 
xsd:string
 = 
xsd:IDREF
 = 
"2.0"
 = 
xsd:QName
 = 
xsd:string
 = 
("public" | "private" | "protected" | "package")
 = 
xsd:string
 = 
xsd:string
 = 
("public" | "private" | "protected" | "package")
 = 
xsd:string
    >
   
Content: 
xmi:Extension*, eAnnotations*, ownedComment*, (templateBinding | ownedTemplateSignature)*, (clientDependency | nameExpression)*, templateParameter*, (specification | constrainedElement)*
</uml:Constraint>
Annotation
Constraint contains a ValueSpecification that specifies additional semantics for one or more elements. Certain kinds of constraints (such as an association “xor” constraint) are predefined in UML, others may be user-defined. A user-defined Constraint is described using a specified language, whose syntax and interpretation is a tool responsibility. One predefined language for writing constraints is OCL. In some situations, a programming language such as Java may be appropriate for expressing a constraint. In other situations natural language may be used. Constraint is a condition (a Boolean expression) that restricts the extension of the associated element beyond what is imposed by the other language constructs applied to that element. Constraint contains an optional name, although they are commonly unnamed.
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="Constraint" type="uml:Constraint"/>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.