complexType "uml:Constraint"
Namespace: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
|
Content Model Diagram
XML Representation Summary |
| <... |
| |
|
= |
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 |
|
| |
> |
| |
|
| </...> |
Known Direct Subtypes (2):
-
Known Indirect Subtypes (2):
-
All Direct / Indirect Based Elements (18):
-
Known Usage Locations
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.
Type Definition Detail
Type Derivation Tree uml:Constraint |
XML Source (w/o annotations (4); see within schema source)
| <xsd:complexType name="Constraint"> <xsd:complexContent> <xsd:choice maxOccurs="unbounded" minOccurs="0"> </xsd:choice> </xsd:extension> </xsd:complexContent> </xsd:complexType> |
Attribute Detail (all declarations; defined within this component only; 1/13)
constrainedElement-
Type: |
xsd:string, predefined |
Use: |
optional |
ordered set of Elements referenced by this Constraint.
XML Source (w/o annotations (1); see within schema source)
Content Element Detail (all declarations; defined within this component only; 2/10) -
ordered set of Elements referenced by this Constraint.
XML Source (w/o annotations (1); see within schema source)
-
A condition that must be true when evaluated in order for the constraint to be satisfied. Subsets Element::ownedElement.
XML Source (w/o annotations (1); see within schema source)