|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Xsl | Line # 31 | 8 | 0% | 9 | 17 | 0% |
0.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
No Tests | |||
1 | /** | |
2 | * Copyright 2011 The Kuali Foundation Licensed under the | |
3 | * Educational Community License, Version 2.0 (the "License"); you may | |
4 | * not use this file except in compliance with the License. You may | |
5 | * obtain a copy of the License at | |
6 | * | |
7 | * http://www.osedu.org/licenses/ECL-2.0 | |
8 | * | |
9 | * Unless required by applicable law or agreed to in writing, | |
10 | * software distributed under the License is distributed on an "AS IS" | |
11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
12 | * or implied. See the License for the specific language governing | |
13 | * permissions and limitations under the License. | |
14 | */ | |
15 | ||
16 | package org.kuali.mobility.xsl.entity; | |
17 | ||
18 | import java.io.Serializable; | |
19 | ||
20 | import javax.persistence.Column; | |
21 | import javax.persistence.Entity; | |
22 | import javax.persistence.GeneratedValue; | |
23 | import javax.persistence.GenerationType; | |
24 | import javax.persistence.Id; | |
25 | import javax.persistence.Lob; | |
26 | import javax.persistence.Table; | |
27 | import javax.persistence.Version; | |
28 | ||
29 | @Entity | |
30 | @Table(name="KME_XSL_T") | |
31 | public class Xsl implements Serializable { | |
32 | ||
33 | private static final long serialVersionUID = -5761311057726925895L; | |
34 | ||
35 | @Id | |
36 | @GeneratedValue(strategy = GenerationType.TABLE) | |
37 | @Column(name="ID") | |
38 | private Long xslId; | |
39 | ||
40 | @Lob | |
41 | @Column(name="VAL") | |
42 | private String value; | |
43 | ||
44 | @Column(name="CD") | |
45 | private String code; | |
46 | ||
47 | @Version | |
48 | @Column(name="VER_NBR") | |
49 | protected Long versionNumber; | |
50 | ||
51 | 0 |
![]() |
52 | ||
53 | 0 |
![]() |
54 | 0 | return xslId; |
55 | } | |
56 | ||
57 | 0 |
![]() |
58 | 0 | this.xslId = xslId; |
59 | } | |
60 | ||
61 | 0 |
![]() |
62 | 0 | return value; |
63 | } | |
64 | ||
65 | 0 |
![]() |
66 | 0 | this.value = value; |
67 | } | |
68 | ||
69 | 0 |
![]() |
70 | 0 | return versionNumber; |
71 | } | |
72 | ||
73 | 0 |
![]() |
74 | 0 | this.versionNumber = versionNumber; |
75 | } | |
76 | ||
77 | 0 |
![]() |
78 | 0 | return code; |
79 | } | |
80 | ||
81 | 0 |
![]() |
82 | 0 | this.code = code; |
83 | } | |
84 | ||
85 | } |
|