Call to MyModal.PX.PROP.valueOf(v) should write an informative message if MyModal.PX.PROP is not defined for v. I'm not sure if it should throw an exception... maybe it should if propertiesMustBeDefined is set to true. In that case, referencing that property value is tantamount to referencing a column that does not exist in a relational database table.
Call to
MyModal.PX.PROP.valueOf(v)
should write an informative message ifMyModal.PX.PROP
is not defined for v. I'm not sure if it should throw an exception... maybe it should if propertiesMustBeDefined is set to true. In that case, referencing that property value is tantamount to referencing a column that does not exist in a relational database table.