001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041: /**
042: * This interface has all of the bean info accessor methods.
043: *
044: * @Generated
045: */package org.netbeans.modules.j2ee.dd.api.webservices;
046:
047: import org.netbeans.modules.j2ee.dd.api.common.Icon;
048: import org.netbeans.modules.j2ee.dd.api.common.VersionNotSupportedException;
049:
050: public interface PortComponent extends
051: org.netbeans.modules.j2ee.dd.api.common.CommonDDBean {
052:
053: public static final String PORT_COMPONENT_NAME = "PortComponentName"; // NOI18N
054: public static final String PORTCOMPONENTNAMEID = "PortComponentNameId"; // NOI18N
055: public static final String WSDL_PORT = "WsdlPort"; // NOI18N
056: public static final String WSDLPORTID = "WsdlPortId"; // NOI18N
057: public static final String SERVICE_ENDPOINT_INTERFACE = "ServiceEndpointInterface"; // NOI18N
058: public static final String SERVICE_IMPL_BEAN = "ServiceImplBean"; // NOI18N
059: public static final String HANDLER = "Handler"; // NOI18N
060:
061: public void setId(java.lang.String value);
062:
063: public java.lang.String getId();
064:
065: public void setDescription(java.lang.String value);
066:
067: public java.lang.String getDescription();
068:
069: public void setDescriptionId(java.lang.String value);
070:
071: public java.lang.String getDescriptionId();
072:
073: public void setDescriptionXmlLang(java.lang.String value);
074:
075: public java.lang.String getDescriptionXmlLang();
076:
077: public void setDisplayName(java.lang.String value);
078:
079: public java.lang.String getDisplayName();
080:
081: public void setDisplayNameId(java.lang.String value);
082:
083: public java.lang.String getDisplayNameId();
084:
085: public void setDisplayNameXmlLang(java.lang.String value);
086:
087: public java.lang.String getDisplayNameXmlLang();
088:
089: public void setIcon(Icon value);
090:
091: public Icon getIcon();
092:
093: public Icon newIcon();
094:
095: public void setPortComponentName(java.lang.String value);
096:
097: public java.lang.String getPortComponentName();
098:
099: public void setPortComponentNameId(java.lang.String value);
100:
101: public java.lang.String getPortComponentNameId();
102:
103: //public void setWsdlPort(java.lang.String value);
104:
105: //public java.lang.String getWsdlPort();
106:
107: public void setWsdlService(
108: org.netbeans.modules.schema2beans.QName value)
109: throws VersionNotSupportedException;
110:
111: public org.netbeans.modules.schema2beans.QName getWsdlService()
112: throws VersionNotSupportedException;
113:
114: public void setWsdlServiceId(java.lang.String value)
115: throws VersionNotSupportedException;
116:
117: public java.lang.String getWsdlServiceId()
118: throws VersionNotSupportedException;
119:
120: public void setWsdlPort(
121: org.netbeans.modules.schema2beans.QName value);
122:
123: public org.netbeans.modules.schema2beans.QName getWsdlPort();
124:
125: public void setWsdlPortId(java.lang.String value);
126:
127: public java.lang.String getWsdlPortId();
128:
129: public void setServiceEndpointInterface(java.lang.String value);
130:
131: public java.lang.String getServiceEndpointInterface();
132:
133: public void setServiceImplBean(ServiceImplBean value);
134:
135: public ServiceImplBean getServiceImplBean();
136:
137: public ServiceImplBean newServiceImplBean();
138:
139: public void setHandler(int index, PortComponentHandler value);
140:
141: public PortComponentHandler getHandler(int index);
142:
143: public int sizeHandler();
144:
145: public void setHandler(PortComponentHandler[] value);
146:
147: public PortComponentHandler[] getHandler();
148:
149: public int addHandler(
150: org.netbeans.modules.j2ee.dd.api.webservices.PortComponentHandler value);
151:
152: public int removeHandler(
153: org.netbeans.modules.j2ee.dd.api.webservices.PortComponentHandler value);
154:
155: public PortComponentHandler newPortComponentHandler();
156:
157: }
|