Dofactory.com
Dofactory.com
 Back to list
Views:   3.5K
Replies:  0
Archived

building up a file, based on the state of an object

hiya,

Based on the state of an object, I want to build a file.

eg
if (property1 = A  and property2 = B)  Then build file1. using the the first 4 properties of the object

if (property1 = X  and property2 = Y)  Then build file2. using the the last 8 properties of the object

I think I'm looking for a creational pattern, but am unsure on the specifics.

Any suggestions appreciated.

ta,

yogi


Chr Yoker, Nov 02, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.