1
2
3
4
5
6
7
8
9
10
11 package gov.bnl.gums;
12
13 import java.util.ArrayList;
14 import java.util.Collections;
15 import java.util.List;
16
17 /***
18 *
19 * @author carcassi
20 */
21 public abstract class AbstractHostGroup implements HostGroup {
22
23 private List groupMapper = new ArrayList();
24
25 /*** Returns the list of group mapping associated with this mapping.
26 * @return A list of GroupMapper objects.
27 */
28 public List getGroupMappers() {
29 return Collections.unmodifiableList(groupMapper);
30 }
31
32 /*** Changes the list of group mapping associated with this mapping.
33 *
34 * @param groupMapper A list of GroupMapper objects.
35 */
36 public void setGroupMapper(List groupMapper) {
37 this.groupMapper = new ArrayList(groupMapper);
38 }
39
40 }