Page History
Content layer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The output of the code shown above is :
Example 2. If you want to print the value of a slot Telephone of the element Member from the classifier Communicate, you can use the following template code as a shortcut. Note that the slot multiplicity is > 1, [1..*].
The output of the code shown above is:
Example 3. If you want to print the value of a slot Name of the element Member from the classifier Personal Data, you can use the following template code as a shortcut. Note that the slot multiplicity = 1.
The output of the code shown above is:
Example 4. If you want to print the value of a slot Nickname of the element Member from the classifier Personal Data, you can use the following template code as a shortcut. Note that the slot multiplicity is > 1, [0..*].
The output of the code shown above is:
Example 5. If you want to use $Report method to print the value of a slot Name of the element Member from the classifier Personal Data, you can use the following template code.
The output of the code shown above is:
Example 6. If you want to use $Report method to print the value of a slot Nickname of the element Member from the classifier Personal Data, you can use the following template code.
The output of the code shown above is:
Example 7. If you want to print the names and values of all classifiers and the slot properties of all instance elements, you can use the following template code as a shortcut.
The output of the code shown above is:
Panel |
|