View Javadoc

1   /*
2    * $Id: BasicContentModel.java,v 1.5 2008/12/09 16:37:13 oeuillot Exp $
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   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
12   * @version $Revision: 1.5 $ $Date: 2008/12/09 16:37:13 $
13   */
14  public class BasicContentModel extends AbstractContentModel {
15      private static final String REVISION = "$Revision: 1.5 $";
16  
17      protected transient IGeneratedResourceInformation generatedInformation;
18  
19      protected transient IGenerationResourceInformation generationInformation;
20  
21      public BasicContentModel() {
22      }
23  
24      public BasicContentModel(Object value) {
25          super(value);
26      }
27  
28      public void setInformations(
29              IGenerationResourceInformation generationInformation,
30              IGeneratedResourceInformation generatedInformation) {
31          super.setInformations(generationInformation, generatedInformation);
32  
33          this.generationInformation = generationInformation;
34          this.generatedInformation = generatedInformation;
35      }
36  }