complexType "IfThenElseType"
Namespace: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
|
XML Representation Summary |
<... |
|
|
= |
("Add" | "Update" | "Delete") |
|
= |
(xs:string | xs:string) |
|
= |
("Agency" | "Maintainable") : "Agency" |
|
= |
xs:boolean |
|
= |
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration) |
|
= |
"true" |
|
|
> |
|
Content: |
(r:URN | (r:Agency, r:ID, r:Version))[1..2], r:UserID*, r:UserAttributePair*, (r:VersionResponsibility | r:VersionResponsibilityReference)?, r:VersionRationale?, r:BasedOnObject?, r:MaintainableObject?, ConstructName*, r:Label*, r:Description?, r:InParameter*, r:OutParameter*, r:Binding*, ExternalAid*, (ExternalInterviewerInstruction | InterviewerInstructionReference)*, IfCondition?, ThenConstructReference?, ElseIf*, ElseConstructReference? |
|
</...> |
Content Model Elements (24):
-
ConstructName,
ElseConstructReference,
ElseIf,
ExternalAid,
ExternalInterviewerInstruction,
IfCondition,
InterviewerInstructionReference,
r:Agency,
r:BasedOnObject,
r:Binding,
r:Description,
r:ID,
r:InParameter,
r:Label,
r:MaintainableObject,
r:OutParameter,
r:URN,
r:UserAttributePair,
r:UserID,
r:Version,
r:VersionRationale,
r:VersionResponsibility,
r:VersionResponsibilityReference,
ThenConstructReference
All Direct / Indirect Based Elements (1):
-
Known Usage Locations
Annotation
A member of the ControlConstruct substitution group. Describes an if-then-else decision type of control construct. IF the stated condition is met, the THEN clause is trigged, otherwise the ELSE clause is triggered. Contains an IfCondition (the condition that must be met to trigger the Then clause), a ThenConstructReference (indicating the construct to invoke if the condition is met), an ElseConstructReference (indicating the construct to invoke if the condition is not met), and an ElseIf structure allowing the expression of multiple conditions to invoke multiple branching.
Type Definition Detail
Type Derivation Tree IfThenElseType |
XML Source (w/o annotations (5); see within schema source)
<xs:complexType name="IfThenElseType"> <xs:complexContent> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" ref="ElseIf"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> |
Content Element Detail (all declarations; defined within this component only; 4/24) -
Reference to the control construct which is triggered if the associated condition is not met.
XML Source (w/o annotations (1); see within schema source)
-
Use for multiple branching from a single point in the flow logic represented by the flow logic If, Then, ElseIf, Then, etc.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ElseIf"/> |
-
The condition which must be met to trigger the Then clause, expressed as a CommandCode. The condition is an expression in the programming language used in the instrument.
XML Source (w/o annotations (1); see within schema source)
-
Reference to the control construct which should be triggered if the associated condition is met.
XML Source (w/o annotations (1); see within schema source)