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 MediumContentImpl 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 java.util.Collection contentVersions = new java.util.ArrayList (); 69 private org.infoglue.cms.entities.management.impl.simple.ContentTypeDefinitionImpl contentTypeDefinition; 70 private org.infoglue.cms.entities.management.impl.simple.RepositoryImpl repository; 71 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 171 172 public java.util.Collection getContentVersions() 173 { 174 return this.contentVersions; 175 } 176 177 public void setContentVersions (java.util.Collection contentVersions) 178 { 179 this.contentVersions = contentVersions; 180 } 181 182 public java.lang.String getCreator() 183 { 184 return this.valueObject.getCreatorName(); 185 } 186 187 public void setCreator (java.lang.String creator) 188 { 189 this.valueObject.setCreatorName(creator); 190 } 191 192 public org.infoglue.cms.entities.management.impl.simple.RepositoryImpl getRepository() 193 { 194 return this.repository; 195 } 196 197 public void setRepository (org.infoglue.cms.entities.management.impl.simple.RepositoryImpl repository) 198 { 199 this.repository = repository; 200 this.valueObject.setRepositoryId(repository.getRepositoryId()); 201 } 202 203 224 225 229 public Integer getChildCount() 230 { 231 return this.valueObject.getChildCount(); 232 } 233 234 238 public void setChildCount(Integer childCount) 239 { 240 this.valueObject.setChildCount(childCount); 241 } 242 243 public void setIsProtected(Integer isProtected) 244 { 245 this.valueObject.setIsProtected(isProtected); 246 } 247 248 public Integer getIsProtected() 249 { 250 return this.valueObject.getIsProtected(); 251 } 252 253 public void setRepositoryId(Integer repositoryId) 254 { 255 this.valueObject.setRepositoryId(repositoryId); 256 } 257 258 public Integer getRepositoryId() 259 { 260 return this.valueObject.getRepositoryId(); 261 } 262 263 public void setContentTypeDefinitionId(Integer contentTypeDefinitionId) 264 { 265 this.valueObject.setContentTypeDefinitionId(contentTypeDefinitionId); 266 } 267 268 public Integer getContentTypeDefinitionId() 269 { 270 return this.valueObject.getContentTypeDefinitionId(); 271 } 272 273 public void setParentContentId(Integer parentContentId) 274 { 275 this.valueObject.setParentContentId(parentContentId); 276 } 277 278 public Integer getParentContentId() 279 { 280 return this.valueObject.getParentContentId(); 281 } 282 } 283 | Popular Tags |