Specifies a many-valued association with one-to-many multiplicity.

http://docs.oracle.com/javaee/7/api/javax/persistence/OneToMany.html

@param elements
@returns {function(any, string)}
@constructor
function OneToMany(elements) {
    return function (targetObject, propertyKey) {
        var entityMetadata = targetObject;
        if (!entityMetadata.oneToManyMap) {
            entityMetadata.oneToManyMap = {};
        }
        entityMetadata.oneToManyMap[propertyKey] = elements;
    };
}