View Javadoc
1   /**
2    * Copyright 2005-2016 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.coreservice.impl.component;
17  
18  import javax.persistence.Column;
19  import javax.persistence.Entity;
20  import javax.persistence.Id;
21  import javax.persistence.Table;
22  import javax.persistence.Version;
23  import java.io.Serializable;
24  import java.sql.Timestamp;
25  
26  @Entity
27  @Table(name = "KRCR_CMPNT_SET_T")
28  public class ComponentSetBo implements Serializable {
29  
30      private static final long serialVersionUID = 1L;
31  
32      @Id
33      @Column(name = "CMPNT_SET_ID")
34      private String componentSetId;
35  
36      @Column(name = "LAST_UPDT_TS")
37      private Timestamp lastUpdateTimestamp;
38  
39      @Column(name = "CHKSM")
40      private String checksum;
41  
42      @Column(name = "VER_NBR")
43      @Version
44      private Long versionNumber;
45  
46      public String getComponentSetId() {
47          return componentSetId;
48      }
49  
50      public void setComponentSetId(String componentSetId) {
51          this.componentSetId = componentSetId;
52      }
53  
54      public Timestamp getLastUpdateTimestamp() {
55          return lastUpdateTimestamp;
56      }
57  
58      public void setLastUpdateTimestamp(Timestamp lastUpdateTimestamp) {
59          this.lastUpdateTimestamp = lastUpdateTimestamp;
60      }
61  
62      public String getChecksum() {
63          return checksum;
64      }
65  
66      public void setChecksum(String checksum) {
67          this.checksum = checksum;
68      }
69  
70      public Long getVersionNumber() {
71          return versionNumber;
72      }
73  
74      public void setVersionNumber(Long versionNumber) {
75          this.versionNumber = versionNumber;
76      }
77  
78  }