OCLOperators attributes
(Adding message template to the top of the page)
(Added Edited template with July 12, 2025.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{message|Write the content here to display this box}}
{{Edited|July|12|2025}}
Meta information about what attributes the class has.
<message>Write the content here to display this box</message>
 
Returns a list of names of all attributes owned by the class. This is meta information about what attributes the class has.
 
===== '''Return Type''' =====
Collection(String)
 
===== '''Example''' =====
[[File:2024-09-21 05h28 35.png|none|thumb|151x151px]]
{| class="wikitable"
!OCL Operation
!Result
|-
|Product.attributes
|['Price', 'DateAdded', 'Description', 'Name']
|}
[[Category:OCL General Operators]]
[[Category:OCL General Operators]]
{{Edited|July|12|2024}}

Latest revision as of 06:32, 20 January 2025

This page was created by Alexandra on 2017-08-13. Last edited by Edgar on 2025-01-20.


Returns a list of names of all attributes owned by the class. This is meta information about what attributes the class has.

Return Type

Collection(String)

Example
2024-09-21 05h28 35.png
OCL Operation Result
Product.attributes ['Price', 'DateAdded', 'Description', 'Name']