Book a Demo

Author Topic: Code  Generation Template - Attribute Constraints?  (Read 3111 times)

twilliamson32

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Code  Generation Template - Attribute Constraints?
« on: August 13, 2009, 08:46:07 am »
Anybody know how to access the Attribute Constraints contents from a Code Generation Template, or is this deeper than anybody has ever gotten into this thing?

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Code  Generation Template - Attribute Constrai
« Reply #1 on: August 13, 2009, 04:42:14 pm »
Hi there!


Well in the words of Madonna, "I fall deeper and deeper the further I go."
And the answer is no. You can get the Class constraints, but that's as far as it goes. I fetched up against this a few months ago.

Glad someone else wants access to the constraints. Please second my feature request: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1250145648

Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Code  Generation Template - Attribute Constrai
« Reply #2 on: August 13, 2009, 09:29:02 pm »
Yes, certainly.

I've posted my support to Uffe's thread.

David
No, you can't have it!

twilliamson32

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Code  Generation Template - Attribute Constrai
« Reply #3 on: August 14, 2009, 01:23:56 am »
Definitely, this is a necessity.   The Code Generation model is incomplete without these features (kind of frustrating if you're actually trying to use it!)