001: /*
002: * Copyright 2004,2005 The Apache Software Foundation.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.wso2.esb.services.tos;
017:
018: import org.apache.axiom.om.OMElement;
019: import org.apache.synapse.endpoints.utils.EndpointDefinition;
020:
021: /**
022: *
023: *
024: */
025:
026: public class WSDLEndpointData implements EndpointData {
027: private int type = 1;
028: private String name;
029: private long suspendDurationOnFailure;
030: private EndpointDefinition endpointDefinition;
031: private OMElement inLineWSDL;
032: private String service;
033: private String uri;
034: private String port;
035:
036: public WSDLEndpointData() {
037:
038: }
039:
040: public int getType() {
041: return type;
042: }
043:
044: public void setType(int type) {
045: this .type = type;
046: }
047:
048: public String getName() {
049: return name;
050: }
051:
052: public void setName(String name) {
053: this .name = name;
054: }
055:
056: public EndpointDefinition getEndpointDefinition() {
057: return endpointDefinition;
058: }
059:
060: public void setEndpointDefinition(
061: EndpointDefinition endpointDefinition) {
062: this .endpointDefinition = endpointDefinition;
063: }
064:
065: public String getService() {
066: return service;
067: }
068:
069: public void setService(String service) {
070: this .service = service;
071: }
072:
073: public String getUri() {
074: return uri;
075: }
076:
077: public void setUri(String uri) {
078: this .uri = uri;
079: }
080:
081: public String getPort() {
082: return port;
083: }
084:
085: public void setPort(String port) {
086: this .port = port;
087: }
088:
089: public OMElement getInLineWSDL() {
090: return inLineWSDL;
091: }
092:
093: public void setInLineWSDL(OMElement inLineWSDL) {
094: this .inLineWSDL = inLineWSDL;
095: }
096:
097: public long getSuspendDurationOnFailure() {
098: return suspendDurationOnFailure;
099: }
100:
101: public void setSuspendDurationOnFailure(
102: long suspendDurationOnFailure) {
103: this.suspendDurationOnFailure = suspendDurationOnFailure;
104: }
105: }
|