lib/core/entity/metadata/ColumnDecorators.js
function OneToMany(elements) {
    return function (targetObject, propertyKey) {
        var entityMetadata = targetObject;
        if (!entityMetadata.oneToManyMap) {
            entityMetadata.oneToManyMap = {};
        }
        entityMetadata.oneToManyMap[propertyKey] = elements;
    };
}
function OneToMany(elements) {
    return function (targetObject, propertyKey) {
        var entityMetadata = targetObject;
        if (!entityMetadata.oneToManyMap) {
            entityMetadata.oneToManyMap = {};
        }
        entityMetadata.oneToManyMap[propertyKey] = elements;
    };
}
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