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.script.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 ScriptConfig 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 triggerTime;
051: protected String schedule;
052: protected QName schedulerService;
053: protected String schedulerEndpoint;
054:
055: protected String type;
056: protected String scriptClass;
057:
058: /**
059: * @return Returns the elementType.
060: */
061: public QName getElementType() {
062: return elementType;
063: }
064:
065: /**
066: * @param elementType
067: * The elementType to set.
068: */
069: public void setElementType(QName elementType) {
070: this .elementType = elementType;
071: }
072:
073: /**
074: * @return Returns the required.
075: */
076: public Boolean getRequired() {
077: return required;
078: }
079:
080: /**
081: * @param required
082: * The required to set.
083: */
084: public void setRequired(Boolean required) {
085: this .required = required;
086: }
087:
088: public String getScriptClass() {
089: return scriptClass;
090: }
091:
092: public void setScriptClass(String scriptClass) {
093: this .scriptClass = scriptClass;
094: }
095:
096: public String getTriggerTime() {
097: return triggerTime;
098: }
099:
100: public void setTriggerTime(String triggerTime) {
101: this .triggerTime = triggerTime;
102: }
103:
104: public String getType() {
105: return type;
106: }
107:
108: public void setType(String type) {
109: this .type = type;
110: }
111:
112: /**
113: * @return the schedule
114: */
115: public String getSchedule() {
116: return schedule;
117: }
118:
119: /**
120: * @param schedule the schedule to set
121: */
122: public void setSchedule(String schedule) {
123: this .schedule = schedule;
124: }
125:
126: /**
127: * @return the schedulerEndpoint
128: */
129: public String getSchedulerEndpoint() {
130: return schedulerEndpoint;
131: }
132:
133: /**
134: * @param schedulerEndpoint the schedulerEndpoint to set
135: */
136: public void setSchedulerEndpoint(String schedulerEndpoint) {
137: this .schedulerEndpoint = schedulerEndpoint;
138: }
139:
140: /**
141: * @return the schedulerService
142: */
143: public QName getSchedulerService() {
144: return schedulerService;
145: }
146:
147: /**
148: * @param schedulerService the schedulerService to set
149: */
150: public void setSchedulerService(QName schedulerService) {
151: this .schedulerService = schedulerService;
152: }
153:
154: public String toString() {
155: return "ScriptConfig[" + " required=" + required + ", "
156: + " elementType=" + elementType + ", "
157: + super .toString() + ", " + " triggertime="
158: + triggerTime + ", " + " scriptClass=" + scriptClass
159: + ", " + " type=" + type + "]";
160: }
161:
162: }
|