1
2
3
4 package org.rcfaces.core.model;
5
6 import org.rcfaces.core.internal.contentAccessor.IGeneratedResourceInformation;
7 import org.rcfaces.core.internal.contentAccessor.IGenerationResourceInformation;
8
9
10
11
12
13
14 public class ContentModelWrapper implements IContentModel {
15 private static final String REVISION = "$Revision: 1.3 $";
16
17 private IContentModel contentModel;
18
19 public void setContentModel(IContentModel contentModel) {
20 this.contentModel = contentModel;
21 }
22
23 public IContentModel getContentModel() {
24 return contentModel;
25 }
26
27 public boolean checkNotModified() {
28 return contentModel.checkNotModified();
29 }
30
31 public String getContentEngineId() {
32 return contentModel.getContentEngineId();
33 }
34
35 public Object getWrappedData() {
36 return contentModel.getWrappedData();
37 }
38
39 public void setContentEngineId(String contentEngineId) {
40 contentModel.setContentEngineId(contentEngineId);
41 }
42
43 public boolean equals(Object obj) {
44 return contentModel.equals(obj);
45 }
46
47 public int hashCode() {
48 return contentModel.hashCode();
49 }
50
51 public void setInformations(IGenerationResourceInformation generationInformation,
52 IGeneratedResourceInformation generatedInformation) {
53 contentModel.setInformations(generationInformation,
54 generatedInformation);
55 }
56
57 }