Implicit Getters and Setters not created for me

Viewed 902

I started playing with the new cfproperty stuff added in ColdFusion 9, but the primary piece that I want to use doesn't seem to work now in ColdFusion 10. I created the following CFC:

component displayName="Sources" {
  /**
  * @getter true
  * @setter true
  * @type numeric
  * @default 1
  **/
  property sourceid;
  /**
  * @getter true
  * @setter true
  * @type numeric
  * @default 1
  **/
  property sourcegroup;

  public any function init () {
    This.domainRegex = '\/\/(www\.)?(([A-Za-z0-9\-_]+\.?)+)';
    return this;
  }
}

When I dump the meta data for the CFC I can see the properties, but no methods created for them and I can't call getSourceId() or getSourceGroup()

2 Answers
Related