KlasseConditional

This class represents the ternary conditional expression, i.e., (cond) ? x : y. cond is a boolean expression, while x and y are arbitrary terms of the same type.

Attribute
<Class> BooleanExpression condition condition

This attribute represent the condition of the expression.

<Class> BooleanExpression then then

This term represents the "then" branch of the conditional expression.

<Class> BooleanExpression else else

This term represents the "else" branch of the conditional expression.

!!TableHeading.InheritedAttributes!!expressionsdecorator::BooleanExpression expressionsdecorator::BooleanExpression

!!TableHeading.InheritedAttributes!!expressionsdecorator::Assignment expressionsdecorator::Assignment

!!TableHeading.InheritedAttributes!!expressionsdecorator::GASTExpressionProxy expressionsdecorator::GASTExpressionProxy

!!TableHeading.InheritedAttributes!!gast::statements::GASTExpression gast::statements::GASTExpression

!!TableHeading.InheritedAttributes!!gast::core::SourceEntity gast::core::SourceEntity
position position

!!TableHeading.InheritedAttributes!!gast::core::ModelElement gast::core::ModelElement
annotations annotations, status status, sissyId sissyId

!!TableHeading.InheritedAttributes!!gast::core::Identifier gast::core::Identifier
id id

!!TableHeading.InheritedOperations!!expressionsdecorator::BooleanExpression expressionsdecorator::BooleanExpression

!!TableHeading.InheritedOperations!!expressionsdecorator::Assignment expressionsdecorator::Assignment

!!TableHeading.InheritedOperations!!expressionsdecorator::GASTExpressionProxy expressionsdecorator::GASTExpressionProxy

!!TableHeading.InheritedOperations!!gast::statements::GASTExpression gast::statements::GASTExpression

!!TableHeading.InheritedOperations!!gast::core::SourceEntity gast::core::SourceEntity

!!TableHeading.InheritedOperations!!gast::core::ModelElement gast::core::ModelElement

!!TableHeading.InheritedOperations!!gast::core::Identifier gast::core::Identifier

Eigenschaften:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameConditional
Name Expression
Namespace<<ePackage>> <Model> expressionsdecorator
Owned Template Signature
Owner<<ePackage>> <Model> expressionsdecorator
Owning Template Parameter
Package<<ePackage>> <Model> expressionsdecorator
Qualified Nameexpressionsdecorator::Conditional
Representation
Stereotype
Template Parameter
VisibilityPublic

Details für Attribute

 condition
Public <Class> BooleanExpression condition

This attribute represent the condition of the expression.

Eigenschaften:

AggregationComposite
Alias
Association<Association> A_condition_conditional
Association End
Class<Class> Conditional
Datatype
Default
Default Value
Is Compositetrue
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value<Literal Integer> 1
Multiplicity1
Namecondition
Name Expression
Namespace<Class> Conditional
Opposite
Owned Template Signature
Owner<Class> Conditional
Owning Association
Owning Template Parameter
Qualified Nameexpressionsdecorator::Conditional::condition
Stereotype
Template Parameter
Type<Class> BooleanExpression
Upper1
Upper Value<Literal Unlimited Natural> 1
VisibilityPublic


 else
Public <Class> BooleanExpression else

This term represents the "else" branch of the conditional expression.

Eigenschaften:

AggregationComposite
Alias
Association<Association> A_else_conditional
Association End
Class<Class> Conditional
Datatype
Default
Default Value
Is Compositetrue
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value<Literal Integer> 1
Multiplicity1
Nameelse
Name Expression
Namespace<Class> Conditional
Opposite
Owned Template Signature
Owner<Class> Conditional
Owning Association
Owning Template Parameter
Qualified Nameexpressionsdecorator::Conditional::else
Stereotype
Template Parameter
Type<Class> BooleanExpression
Upper1
Upper Value<Literal Unlimited Natural> 1
VisibilityPublic


 then
Public <Class> BooleanExpression then

This term represents the "then" branch of the conditional expression.

Eigenschaften:

AggregationComposite
Alias
Association
Association End
Class<Class> Conditional
Datatype
Default
Default Value
Is Compositetrue
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
Namethen
Name Expression
Namespace<Class> Conditional
Opposite
Owned Template Signature
Owner<Class> Conditional
Owning Association
Owning Template Parameter
Qualified Nameexpressionsdecorator::Conditional::then
Stereotype
Template Parameter
Type<Class> BooleanExpression
Upper1
Upper Value
VisibilityPublic