01: /*
02: * ChainBuilder ESB
03: * Visual Enterprise Integration
04: *
05: * Copyright (C) 2006 Bostech Corporation
06: *
07: * This program is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU General Public License as published by
09: * the Free Software Foundation; either version 2 of the License, or
10: * (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA 02111-1307
20: * USA
21: *
22: *
23: * $Id: XsltConfig.java 1295 2006-09-27 10:33:47Z jzhang $
24: */
25: package com.bostechcorp.cbesb.runtime.component.xslt.wsdl;
26:
27: import java.io.Serializable;
28:
29: import javax.wsdl.extensions.ExtensibilityElement;
30: import javax.xml.namespace.QName;
31:
32: import com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute;
33:
34: /**
35: * @author j.zhang
36: * @version 1.0.0
37: */
38: public class XsltConfig extends BaseCommonAttribute implements
39: ExtensibilityElement, Serializable {
40:
41: /**
42: * Generated serial version UID
43: */
44: private static final long serialVersionUID = -8996374573753824236L;
45:
46: protected Boolean required;
47: protected QName elementType;
48:
49: protected String xslLocation;
50:
51: /* (non-Javadoc)
52: * @see com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute#getElementType()
53: */
54: public QName getElementType() {
55: return elementType;
56: }
57:
58: /* (non-Javadoc)
59: * @see com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute#setElementType(javax.xml.namespace.QName)
60: */
61: public void setElementType(QName elementType) {
62: this .elementType = elementType;
63: }
64:
65: /* (non-Javadoc)
66: * @see com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute#getRequired()
67: */
68: public Boolean getRequired() {
69: return required;
70: }
71:
72: /* (non-Javadoc)
73: * @see com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute#setRequired(java.lang.Boolean)
74: */
75: public void setRequired(Boolean required) {
76: this .required = required;
77: }
78:
79: /**
80: * @return xslLocation
81: */
82: public String getXslLocation() {
83: return xslLocation;
84: }
85:
86: /**
87: * @param xsltLocation
88: */
89: public void setXslLocation(String xslLocation) {
90: this .xslLocation = xslLocation;
91: }
92:
93: /* (non-Javadoc)
94: * @see com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute#toString()
95: */
96: public String toString() {
97: return "XslConfig[xslLocation=" + xslLocation + "]";
98: }
99: }
|