1 package com.openedit.users.filesystem; 2 3 import java.util.Collections ; 4 import java.util.List ; 5 6 public class PermissionGroup 7 { 8 protected String fieldName; 9 protected List fieldPermissions; 10 public PermissionGroup() 11 { 12 13 } 14 15 public PermissionGroup(List inPermissions) 16 { 17 setPermissions(inPermissions); 18 } 19 20 public String getName() 21 { 22 return fieldName; 23 } 24 public void setName(String inName) 25 { 26 fieldName = inName; 27 } 28 public List getPermissions() 29 { 30 if ( fieldPermissions == null) 31 { 32 fieldPermissions = Collections.EMPTY_LIST; 33 } 34 return fieldPermissions; 35 } 36 public void setPermissions(List inPermissions) 37 { 38 fieldPermissions = inPermissions; 39 } 40 } 41 | Popular Tags |