I am defining a ValueObject that contains strings, numbers and an 
ArrayCollection of another Value Object. That VO contains 3 strings.

How do I do this in actionscript?

Here is my attempt. Appreciate if anyone can point me in the right 
direction. When i do the below it states that my ProductSheet is not 
an array


package com.red.store.vo
{
        import com.adobe.cairngorm.vo.IValueObject;
        import com.red.store.util.Comparable;
        import com.red.store.vo.ProductSheetVO;
        import mx.collections.ArrayCollection;

        public class ProductBeanVO implements IValueObject, 
Comparable 
        {
                [Bindable]
                public var PRODUCT_DESCRIPTIONS_ID: Number;
                [Bindable]
                public var PRODUCT_OWNER_ID: Number;
                [Bindable]
                public var STYLE_NUMBER: String;
                [Bindable]
                public var DESCRIPTIONS: String;        
                [Bindable]
                public var PRODUCT_SHEET: ArrayCollection = new 
ArrayCollection(ProductSheetVO);                
        }
}
Thanks for any assistance.

Reply via email to