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     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2