OCLOperators attributes
No edit summary
No edit summary
Line 6: Line 6:


Collection(String)
Collection(String)


'''Example'''
'''Example'''
Line 14: Line 13:
!Result
!Result
|-
|-
|Produ
|Produc
[[Category:OCL General Operators]]
[[Category:OCL General Operators]]
ct.attributes
t.attributes
|['DateAdded', 'Description', 'Name', 'Price']
|['DateAdded', 'Description', 'Name', 'Price']
|}
|}

Revision as of 02:34, 21 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
Produc

t.attributes

['DateAdded', 'Description', 'Name', 'Price']
This page was edited 4 days ago on 09/24/2024. What links here