Hello peeps, 

I am need of some assistance.. I am trying to define a complex object within a 
couple of classes. I am trying to build a data structure like: 
devices 
deviceType 
MAC 
port 
port 
port 
/ MAC 
MAC 
port 
/ MAC 
MAC 
port 
port 
/ MAC 
/deviceType 
deviceType 
MAC 
port 
/ MAC 
MAC 
port 
port 
/ MAC 
MAC 
port 
port 
/ MAC 
/deviceType 
/devices 

I have 3 classes defined: 

deviceClass 
modelName:string 
macList: ArrayCollection = new ArrayCollection 

macClass 
macID:string 
portList:portClass 

portClass 
portList:array 

Question: How do I define the macList in the deviceClass to be an array of 
macClass Objects. 

I know how to add the objects into the array as I am building the collection, 
but have no clue on how restrict them to deviceClass objects.. 

thanks, 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
[email protected] 

Reply via email to