1 16 17 package org.apache.jetspeed.om.security; 18 19 25 public class BaseJetspeedGroup implements Group 26 { 27 protected String name; 28 protected String id = null; 29 30 protected boolean isNew = true; 31 32 public BaseJetspeedGroup(String id) 33 { 34 this.id = id; 35 isNew = true; 36 } 37 38 public BaseJetspeedGroup() 39 { 40 isNew = true; 41 } 42 43 48 public String getName() 49 { 50 return name; 51 } 52 53 58 public void setName(String groupName) 59 { 60 name = groupName; 61 } 62 63 68 public String getId() 69 { 70 return id; 71 } 72 73 78 public void setId(String id) 79 { 80 if (this.id == null) 81 { 82 this.id = id; 83 } 84 } 85 86 public boolean isNew() 87 { 88 return isNew; 89 } 90 91 void setNew(boolean isNew) 92 { 93 this.isNew = isNew; 94 } 95 96 } 97 98 99 100 | Popular Tags |