🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators attributes


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
OCL Operation Result
Product.attributes ['Price', 'DateAdded', 'Description', 'Name']