OCLOperators attributes
No edit summary
No edit summary
 
(9 intermediate revisions by 3 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>
[[Category:OCLOperators]]
 
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]]

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