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: SequencingConfig.java 1429 2006-10-04 01:55:27Z mpreston $
023: */
024: package com.bostechcorp.cbesb.runtime.component.cbr.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 Parser extensibily element used to specify the parameters needed
035: * to retrieve the configuration for ChainBuilder ESB Parser component to use.
036: *
037: */
038: public class CBRConfig extends BaseCommonAttribute implements
039: ExtensibilityElement, Serializable {
040:
041: /**
042: * Generated serial version UID
043: */
044: private static final long serialVersionUID = 8824671150920387683L;
045:
046: protected Boolean required;
047: protected QName elementType;
048:
049: protected String routingRules;
050: protected CBRTrxId trxId;
051:
052: /**
053: * @return Returns the required.
054: */
055: public Boolean getRequired() {
056: return required;
057: }
058:
059: /**
060: * @param required The required to set.
061: */
062: public void setRequired(Boolean required) {
063: this .required = required;
064: }
065:
066: /**
067: * @return Returns the elementType.
068: */
069: public QName getElementType() {
070: return elementType;
071: }
072:
073: /**
074: * @param elementType The elementType to set.
075: */
076: public void setElementType(QName elementType) {
077: this .elementType = elementType;
078: }
079:
080: /**
081: * @return Returns the serviceList
082: */
083: public String getRoutingRules() {
084: return routingRules;
085: }
086:
087: /**
088: * @param serviceList The serviceList to set.
089: */
090: public void setRoutingRules(String routingRules) {
091: this .routingRules = routingRules;
092: }
093:
094: public CBRTrxId getTrxId() {
095: return trxId;
096: }
097:
098: public void setTrxId(CBRTrxId trxId) {
099: this .trxId = trxId;
100: }
101:
102: public String toString() {
103: return "ParserConfig[" + "required=" + required + ", "
104: + "elementType=" + elementType + ", "
105: + super .toString() + ", " + "routingRules="
106: + routingRules + ", " + "trxId=" + trxId.toString()
107: + "]";
108: }
109: }
|