private List < Reference > getAllManyReferences ( DomainObject domainObject ) { List < Reference > allReferences = domainObject . getReferences ( ) ; List < Reference > allManyReferences = new ArrayList < Reference > ( ) ; for ( Reference ref : allReferences ) { if ( ref . isMany ( ) ) { allManyReferences . add ( ref ) ; } } return allManyReferences ; }
List of references with multiplicity > 1