01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package edu.iu.uis.eden.edl;
18:
19: /**
20: * EDocLite document definition
21: * Table: en_edoclt_def_t
22: * @author Aaron Hamid (arh14 at cornell dot edu)
23: */
24: public class EDocLiteDefinition {
25: /**
26: * edoclt_def_id
27: */
28: private Long eDocLiteDefId;
29: /**
30: * edoclt_def_nm
31: */
32: private String name;
33: /**
34: * edoclt_def_xml
35: */
36: private String xmlContent;
37: /**
38: * edoclt_def_actv_ind
39: */
40: private Boolean activeInd;
41: /**
42: * db_lock_ver_nbr
43: */
44: private Integer lockVerNbr;
45:
46: public Long getEDocLiteDefId() {
47: return eDocLiteDefId;
48: }
49:
50: public void setEDocLiteDefId(Long eDocLiteDefId) {
51: this .eDocLiteDefId = eDocLiteDefId;
52: }
53:
54: public String getName() {
55: return name;
56: }
57:
58: public void setName(String name) {
59: this .name = name;
60: }
61:
62: public String getXmlContent() {
63: return xmlContent;
64: }
65:
66: public void setXmlContent(String xmlContent) {
67: this .xmlContent = xmlContent;
68: }
69:
70: public Boolean getActiveInd() {
71: return activeInd;
72: }
73:
74: public void setActiveInd(Boolean activeInd) {
75: this .activeInd = activeInd;
76: }
77:
78: public Integer getLockVerNbr() {
79: return lockVerNbr;
80: }
81:
82: public void setLockVerNbr(Integer lockVerNbr) {
83: this .lockVerNbr = lockVerNbr;
84: }
85:
86: public String toString() {
87: return "[EDocLiteDefinition: eDocLiteDefId="
88: + eDocLiteDefId
89: + ", name="
90: + name
91: + ", xml="
92: + (xmlContent == null ? xmlContent : xmlContent
93: .length()
94: + "chars") + ", activeInd=" + activeInd
95: + ", lockVerNbr=" + lockVerNbr + "]";
96: }
97: }
|