OCLOperators attributes
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
Returns a list of names of all attributes owned by the class. This is 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'''
===== '''Return Type''' =====
 
Collection(String)
Collection(String)


'''Example'''
===== '''Example''' =====
[[File:2024-09-21 05h28 35.png|none|thumb|204x204px]]
[[File:2024-09-21 05h28 35.png|none|thumb|151x151px]]
{| class="wikitable"
{| class="wikitable"
!OCL Operation
!OCL Operation
!Result
!Result
|-
|-
|Produc
|Product.attributes
|['Price', 'DateAdded', 'Description', 'Name']
|}
[[Category:OCL General Operators]]
[[Category:OCL General Operators]]
t.attributes
|['DateAdded', 'Description', 'Name', 'Price']
|}

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