complexType "IfThenElseType"
Namespace:
Content:
complex, 6 attributes, 24 elements
Defined:
Includes:
definitions of 4 elements
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: 
</...>
Content Model Elements (24):
ConstructName, ElseConstructReference, ElseIf, ExternalAid, ExternalInterviewerInstruction, IfCondition, InterviewerInstructionReference, ThenConstructReference, 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
All Direct / Indirect Based Elements (1):
IfThenElse
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
r:AbstractIdentifiableType (extension)
      r:VersionableType (extension)
          ControlConstructType (extension)
              IfThenElseType
XML Source (w/o annotations (5); see within schema source)
<xs:complexType name="IfThenElseType">
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element minOccurs="0" ref="IfCondition"/>
<xs:element minOccurs="0" ref="ThenConstructReference"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ElseIf"/>
<xs:element minOccurs="0" ref="ElseConstructReference"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 4/24)
ElseConstructReference
Type:
r:ReferenceType, complex content
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)
<xs:element minOccurs="0" ref="ElseConstructReference"/>

ElseIf
Type:
ElseIfType, complex content
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"/>

IfCondition
Type:
r:CommandCodeType, complex content
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)
<xs:element minOccurs="0" ref="IfCondition"/>

ThenConstructReference
Type:
r:ReferenceType, complex content
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)
<xs:element minOccurs="0" ref="ThenConstructReference"/>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set