Difference between revisions of "Extensions.Flash.Audience"
Jump to navigation
Jump to search
m (Hb moved page Audience to Extensions.Flash.Audience: #3153) |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Data Type '''Audience'''}}[[Category:DataType]][[Category:Flash]] | {{DISPLAYTITLE:Data Type '''Audience'''}}[[Category:DataType]][[Category:Flash]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationDataType | Audience | Filtering flash sessions | [[Simple Data Type]] | - | DefaultValue=SUPPLIER| Literal=Yes }} | + | {{ClassificationDataType | Audience | Filtering flash sessions | [[Core.DataTypes.Simple Data Type|Simple Data Type]] | - | DefaultValue=SUPPLIER| Literal=Yes }} |
== Description == | == Description == | ||
− | '''Audience''' is an enumeration type which is used by the term [[GetListOfValidFlashSessions]] (for filtering flash sessions according to audience property) as well as by the term [[BlockIsValidForAudience]]. | + | '''Audience''' is an enumeration type which is used by the term [[Extensions.Flash.GetListOfValidFlashSessions|GetListOfValidFlashSessions]] (for filtering flash sessions according to audience property) as well as by the term [[Extensions.Flash.BlockIsValidForAudience|BlockIsValidForAudience]]. |
The list of allowed enumeration values is defined as follows: | The list of allowed enumeration values is defined as follows: |
Revision as of 08:26, 15 February 2016
Classification
Name | Audience |
Short Description | Filtering flash sessions |
Class | Simple Data Type |
Base Data Type | - |
Default Value | SUPPLIER |
Provide a Literal | Yes |
SpecifiedBy | ISO 13209-3 |
Standard Compliant | Yes |
Description
Audience is an enumeration type which is used by the term GetListOfValidFlashSessions (for filtering flash sessions according to audience property) as well as by the term BlockIsValidForAudience.
The list of allowed enumeration values is defined as follows:
Value | Literal | Description |
SUPPLIER | @Audience:SUPPLIER | - |
DEVELOPMENT | @Audience:DEVELOPMENT | - |
MANUFACTURING | @Audience:MANUFACTURING | - |
AFTERSALES | @Audience:AFTERSALES | - |
AFTERMARKET | @Audience:AFTERMARKET | - |
Order Relation
Audience values may occur as operands of comparisons. For this case, the following order relation is defined. Started with the lowest value SUPPLIER = 0:
SUPPLIER < DEVELOPMENT < MANUFACTURING < AFTERSALES < AFTERMARKET.
Literal
The syntax for Literals for complex data types should be used, where the member value is one of the values in the list.
Audiences={SUPPLIER|DEVELOPMENT|MANUFACTURING|AFTERSALES|AFTERMARKET}
Core Conversion
The following table shows the rules for conversion to another data type:
Conversion | Result | Sample |
ToBoolean | Undefined (should not be used) | |
ToInteger | Returns the index of the value in the FlashFileFormats enumeration (smallest index is 0) | Integer val = ToInteger(@FAudience:SUPPLIER); // Returns 0 |
ToFloat | Undefined (should not be used) | |
ToString | Returns the name of the enumeration value | String s = ToString(@Audience:SUPPLIER); // Returns "SUPPLIER" |
ToByteField | Undefined (should not be used) |
Sample
Audience MyVariable = @Audience:SUPPLIER;