1 23 24 package org.infoglue.cms.entities.content.impl.simple; 25 26 import org.infoglue.cms.entities.content.ContentVO; 27 import org.infoglue.cms.entities.kernel.BaseEntityVO; 28 29 public class SmallContentImpl extends ContentImpl 30 { 31 private ContentVO valueObject = new ContentVO(); 32 33 36 public BaseEntityVO getVO() 37 { 38 return (BaseEntityVO) getValueObject(); 39 } 40 41 44 public void setVO(BaseEntityVO valueObject) 45 { 46 setValueObject((ContentVO) valueObject); 47 } 48 49 52 public Integer getId() 53 { 54 return getContentId(); 55 } 56 57 public ContentVO getValueObject() 58 { 59 return this.valueObject; 60 } 61 62 63 public void setValueObject(ContentVO valueObject) 64 { 65 this.valueObject = valueObject; 66 } 67 68 private org.infoglue.cms.entities.management.impl.simple.ContentTypeDefinitionImpl contentTypeDefinition; 69 private org.infoglue.cms.entities.management.impl.simple.RepositoryImpl repository; 70 77 78 private Integer childCount; 80 81 82 public java.lang.Integer getContentId() 83 { 84 return this.valueObject.getContentId(); 85 } 86 87 public void setContentId(java.lang.Integer contentId) 88 { 89 this.valueObject.setContentId(contentId); 90 } 91 92 public java.lang.String getName() 93 { 94 return this.valueObject.getName(); 95 } 96 97 public void setName(java.lang.String name) 98 { 99 this.valueObject.setName(name); 100 } 101 102 public java.util.Date getPublishDateTime() 103 { 104 return this.valueObject.getPublishDateTime(); 105 } 106 107 public void setPublishDateTime(java.util.Date publishDateTime) 108 { 109 this.valueObject.setPublishDateTime(publishDateTime); 110 } 111 112 public java.util.Date getExpireDateTime() 113 { 114 return this.valueObject.getExpireDateTime(); 115 } 116 117 public void setExpireDateTime(java.util.Date expireDateTime) 118 { 119 this.valueObject.setExpireDateTime(expireDateTime); 120 } 121 122 public java.lang.Boolean getIsBranch() 123 { 124 return this.valueObject.getIsBranch(); 125 } 126 127 public void setIsBranch(java.lang.Boolean isBranch) 128 { 129 this.valueObject.setIsBranch(isBranch); 130 } 131 132 public org.infoglue.cms.entities.management.impl.simple.ContentTypeDefinitionImpl getContentTypeDefinition() 133 { 134 return this.contentTypeDefinition; 135 } 136 137 public void setContentTypeDefinition (org.infoglue.cms.entities.management.impl.simple.ContentTypeDefinitionImpl contentTypeDefinition) 138 { 139 this.contentTypeDefinition = contentTypeDefinition; 140 } 141 142 188 189 public java.lang.String getCreator() 190 { 191 return this.valueObject.getCreatorName(); 192 } 193 194 public void setCreator (java.lang.String creator) 195 { 196 this.valueObject.setCreatorName(creator); 197 } 198 199 public org.infoglue.cms.entities.management.impl.simple.RepositoryImpl getRepository() 200 { 201 return this.repository; 202 } 203 204 public void setRepository (org.infoglue.cms.entities.management.impl.simple.RepositoryImpl repository) 205 { 206 this.repository = repository; 207 this.valueObject.setRepositoryId(repository.getRepositoryId()); 208 } 209 210 231 232 236 public Integer getChildCount() 237 { 238 return this.valueObject.getChildCount(); 239 } 240 241 245 public void setChildCount(Integer childCount) 246 { 247 this.valueObject.setChildCount(childCount); 248 } 249 250 public void setIsProtected(Integer isProtected) 251 { 252 this.valueObject.setIsProtected(isProtected); 253 } 254 255 public Integer getIsProtected() 256 { 257 return this.valueObject.getIsProtected(); 258 } 259 260 public void setRepositoryId(Integer repositoryId) 261 { 262 this.valueObject.setRepositoryId(repositoryId); 263 } 264 265 public Integer getRepositoryId() 266 { 267 return this.valueObject.getRepositoryId(); 268 } 269 270 public void setContentTypeDefinitionId(Integer contentTypeDefinitionId) 271 { 272 this.valueObject.setContentTypeDefinitionId(contentTypeDefinitionId); 273 } 274 275 public Integer getContentTypeDefinitionId() 276 { 277 return this.valueObject.getContentTypeDefinitionId(); 278 } 279 280 public void setParentContentId(Integer parentContentId) 281 { 282 this.valueObject.setParentContentId(parentContentId); 283 } 284 285 public Integer getParentContentId() 286 { 287 return this.valueObject.getParentContentId(); 288 } 289 } 290 | Popular Tags |