Book a Demo

Author Topic: Difference between a operations stereptype  (Read 3004 times)

Tryst

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Difference between a operations stereptype
« on: January 04, 2008, 07:43:06 am »
Hi all,

what is the difference between the following operations stereotype...

Property and 'Property get' or 'Property set'?

I know what 'Property get' or 'Property set' do, but does selecting Property mean that both are implemented if I was to code generate?

Thanks
Tryst

Tryst

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Difference between a operations stereptype
« Reply #1 on: January 04, 2008, 07:52:30 am »
Its ok, I think the difference is between Java and C#. Java uses 'Property Set' and 'Property Get' whilst C# uses 'Property'.

:)
Tryst

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Difference between a operations stereptype
« Reply #2 on: January 04, 2008, 08:07:21 am »
Yes, but C# still implements separate set and get blocks.

So the answer to your original question is that the ones you leave checked are implemented in code. EA usually checks both by default.

Note that you may have to set something like Read Only or Write Only to get your desired results, depending on where you are and which version and build of EA you are using.
No, you can't have it!