root/nextboard/src/org/springframework/samples/kyuriboard/dao/ibatis/Sequence.java

리비전 3, 1.0 kB (mefour에 의해 체크인됨, 16 년 전)

ASSIGNED - # 1: 인큐페이터 사이트를 위한 개념 정립
http://221.150.127.106:8081/projects/hubproject/ticket/1

Line 
1 /**
2  *
3  */
4 package org.springframework.samples.kyuriboard.dao.ibatis;
5
6 import java.io.Serializable;
7
8 /**
9  * @author DAMI(archy712@naver.com)
10  *
11  */
12 public class Sequence implements Serializable {
13
14         /**
15          * 직렬화 ID
16          */
17         private static final long serialVersionUID = 1L;
18        
19         /**
20          * 씨퀀스 이름(PK)
21          */
22         private String name;
23        
24         /**
25          * 씨퀀스 번호
26          */
27         private int nextId;
28        
29         /**
30          * Default 생성자
31          *
32          */
33         public Sequence() {             
34         }
35        
36         /**
37          * 인자 생성자
38          * @param name 씨퀀스 이름
39          * @param nextId 씨퀀스 ID
40          */
41         public Sequence(String name, int nextId) {
42                 this.name = name;
43                 this.nextId = nextId;
44         }
45
46         /**
47          * @return the name
48          */
49         public String getName() {
50                 return name;
51         }
52
53         /**
54          * @param name the name to set
55          */
56         public void setName(String name) {
57                 this.name = name;
58         }
59
60         /**
61          * @return the nextId
62          */
63         public int getNextId() {
64                 return nextId;
65         }
66
67         /**
68          * @param nextId the nextId to set
69          */
70         public void setNextId(int nextId) {
71                 this.nextId = nextId;
72         }
73        
74        
75
76 }
참고: 소스 브라우저를 사용하면서 도움이 필요하다면, TracBrowser를 참고하십시오.