Book a Demo

Author Topic: Defining a property in class  (Read 2800 times)

jdavid

  • EA User
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Defining a property in class
« on: January 28, 2005, 02:34:16 pm »
When I go to define a property in a class, EA requires me to select an attribute. What if I want to define a property that is not associated with an attribute, such as an array or dataset where the code to 'get' the array or dataset is defined in the get statement of the accessor. Is the anyway to get around this?

kamil.svoboda

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: Defining a property in class
« Reply #1 on: January 30, 2005, 01:40:03 am »
Hi,
I think you have to create the getter/setter manualy. Create get/set methods and set them "property get/set" stereotype. Then EA generates appropriate code in the body of getter/setter.
Kamil