/** * Return a hashmap containg the id and the name of all the topictypes for all the * topics that play in this association. */ public HashMap getAssociationRoles(String key) { if (key == null || !associations.containsKey(key)) return null; return ((InternalAssociation)associations.get(key)).getAssociationRoles(); }