OCLOperators attributes
m ((username removed) (log details removed): Moving to Documentation namespace)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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]]

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