L
Lucile
Hi to All, I am new to this newsgroup, so please bare with me.
Here is the deal:
I have the following Object Graph:
Icell (Interface)
Iline (Interface)
Itable (Interface)
Classes: Cell: implements Icell
Line: inherits Arraylist
Implements Iline
Table: inherits Arraylist
Implements Itable
And I want to serialize Class Table to a file. Cell will contain Object
types (Date, String, Decimal). Line will just implement the property
Item to find a given Cell in the ArrayList. And Table will enable the
methods Add, Remove, RemoveAt, Clear, TrimToSize & the property Count.
My question is: Should I do the following to serialize
<Serializable()> Class Cell ....
<Serializable()> Class Line ....
Class Table Implements Iserializable, IdeserializationCallback ....
OR
<Serializable()> Class Cell ....
Class Line Implements Iserializable, IdeserializationCallback ....
Class Table Implements Iserializable, IdeserializationCallback ....
OR something else ?
Please Help!!
Thank you.
Lucile.
Here is the deal:
I have the following Object Graph:
Icell (Interface)
Iline (Interface)
Itable (Interface)
Classes: Cell: implements Icell
Line: inherits Arraylist
Implements Iline
Table: inherits Arraylist
Implements Itable
And I want to serialize Class Table to a file. Cell will contain Object
types (Date, String, Decimal). Line will just implement the property
Item to find a given Cell in the ArrayList. And Table will enable the
methods Add, Remove, RemoveAt, Clear, TrimToSize & the property Count.
My question is: Should I do the following to serialize
<Serializable()> Class Cell ....
<Serializable()> Class Line ....
Class Table Implements Iserializable, IdeserializationCallback ....
OR
<Serializable()> Class Cell ....
Class Line Implements Iserializable, IdeserializationCallback ....
Class Table Implements Iserializable, IdeserializationCallback ....
OR something else ?
Please Help!!
Thank you.
Lucile.