OCLOperators attributes
(Replacing message template with parser tag)
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
<message>Write the content here to display this box</message>
Meta information about what attributes the class has.
 
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 05:07, 24 September 2024


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']
This page was edited 4 days ago on 09/24/2024. What links here