1 23 24 package org.infoglue.cms.entities.structure.impl.simple; 25 26 import java.util.ArrayList ; 27 28 import org.infoglue.cms.entities.kernel.BaseEntityVO; 29 import org.infoglue.cms.entities.structure.SiteNodeVersion; 30 import org.infoglue.cms.entities.structure.SiteNodeVersionVO; 31 32 public class SiteNodeVersionImpl implements SiteNodeVersion 33 { 34 private SiteNodeVersionVO valueObject = new SiteNodeVersionVO(); 35 36 private org.infoglue.cms.entities.structure.impl.simple.SiteNodeImpl owningSiteNode; 37 private java.util.Collection serviceBindings = new ArrayList (); 38 39 40 43 public BaseEntityVO getVO() 44 { 45 return (BaseEntityVO) getValueObject(); 46 } 47 48 51 public void setVO(BaseEntityVO valueObject) 52 { 53 setValueObject((SiteNodeVersionVO) valueObject); 54 } 55 56 59 public Integer getId() 60 { 61 return getSiteNodeVersionId(); 62 } 63 64 public Object getIdAsObject() 65 { 66 return getId(); 67 } 68 69 public SiteNodeVersionVO getValueObject() 70 { 71 return this.valueObject; 72 } 73 74 public void setValueObject(SiteNodeVersionVO valueObject) 75 { 76 this.valueObject = valueObject; 77 } 78 79 public java.lang.Integer getSiteNodeVersionId() 80 { 81 return this.valueObject.getSiteNodeVersionId(); 82 } 83 84 public void setSiteNodeVersionId(java.lang.Integer siteNodeVersionId) 85 { 86 this.valueObject.setSiteNodeVersionId(siteNodeVersionId); 87 } 88 89 public java.lang.Integer getStateId() 90 { 91 return this.valueObject.getStateId(); 92 } 93 94 public void setStateId(java.lang.Integer stateId) 95 { 96 this.valueObject.setStateId(stateId); 97 } 98 99 public java.lang.Integer getVersionNumber() 100 { 101 return this.valueObject.getVersionNumber(); 102 } 103 104 public void setVersionNumber(java.lang.Integer versionNumber) 105 { 106 this.valueObject.setVersionNumber(versionNumber); 107 } 108 109 public java.util.Date getModifiedDateTime() 110 { 111 return this.valueObject.getModifiedDateTime(); 112 } 113 114 public void setModifiedDateTime(java.util.Date modifiedDateTime) 115 { 116 this.valueObject.setModifiedDateTime(modifiedDateTime); 117 } 118 119 public java.lang.String getVersionComment() 120 { 121 return this.valueObject.getVersionComment(); 122 } 123 124 public void setVersionComment(java.lang.String versionComment) 125 { 126 this.valueObject.setVersionComment(versionComment); 127 } 128 129 public java.lang.Boolean getIsCheckedOut() 130 { 131 return this.valueObject.getIsCheckedOut(); 132 } 133 134 public void setIsCheckedOut(java.lang.Boolean isCheckedOut) 135 { 136 this.valueObject.setIsCheckedOut(isCheckedOut); 137 } 138 139 public java.lang.Boolean getIsActive() 140 { 141 return this.valueObject.getIsActive(); 142 } 143 144 public void setIsActive(java.lang.Boolean isActive) 145 { 146 this.valueObject.setIsActive(isActive); 147 } 148 149 public org.infoglue.cms.entities.structure.impl.simple.SiteNodeImpl getOwningSiteNode() 150 { 151 return this.owningSiteNode; 152 } 153 154 public void setOwningSiteNode (org.infoglue.cms.entities.structure.impl.simple.SiteNodeImpl owningSiteNode) 155 { 156 this.owningSiteNode = owningSiteNode; 157 if(owningSiteNode != null) 158 { 159 this.valueObject.setSiteNodeId(owningSiteNode.getSiteNodeId()); 160 this.valueObject.setSiteNodeName(owningSiteNode.getName()); 161 } 162 } 163 164 public String getVersionModifier() 165 { 166 return this.valueObject.getVersionModifier(); 167 } 168 169 public void setVersionModifier (String versionModifier) 170 { 171 this.valueObject.setVersionModifier(versionModifier); 172 } 173 174 public java.util.Collection getServiceBindings() 175 { 176 return this.serviceBindings; 177 } 178 179 public void setServiceBindings(java.util.Collection serviceBindings) 180 { 181 this.serviceBindings = serviceBindings; 182 } 183 184 public String getContentType() 185 { 186 return this.valueObject.getContentType(); 187 } 188 189 public void setContentType(String contentType) 190 { 191 this.valueObject.setContentType(contentType); 192 } 193 194 public String getPageCacheKey() 195 { 196 return this.valueObject.getPageCacheKey(); 197 } 198 199 public void setPageCacheKey(String pageCacheKey) 200 { 201 this.valueObject.setPageCacheKey(pageCacheKey); 202 } 203 204 public Integer getDisableEditOnSight() 205 { 206 return this.valueObject.getDisableEditOnSight(); 207 } 208 209 public void setDisableEditOnSight(Integer disableEditOnSight) 210 { 211 this.valueObject.setDisableEditOnSight(disableEditOnSight); 212 } 213 214 public Integer getDisablePageCache() 215 { 216 return this.valueObject.getDisablePageCache(); 217 } 218 219 public void setDisablePageCache(Integer disablePageCache) 220 { 221 this.valueObject.setDisablePageCache(disablePageCache); 222 } 223 224 public Integer getIsProtected() 225 { 226 return this.valueObject.getIsProtected(); 227 } 228 229 public void setIsProtected(Integer isProtected) 230 { 231 this.valueObject.setIsProtected(isProtected); 232 } 233 234 public Integer getDisableLanguages() 235 { 236 return this.valueObject.getDisableLanguages(); 237 } 238 239 public void setDisableLanguages(Integer disableLanguages) 240 { 241 this.valueObject.setDisableLanguages(disableLanguages); 242 } 243 244 } 245 | Popular Tags |