@SuppressWarnings("unchecked") public List<Group> getGroupsAssociatedTo(Group to, String associationName) { return (List<Group>)getAssociatedTo(to.getName(), to.getType(), associationName); }
@SuppressWarnings("unchecked") public List<Group> getGroupsAssociatedFrom(Group from, String associationName) { return (List<Group>)getAssociatedFrom(from.getName(), from.getType(), associationName); }