| 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.common.entity.KSEntityConstants; |
| 9 | |
|
| 10 | |
@MappedSuperclass |
| 11 | |
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) |
| 12 | 0 | 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 | 0 | return plain; |
| 21 | |
} |
| 22 | |
|
| 23 | |
public void setPlain(String plain) { |
| 24 | 0 | this.plain = plain; |
| 25 | 0 | } |
| 26 | |
|
| 27 | |
public String getFormatted() { |
| 28 | 0 | return formatted; |
| 29 | |
} |
| 30 | |
|
| 31 | |
public void setFormatted(String formatted) { |
| 32 | 0 | this.formatted = formatted; |
| 33 | 0 | } |
| 34 | |
} |