empire-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Colson <timcol...@yahoo.com>
Subject Example of using Options?
Date Fri, 20 Sep 2013 18:35:55 GMT
Options seem like a really cool thing to use, especially for a field that is a "STATUS" that
represents stages of workflow. 

I'm wondering how we would leverage Options in a Model object so that when for example we
want to findAllObjectsByStatus(listOfStatus) that it ensures at compile time that we are looking
only for valid status types?

-Tim
Mime
View raw message