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 it
08: * under the terms of the GNU General Public License as published by the
09: * Free Software Foundation; either version 2 of the License, or (at your option)
10: * 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 MERCHANTABILITY
14: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15: * for more details.
16: *
17: * You should have received a copy of the GNU General Public License along with
18: * this program; if not, write to the Free Software Foundation, Inc.,
19: * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: *
21: *
22: * $Id: ParserConfig.java 1214 2006-09-24 04:32:11Z elu $
23: */
24: package com.bostechcorp.cbesb.runtime.component.transformer.wsdl;
25:
26: import java.io.Serializable;
27:
28: import javax.wsdl.extensions.ExtensibilityElement;
29: import javax.xml.namespace.QName;
30:
31: import com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute;
32:
33: /**
34: * A TransformerConfig extensibily element used to specify the parameters needed
35: * to retrieve the configuration for ChainBuilder ESB ParserConfig component to use.
36: *
37: */
38: public class TransformerConfig extends BaseCommonAttribute implements
39: ExtensibilityElement, Serializable {
40:
41: /**
42: * Generated serial version UID
43: */
44: private static final long serialVersionUID = 8824671150920387683L;
45:
46: protected Boolean required;
47: protected QName elementType;
48:
49: protected String trnFile;
50:
51: /**
52: * @return Returns the elementType.
53: */
54: public QName getElementType() {
55: return elementType;
56: }
57:
58: /**
59: * @param elementType The elementType to set.
60: */
61: public void setElementType(QName elementType) {
62: this .elementType = elementType;
63: }
64:
65: /**
66: * @return Returns the required.
67: */
68: public Boolean getRequired() {
69: return required;
70: }
71:
72: /**
73: * @param required The required to set.
74: */
75: public void setRequired(Boolean required) {
76: this .required = required;
77: }
78:
79: /**
80: * @return the trnFile
81: */
82: public String getTrnFile() {
83: return trnFile;
84: }
85:
86: /**
87: * @param trnFile the trnFile to set
88: */
89: public void setTrnFile(String trnFile) {
90: this .trnFile = trnFile;
91: }
92:
93: public String toString() {
94: return "TransformerConfig[" + "required=" + required + ", "
95: + "elementType=" + elementType + ", "
96: + super .toString() + ", " + "trnFile=" + trnFile + "]";
97: }
98:
99: }
|