public String getRefCollectionType ( Reference ref ) { String type = ref . getCollectionType ( ) ; return ( type == null ? "set" : type . toLowerCase ( ) ) ; }
Collection type can be set list bag or map . It corresponds to the Hibernate collection types .