[castor-dev] Update: Unmarshalling a Vector of Objects/What should Setter Method look like?

2004-04-13 Thread Earl . Armstrong
UPDATE** I (kind of) figured this out. While Castor does not appear to Unmarshall a Vector of objects into their original Types, It does UnMarshall an Array of objects. Probably just a basic misunderstanding of what Castor does on my part. I changed the Getter and Setters below to return/accep

[castor-dev] Repost/Clarification: Unmarshalling a Vector of Objects/What should Setter Method look like?

2004-04-13 Thread Earl . Armstrong
I updated the Getter and Setter Methods. I realized that I had been playing, trying to get them to work and had made them unreadable. I also added some comments to explain what I was doing and what I was expecting. Thanks for reading this! I'm trying to UnMarshal a collection of objects tha

[castor-dev] Unmarshalling a Vector of Objects/What should Setter Method look like?

2004-04-12 Thread Earl . Armstrong
coverages.add(n); count++; } } Thanks, Earl Armstrong, CLU, FLMI, ACS, AIAA __ IS Individual Life Systems Team - 3A-AS LIFE-COMM New Business, NextGen Protective Life Corporation Phone (205)268-2965 Fax (205)268-3474 --

[castor-dev] Null Pointer Exception in XMLClassDescriptorImpl

2004-04-12 Thread Earl . Armstrong
if(!(localElements[k]== null)) { localElementsNew[localNewIdx] = localElements[k]; localNewIdx++; } } //replace localElements with new array 802 localElements = localElementsNew; Tha