View Javadoc

1   package org.kuali.student.r2.common.entity;
2   
3   import javax.persistence.Column;
4   import javax.persistence.Inheritance;
5   import javax.persistence.InheritanceType;
6   import javax.persistence.MappedSuperclass;
7   
8   import org.kuali.student.r1.common.entity.KSEntityConstants;
9   
10  @MappedSuperclass
11  @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
12  public class RichTextEntity extends BaseVersionEntity{
13      @Column(name = "PLAIN",length=KSEntityConstants.LONG_TEXT_LENGTH)
14      private String plain;
15      
16      @Column(name = "FORMATTED",length=KSEntityConstants.LONG_TEXT_LENGTH)
17      private String formatted;
18  
19      public String getPlain() {
20          return plain;
21      }
22  
23      public void setPlain(String plain) {
24          this.plain = plain;
25      }
26  
27      public String getFormatted() {
28          return formatted;
29      }
30  
31      public void setFormatted(String formatted) {
32          this.formatted = formatted;
33      }
34  }