001: /*
002: * ChainBuilder ESB
003: * Visual Enterprise Integration
004: *
005: * Copyright (C) 2006 Bostech Corporation
006: *
007: * This program is free software; you can redistribute it and/or modify it
008: * under the terms of the GNU General Public License as published by the
009: * Free Software Foundation; either version 2 of the License, or (at your option)
010: * any later version.
011: *
012: * This program is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
014: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
015: * for more details.
016: *
017: * You should have received a copy of the GNU General Public License along with
018: * this program; if not, write to the Free Software Foundation, Inc.,
019: * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020: *
021: *
022: * $Id: ParserConfig.java 1761 2006-10-12 13:13:52Z fling $
023: */
024: package com.bostechcorp.cbesb.runtime.component.parser.wsdl;
025:
026: import java.io.Serializable;
027:
028: import javax.wsdl.extensions.ExtensibilityElement;
029: import javax.xml.namespace.QName;
030:
031: import com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute;
032:
033: /**
034: * A ParserConfig extensibily element used to specify the parameters needed to
035: * retrieve the configuration for ChainBuilder ESB ParserConfig component to
036: * use.
037: *
038: */
039: public class ParserConfig extends BaseCommonAttribute implements
040: ExtensibilityElement, Serializable {
041:
042: /**
043: * Generated serial version UID
044: */
045: private static final long serialVersionUID = 8824671150920387683L;
046:
047: protected Boolean required;
048: protected QName elementType;
049:
050: protected String parserType;
051: protected String msgDef;
052:
053: /**
054: * @return Returns the elementType.
055: */
056: public QName getElementType() {
057: return elementType;
058: }
059:
060: /**
061: * @param elementType
062: * The elementType to set.
063: */
064: public void setElementType(QName elementType) {
065: this .elementType = elementType;
066: }
067:
068: /**
069: * @return Returns the required.
070: */
071: public Boolean getRequired() {
072: return required;
073: }
074:
075: /**
076: * @param required
077: * The required to set.
078: */
079: public void setRequired(Boolean required) {
080: this .required = required;
081: }
082:
083: /**
084: * @return the msgDef
085: */
086: public String getMsgDef() {
087: return msgDef;
088: }
089:
090: /**
091: * @param msgDef
092: * the msgDef to set
093: */
094: public void setMsgDef(String msgDefFile) {
095: this .msgDef = msgDefFile;
096: }
097:
098: /**
099: * @return the parserType
100: */
101: public String getParserType() {
102: return parserType;
103: }
104:
105: /**
106: * @param parserType
107: * the parserType to set
108: */
109: public void setParserType(String parserType) {
110: this .parserType = parserType;
111: }
112:
113: public String toString() {
114: return "ParserConfig[" + "required=" + required + ", "
115: + "elementType=" + elementType + ", "
116: + super .toString() + ", " + "parserType=" + parserType
117: + ", " + "msgDef=" + msgDef + "]";
118: }
119:
120: }
|