1 23 24 package org.infoglue.cms.entities.management.impl.simple; 25 26 import java.util.ArrayList ; 27 28 import org.infoglue.cms.entities.kernel.BaseEntityVO; 29 import org.infoglue.cms.entities.management.Group; 30 import org.infoglue.cms.entities.management.GroupVO; 31 import org.infoglue.cms.exception.ConstraintException; 32 33 public class GroupImpl implements Group 34 { 35 private GroupVO valueObject = new GroupVO(); 36 private java.util.Collection systemUsers = new ArrayList (); 37 38 public Integer getId() 39 { 40 return null; 41 } 42 43 public Object getIdAsObject() 44 { 45 return getGroupName(); 46 } 47 48 public String toString() 49 { 50 return this.valueObject.toString(); 51 } 52 53 public GroupVO getValueObject() 54 { 55 return this.valueObject; 56 } 57 58 public void setValueObject(GroupVO valueObject) 59 { 60 this.valueObject = valueObject; 61 } 62 65 public BaseEntityVO getVO() 66 { 67 return (BaseEntityVO) getValueObject(); 68 } 69 72 public void setVO(BaseEntityVO valueObject) 73 { 74 setValueObject((GroupVO) valueObject); 75 } 76 77 public java.lang.String getGroupName() 78 { 79 return this.valueObject.getGroupName(); 80 } 81 82 public void setGroupName(java.lang.String groupName) throws ConstraintException 83 { 84 this.valueObject.setGroupName(groupName); 85 } 86 87 public String getDescription() 88 { 89 return this.valueObject.getDescription(); 90 } 91 92 public void setDescription(String description) throws ConstraintException 93 { 94 this.valueObject.setDescription(description); 95 } 96 97 public java.util.Collection getSystemUsers() 98 { 99 return this.systemUsers; 100 } 101 102 public void setSystemUsers (java.util.Collection systemUsers) 103 { 104 this.systemUsers = systemUsers; 105 } 106 107 } 108 | Popular Tags |