Allow generated property methods to validate the cardinality of values
Merge pull request #633 from projecthydra/single_value_properties

Allow generated property methods to validate the cardinality of values. Fixes #632