🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators attributes
This page was created by Alexandra on 2017-08-13. Last edited by Wikiadmin on 2026-09-12.


Returns a list of names of all attributes owned by the class. This is meta information about what attributes the class has.

Return Type[edit source]

Collection(String)

Example[edit source]
OCL Operation Result
Product.attributes ['Price', 'DateAdded', 'Description', 'Name']