1 23 24 package org.infoglue.cms.entities.workflow.impl.simple; 25 26 import org.infoglue.cms.entities.kernel.BaseEntityVO; 27 import org.infoglue.cms.entities.workflow.Event; 28 import org.infoglue.cms.entities.workflow.EventVO; 29 30 public class EventImpl implements Event 31 { 32 private EventVO valueObject = new EventVO(); 33 private org.infoglue.cms.entities.management.impl.simple.RepositoryImpl repository; 34 35 public EventVO getValueObject() 36 { 37 return this.valueObject; 38 } 39 40 public Object getIdAsObject() 41 { 42 return getId(); 43 } 44 45 public void setValueObject(EventVO valueObject) 46 { 47 this.valueObject = valueObject; 48 } 49 50 public java.lang.Integer getEventId() 51 { 52 return this.valueObject.getEventId(); 53 } 54 55 public void setEventId(java.lang.Integer eventId) 56 { 57 this.valueObject.setEventId(eventId); 58 } 59 60 public java.lang.String getName() 61 { 62 return this.valueObject.getName(); 63 } 64 65 public void setName(java.lang.String name) 66 { 67 this.valueObject.setName(name); 68 } 69 70 public java.lang.String getDescription() 71 { 72 return this.valueObject.getDescription(); 73 } 74 75 public void setDescription(java.lang.String description) 76 { 77 this.valueObject.setDescription(description); 78 } 79 80 public java.lang.String getEntityClass() 81 { 82 return this.valueObject.getEntityClass(); 83 } 84 85 public void setEntityClass(java.lang.String entityClass) 86 { 87 this.valueObject.setEntityClass(entityClass); 88 } 89 90 public java.lang.Integer getEntityId() 91 { 92 return this.valueObject.getEntityId(); 93 } 94 95 public void setEntityId(java.lang.Integer entityId) 96 { 97 this.valueObject.setEntityId(entityId); 98 } 99 100 public java.lang.Integer getTypeId() 101 { 102 return this.valueObject.getTypeId(); 103 } 104 105 public void setTypeId(java.lang.Integer typeId) 106 { 107 this.valueObject.setTypeId(typeId); 108 } 109 110 public java.util.Date getCreationDateTime() 111 { 112 return this.valueObject.getCreationDateTime(); 113 } 114 115 public void setCreationDateTime(java.util.Date creationDateTime) 116 { 117 this.valueObject.setCreationDateTime(creationDateTime); 118 } 119 120 public String getCreator() 121 { 122 return this.valueObject.getCreator(); 123 } 124 125 public void setCreator (String creator) 126 { 127 this.valueObject.setCreator(creator); 128 } 129 130 public org.infoglue.cms.entities.management.impl.simple.RepositoryImpl getRepository() 131 { 132 return this.repository; 133 } 134 135 public void setRepository (org.infoglue.cms.entities.management.impl.simple.RepositoryImpl repository) 136 { 137 this.repository = repository; 138 } 139 140 141 142 145 public BaseEntityVO getVO() 146 { 147 return (BaseEntityVO) getValueObject(); 148 } 149 150 153 public void setVO(BaseEntityVO valueObject) 154 { 155 setValueObject((EventVO) valueObject); 156 } 157 158 161 public Integer getId() 162 { 163 return getEventId(); 164 } 165 166 } 167 | Popular Tags |