You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2005/10/27 21:09:34 UTC
svn commit: r328928 - in /incubator/woden/java/src/org/apache/woden:
internal/wsdl20/InterfaceOperationImpl.java
wsdl20/xml/InterfaceOperationElement.java
wsdl20/xml/InterfaceOperationMessageElement.java
wsdl20/xml/OperationFaultElement.java
Author: jkaputin
Date: Thu Oct 27 12:09:24 2005
New Revision: 328928
URL: http://svn.apache.org/viewcvs?rev=328928&view=rev
Log:
Implementation for interface operation.
Added:
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java
incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java
Modified:
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
Modified: incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java?rev=328928&r1=328927&r2=328928&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java (original)
+++ incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java Thu Oct 27 12:09:24 2005
@@ -23,6 +23,7 @@
import org.apache.woden.wsdl20.Component;
import org.apache.woden.wsdl20.Feature;
+import org.apache.woden.wsdl20.Interface;
import org.apache.woden.wsdl20.InterfaceFaultReference;
import org.apache.woden.wsdl20.InterfaceMessageReference;
import org.apache.woden.wsdl20.InterfaceOperation;
@@ -30,6 +31,8 @@
import org.apache.woden.wsdl20.xml.DocumentationElement;
import org.apache.woden.wsdl20.xml.FeatureElement;
import org.apache.woden.wsdl20.xml.InterfaceOperationElement;
+import org.apache.woden.wsdl20.xml.InterfaceOperationMessageElement;
+import org.apache.woden.wsdl20.xml.OperationFaultElement;
import org.apache.woden.wsdl20.xml.PropertyElement;
/**
@@ -41,14 +44,39 @@
public class InterfaceOperationImpl implements InterfaceOperation,
InterfaceOperationElement
{
+ //Component data
+ private QName fName = null;
+ private URI fMessageExchangePattern = null;
+ private List fInterfaceMessageRefs = new Vector();
+ private List fInterfaceFaultRefs = new Vector();
+ private List fStyle = new Vector();
+ private List fFeatures = new Vector();
+ private List fProperties = new Vector();
+ private Interface fParent = null;
+
+ //XML data
+ private String fPattern = null;
+ private String[] fStyles = null;
+ private List fInputs = new Vector();
+ private List fOutputs = new Vector();
+ private List fInfaults = new Vector();
+ private List fOutfaults = new Vector();
+ private List fFeatureElements = new Vector();
+ private List fPropertyElements = new Vector();
private List fDocumentationElements = new Vector();
+
+ /* ************************************************************
+ * InterfaceOperation methods (for the WSDL Component model)
+ * ************************************************************/
+
/* (non-Javadoc)
* @see org.apache.woden.wsdl20.InterfaceOperation#getName()
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getName()
*/
- public QName getName() {
- // TODO Auto-generated method stub
- return null;
+ public QName getName()
+ {
+ return fName;
}
/* (non-Javadoc)
@@ -107,52 +135,202 @@
return null;
}
+ /* ************************************************************
+ * InterfaceOperationElement methods (for the XML model)
+ * ************************************************************/
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#setName(QName)
+ */
+ public void setName(QName qname)
+ {
+ fName = qname;
+ }
+
/*
- * @see org.apache.woden.wsdl20.xml.DocumentableElement#addDocumentationElement(DocumentationElement)
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#setPattern(String)
*/
- public void addDocumentationElement(DocumentationElement docEl)
+ public void setPattern(String mep)
{
- fDocumentationElements.add(docEl);
+ fPattern = mep;
}
-
+
/*
- * @see org.apache.woden.wsdl20.xml.DocumentableElement#getDocumentationElements()
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getPattern()
*/
- public DocumentationElement[] getDocumentationElements()
+ public String getPattern()
{
- return (DocumentationElement[])fDocumentationElements.toArray();
+ return fPattern;
}
-
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addStyle(String)
+ */
+ public void addStyle(String uri)
+ {
+ fStyle.add(uri);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeStyle(String)
+ */
+ public void removeStyle(String uri)
+ {
+ fStyle.remove(uri);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getStyles()
+ */
+ public String[] getStyles()
+ {
+ return (String[])fStyle.toArray();
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addInputElement(InterfaceOperationMessageElement)
+ */
+ public void addInputElement(InterfaceOperationMessageElement input)
+ {
+ fInputs.add(input);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeInputElement(InterfaceOperationMessageElement)
+ */
+ public void removeInputElement(InterfaceOperationMessageElement input)
+ {
+ fInputs.remove(input);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getInputElements()
+ */
+ public InterfaceOperationMessageElement[] getInputElements()
+ {
+ return (InterfaceOperationMessageElement[])fInputs.toArray();
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addOutputElement(InterfaceOperationMessageElement)
+ */
+ public void addOutputElement(InterfaceOperationMessageElement output)
+ {
+ fOutputs.add(output);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeOutputElement(InterfaceOperationMessageElement)
+ */
+ public void removeOutputElement(InterfaceOperationMessageElement output)
+ {
+ fOutputs.remove(output);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getOutputElements()
+ */
+ public InterfaceOperationMessageElement[] getOutputElements()
+ {
+ return (InterfaceOperationMessageElement[])fOutputs.toArray();
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addInfaultElement(OperationFaultElement)
+ */
+ public void addInfaultElement(OperationFaultElement infault)
+ {
+ fInfaults.add(infault);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeInfaultElement(OperationFaultElement)
+ */
+ public void removeInfaultElement(OperationFaultElement infault)
+ {
+ fInfaults.remove(infault);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getInfaultElements()
+ */
+ public OperationFaultElement[] getInfaultElements()
+ {
+ return (OperationFaultElement[])fInfaults.toArray();
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addOutfaultElement(OperationFaultElement)
+ */
+ public void addOutfaultElement(OperationFaultElement outfault)
+ {
+ fOutfaults.add(outfault);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeOutfaultElement(OperationFaultElement)
+ */
+ public void removeOutfaultElement(OperationFaultElement outfault)
+ {
+ fOutfaults.remove(outfault);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getOutfaultElements()
+ */
+ public OperationFaultElement[] getOutfaultElements()
+ {
+ return (OperationFaultElement[])fOutfaults.toArray();
+ }
+
/* (non-Javadoc)
* @see org.apache.woden.wsdl20.xml.ConfigurableElement#addFeatureElement(org.apache.woden.wsdl20.xml.FeatureElement)
*/
- public void addFeatureElement(FeatureElement feature) {
- // TODO Auto-generated method stub
+ public void addFeatureElement(FeatureElement feature)
+ {
+ fFeatureElements.add(feature);
}
/* (non-Javadoc)
* @see org.apache.woden.wsdl20.xml.ConfigurableElement#getFeatureElements()
*/
- public FeatureElement[] getFeatureElements() {
- // TODO Auto-generated method stub
- return null;
+ public FeatureElement[] getFeatureElements()
+ {
+ return (FeatureElement[])fFeatureElements.toArray();
}
/* (non-Javadoc)
* @see org.apache.woden.wsdl20.xml.ConfigurableElement#addPropertyElement(org.apache.woden.wsdl20.xml.PropertyElement)
*/
- public void addPropertyElement(PropertyElement property) {
- // TODO Auto-generated method stub
+ public void addPropertyElement(PropertyElement property)
+ {
+ fPropertyElements.add(property);
}
/* (non-Javadoc)
* @see org.apache.woden.wsdl20.xml.ConfigurableElement#getPropertyElements()
*/
- public PropertyElement[] getPropertyElements() {
- // TODO Auto-generated method stub
- return null;
+ public PropertyElement[] getPropertyElements()
+ {
+ return (PropertyElement[])fPropertyElements.toArray();
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.DocumentableElement#addDocumentationElement(DocumentationElement)
+ */
+ public void addDocumentationElement(DocumentationElement docEl)
+ {
+ fDocumentationElements.add(docEl);
+ }
+
+ /*
+ * @see org.apache.woden.wsdl20.xml.DocumentableElement#getDocumentationElements()
+ */
+ public DocumentationElement[] getDocumentationElements()
+ {
+ return (DocumentationElement[])fDocumentationElements.toArray();
}
}
Modified: incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java?rev=328928&r1=328927&r2=328928&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java (original)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java Thu Oct 27 12:09:24 2005
@@ -15,6 +15,8 @@
*/
package org.apache.woden.wsdl20.xml;
+import javax.xml.namespace.QName;
+
/**
* This interface represents an <operation> child element
* of the WSDL <interface> element.
@@ -26,5 +28,38 @@
public interface InterfaceOperationElement extends DocumentableElement,
ConfigurableElement
{
- //TODO
+ /*
+ * Attributes
+ */
+
+ public void setName(QName qname);
+ public QName getName();
+
+ public void setPattern(String patternURI);
+ public String getPattern();
+
+ public void addStyle(String styleURI);
+ public void removeStyle(String styleURI);
+ public String[] getStyles();
+
+ /*
+ * Elements
+ */
+
+ public void addInputElement(InterfaceOperationMessageElement input);
+ public void removeInputElement(InterfaceOperationMessageElement input);
+ public InterfaceOperationMessageElement[] getInputElements();
+
+ public void addOutputElement(InterfaceOperationMessageElement output);
+ public void removeOutputElement(InterfaceOperationMessageElement output);
+ public InterfaceOperationMessageElement[] getOutputElements();
+
+ public void addInfaultElement(OperationFaultElement infault);
+ public void removeInfaultElement(OperationFaultElement infault);
+ public OperationFaultElement[] getInfaultElements();
+
+ public void addOutfaultElement(OperationFaultElement outfault);
+ public void removeOutfaultElement(OperationFaultElement outfault);
+ public OperationFaultElement[] getOutfaultElements();
+
}
Added: incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java?rev=328928&view=auto
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java (added)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java Thu Oct 27 12:09:24 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on 27-Oct-2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.apache.woden.wsdl20.xml;
+
+/**
+ * @author kaputin
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface InterfaceOperationMessageElement {
+
+}
Added: incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java?rev=328928&view=auto
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java (added)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java Thu Oct 27 12:09:24 2005
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2005 Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.wsdl20.xml;
+
+import javax.xml.namespace.QName;
+
+/**
+ * This interface represents the <infault> and <outfault>
+ * child elements of interface operation and binding operation.
+ *
+ * @author jkaputin@apache.org
+ */
+public interface OperationFaultElement extends ReferenceElement
+{
+ /*
+ * Attributes
+ */
+
+ public void setRef(QName faultQName);
+ public QName getRef();
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: svn commit: r328928 - in /incubator/woden/java/src/org/apache/woden: internal/wsdl20/InterfaceOperationImpl.java
wsdl20/xml/InterfaceOperationElement.java wsdl20/xml/InterfaceOperationMessageElement.java
wsdl20/xml/OperationFaultElement.java
Posted by John Kaputin <KA...@uk.ibm.com>.
sorry. ReferenceElement was 'sandbox' only. Didn't mean to commit the
extension in OperationFaultElement. Have now undone it in SVN.
John Kaputin
Jeremy Hughes
<hughesj@apache.o
rg> To
Sent by: woden-dev@ws.apache.org
jpjhughes@gmail.c cc
om
Subject
Re: svn commit: r328928 - in
28/10/2005 10:54 /incubator/woden/java/src/org/apach
e/woden:
internal/wsdl20/InterfaceOperationI
Please respond to mpl.java
woden-dev wsdl20/xml/InterfaceOperationElemen
t.java
wsdl20/xml/InterfaceOperationMessag
eElement.java
wsdl20/xml/OperationFaultElement.ja
va
Hi John, this causes a compile problem for me in OperationFaultElement
as ReferenceElement isn't in SVN.
Jeremy
On 10/27/05, jkaputin@apache.org <jk...@apache.org> wrote:
> Author: jkaputin
> Date: Thu Oct 27 12:09:24 2005
> New Revision: 328928
>
> URL: http://svn.apache.org/viewcvs?rev=328928&view=rev
> Log:
> Implementation for interface operation.
>
> Added:
>
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java
>
incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java
> Modified:
>
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
>
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
>
> Modified:
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
> URL:
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java?rev=328928&r1=328927&r2=328928&view=diff
>
==============================================================================
> ---
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
(original)
> +++
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
Thu Oct 27 12:09:24 2005
> @@ -23,6 +23,7 @@
>
>
> import org.apache.woden.wsdl20.Component;
>
> import org.apache.woden.wsdl20.Feature;
>
> +import org.apache.woden.wsdl20.Interface;
>
> import org.apache.woden.wsdl20.InterfaceFaultReference;
>
> import org.apache.woden.wsdl20.InterfaceMessageReference;
>
> import org.apache.woden.wsdl20.InterfaceOperation;
>
> @@ -30,6 +31,8 @@
> import org.apache.woden.wsdl20.xml.DocumentationElement;
>
> import org.apache.woden.wsdl20.xml.FeatureElement;
>
> import org.apache.woden.wsdl20.xml.InterfaceOperationElement;
>
> +import org.apache.woden.wsdl20.xml.InterfaceOperationMessageElement;
>
> +import org.apache.woden.wsdl20.xml.OperationFaultElement;
>
> import org.apache.woden.wsdl20.xml.PropertyElement;
>
>
>
> /**
>
> @@ -41,14 +44,39 @@
> public class InterfaceOperationImpl implements InterfaceOperation,
>
> InterfaceOperationElement
>
> {
>
> + //Component data
>
> + private QName fName = null;
>
> + private URI fMessageExchangePattern = null;
>
> + private List fInterfaceMessageRefs = new Vector();
>
> + private List fInterfaceFaultRefs = new Vector();
>
> + private List fStyle = new Vector();
>
> + private List fFeatures = new Vector();
>
> + private List fProperties = new Vector();
>
> + private Interface fParent = null;
>
> +
>
> + //XML data
>
> + private String fPattern = null;
>
> + private String[] fStyles = null;
>
> + private List fInputs = new Vector();
>
> + private List fOutputs = new Vector();
>
> + private List fInfaults = new Vector();
>
> + private List fOutfaults = new Vector();
>
> + private List fFeatureElements = new Vector();
>
> + private List fPropertyElements = new Vector();
>
> private List fDocumentationElements = new Vector();
>
> +
>
>
>
> + /* ************************************************************
>
> + * InterfaceOperation methods (for the WSDL Component model)
>
> + * ************************************************************/
>
> +
>
> /* (non-Javadoc)
>
> * @see org.apache.woden.wsdl20.InterfaceOperation#getName()
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#getName()
>
> */
>
> - public QName getName() {
>
> - // TODO Auto-generated method stub
>
> - return null;
>
> + public QName getName()
>
> + {
>
> + return fName;
>
> }
>
>
>
> /* (non-Javadoc)
>
> @@ -107,52 +135,202 @@
> return null;
>
> }
>
>
>
> + /* ************************************************************
>
> + * InterfaceOperationElement methods (for the XML model)
>
> + * ************************************************************/
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#setName(QName)
>
> + */
>
> + public void setName(QName qname)
>
> + {
>
> + fName = qname;
>
> + }
>
> +
>
> /*
>
> - * @see
org.apache.woden.wsdl20.xml.DocumentableElement#addDocumentationElement(DocumentationElement)
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#setPattern(String)
>
> */
>
> - public void addDocumentationElement(DocumentationElement docEl)
>
> + public void setPattern(String mep)
>
> {
>
> - fDocumentationElements.add(docEl);
>
> + fPattern = mep;
>
> }
>
> -
>
> +
>
> /*
>
> - * @see
org.apache.woden.wsdl20.xml.DocumentableElement#getDocumentationElements()
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#getPattern()
>
> */
>
> - public DocumentationElement[] getDocumentationElements()
>
> + public String getPattern()
>
> {
>
> - return (DocumentationElement[])fDocumentationElements.toArray();
>
> + return fPattern;
>
> }
>
> -
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#addStyle(String)
>
> + */
>
> + public void addStyle(String uri)
>
> + {
>
> + fStyle.add(uri);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeStyle(String)
>
> + */
>
> + public void removeStyle(String uri)
>
> + {
>
> + fStyle.remove(uri);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#getStyles()
>
> + */
>
> + public String[] getStyles()
>
> + {
>
> + return (String[])fStyle.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#addInputElement(InterfaceOperationMessageElement)
>
> + */
>
> + public void addInputElement(InterfaceOperationMessageElement input)
>
> + {
>
> + fInputs.add(input);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeInputElement(InterfaceOperationMessageElement)
>
> + */
>
> + public void removeInputElement(InterfaceOperationMessageElement
input)
>
> + {
>
> + fInputs.remove(input);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#getInputElements()
>
> + */
>
> + public InterfaceOperationMessageElement[] getInputElements()
>
> + {
>
> + return (InterfaceOperationMessageElement[])fInputs.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#addOutputElement(InterfaceOperationMessageElement)
>
> + */
>
> + public void addOutputElement(InterfaceOperationMessageElement
output)
>
> + {
>
> + fOutputs.add(output);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeOutputElement(InterfaceOperationMessageElement)
>
> + */
>
> + public void removeOutputElement(InterfaceOperationMessageElement
output)
>
> + {
>
> + fOutputs.remove(output);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#getOutputElements()
>
> + */
>
> + public InterfaceOperationMessageElement[] getOutputElements()
>
> + {
>
> + return (InterfaceOperationMessageElement[])fOutputs.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#addInfaultElement(OperationFaultElement)
>
> + */
>
> + public void addInfaultElement(OperationFaultElement infault)
>
> + {
>
> + fInfaults.add(infault);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeInfaultElement(OperationFaultElement)
>
> + */
>
> + public void removeInfaultElement(OperationFaultElement infault)
>
> + {
>
> + fInfaults.remove(infault);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#getInfaultElements()
>
> + */
>
> + public OperationFaultElement[] getInfaultElements()
>
> + {
>
> + return (OperationFaultElement[])fInfaults.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#addOutfaultElement(OperationFaultElement)
>
> + */
>
> + public void addOutfaultElement(OperationFaultElement outfault)
>
> + {
>
> + fOutfaults.add(outfault);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeOutfaultElement(OperationFaultElement)
>
> + */
>
> + public void removeOutfaultElement(OperationFaultElement outfault)
>
> + {
>
> + fOutfaults.remove(outfault);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.InterfaceOperationElement#getOutfaultElements()
>
> + */
>
> + public OperationFaultElement[] getOutfaultElements()
>
> + {
>
> + return (OperationFaultElement[])fOutfaults.toArray();
>
> + }
>
> +
>
> /* (non-Javadoc)
>
> * @see
org.apache.woden.wsdl20.xml.ConfigurableElement#addFeatureElement(org.apache.woden.wsdl20.xml.FeatureElement)
>
> */
>
> - public void addFeatureElement(FeatureElement feature) {
>
> - // TODO Auto-generated method stub
>
> + public void addFeatureElement(FeatureElement feature)
>
> + {
>
> + fFeatureElements.add(feature);
>
>
>
> }
>
>
>
> /* (non-Javadoc)
>
> * @see
org.apache.woden.wsdl20.xml.ConfigurableElement#getFeatureElements()
>
> */
>
> - public FeatureElement[] getFeatureElements() {
>
> - // TODO Auto-generated method stub
>
> - return null;
>
> + public FeatureElement[] getFeatureElements()
>
> + {
>
> + return (FeatureElement[])fFeatureElements.toArray();
>
> }
>
>
>
> /* (non-Javadoc)
>
> * @see
org.apache.woden.wsdl20.xml.ConfigurableElement#addPropertyElement(org.apache.woden.wsdl20.xml.PropertyElement)
>
> */
>
> - public void addPropertyElement(PropertyElement property) {
>
> - // TODO Auto-generated method stub
>
> + public void addPropertyElement(PropertyElement property)
>
> + {
>
> + fPropertyElements.add(property);
>
>
>
> }
>
>
>
> /* (non-Javadoc)
>
> * @see
org.apache.woden.wsdl20.xml.ConfigurableElement#getPropertyElements()
>
> */
>
> - public PropertyElement[] getPropertyElements() {
>
> - // TODO Auto-generated method stub
>
> - return null;
>
> + public PropertyElement[] getPropertyElements()
>
> + {
>
> + return (PropertyElement[])fPropertyElements.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.DocumentableElement#addDocumentationElement(DocumentationElement)
>
> + */
>
> + public void addDocumentationElement(DocumentationElement docEl)
>
> + {
>
> + fDocumentationElements.add(docEl);
>
> + }
>
> +
>
> + /*
>
> + * @see
org.apache.woden.wsdl20.xml.DocumentableElement#getDocumentationElements()
>
> + */
>
> + public DocumentationElement[] getDocumentationElements()
>
> + {
>
> + return (DocumentationElement[])fDocumentationElements.toArray();
>
> }
>
>
>
> }
>
>
> Modified:
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
> URL:
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java?rev=328928&r1=328927&r2=328928&view=diff
>
==============================================================================
> ---
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
(original)
> +++
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
Thu Oct 27 12:09:24 2005
> @@ -15,6 +15,8 @@
> */
>
> package org.apache.woden.wsdl20.xml;
>
>
>
> +import javax.xml.namespace.QName;
>
> +
>
> /**
>
> * This interface represents an <operation> child element
>
> * of the WSDL <interface> element.
>
> @@ -26,5 +28,38 @@
> public interface InterfaceOperationElement extends DocumentableElement,
>
> ConfigurableElement
>
> {
>
> - //TODO
>
> + /*
>
> + * Attributes
>
> + */
>
> +
>
> + public void setName(QName qname);
>
> + public QName getName();
>
> +
>
> + public void setPattern(String patternURI);
>
> + public String getPattern();
>
> +
>
> + public void addStyle(String styleURI);
>
> + public void removeStyle(String styleURI);
>
> + public String[] getStyles();
>
> +
>
> + /*
>
> + * Elements
>
> + */
>
> +
>
> + public void addInputElement(InterfaceOperationMessageElement input);
>
> + public void removeInputElement(InterfaceOperationMessageElement
input);
>
> + public InterfaceOperationMessageElement[] getInputElements();
>
> +
>
> + public void addOutputElement(InterfaceOperationMessageElement
output);
>
> + public void removeOutputElement(InterfaceOperationMessageElement
output);
>
> + public InterfaceOperationMessageElement[] getOutputElements();
>
> +
>
> + public void addInfaultElement(OperationFaultElement infault);
>
> + public void removeInfaultElement(OperationFaultElement infault);
>
> + public OperationFaultElement[] getInfaultElements();
>
> +
>
> + public void addOutfaultElement(OperationFaultElement outfault);
>
> + public void removeOutfaultElement(OperationFaultElement outfault);
>
> + public OperationFaultElement[] getOutfaultElements();
>
> +
>
> }
>
>
> Added:
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java
> URL:
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java?rev=328928&view=auto
>
==============================================================================
> ---
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java
(added)
> +++
incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java
Thu Oct 27 12:09:24 2005
> @@ -0,0 +1,17 @@
> +/*
>
> + * Created on 27-Oct-2005
>
> + *
>
> + * TODO To change the template for this generated file go to
>
> + * Window - Preferences - Java - Code Style - Code Templates
>
> + */
>
> +package org.apache.woden.wsdl20.xml;
>
> +
>
> +/**
>
> + * @author kaputin
>
> + *
>
> + * TODO To change the template for this generated type comment go to
>
> + * Window - Preferences - Java - Code Style - Code Templates
>
> + */
>
> +public interface InterfaceOperationMessageElement {
>
> +
>
> +}
>
>
> Added:
incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java
> URL:
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java?rev=328928&view=auto
>
==============================================================================
> ---
incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java
(added)
> +++
incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java
Thu Oct 27 12:09:24 2005
> @@ -0,0 +1,35 @@
> +/**
>
> + * Copyright 2005 Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +package org.apache.woden.wsdl20.xml;
>
> +
>
> +import javax.xml.namespace.QName;
>
> +
>
> +/**
>
> + * This interface represents the <infault> and <outfault>
>
> + * child elements of interface operation and binding operation.
>
> + *
>
> + * @author jkaputin@apache.org
>
> + */
>
> +public interface OperationFaultElement extends ReferenceElement
>
> +{
>
> + /*
>
> + * Attributes
>
> + */
>
> +
>
> + public void setRef(QName faultQName);
>
> + public QName getRef();
>
> +
>
> +}
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: svn commit: r328928 - in /incubator/woden/java/src/org/apache/woden: internal/wsdl20/InterfaceOperationImpl.java wsdl20/xml/InterfaceOperationElement.java wsdl20/xml/InterfaceOperationMessageElement.java wsdl20/xml/OperationFaultElement.java
Posted by Jeremy Hughes <hu...@apache.org>.
Hi John, this causes a compile problem for me in OperationFaultElement
as ReferenceElement isn't in SVN.
Jeremy
On 10/27/05, jkaputin@apache.org <jk...@apache.org> wrote:
> Author: jkaputin
> Date: Thu Oct 27 12:09:24 2005
> New Revision: 328928
>
> URL: http://svn.apache.org/viewcvs?rev=328928&view=rev
> Log:
> Implementation for interface operation.
>
> Added:
> incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java
> incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java
> Modified:
> incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
> incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
>
> Modified: incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
> URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java?rev=328928&r1=328927&r2=328928&view=diff
> ==============================================================================
> --- incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java (original)
> +++ incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java Thu Oct 27 12:09:24 2005
> @@ -23,6 +23,7 @@
>
>
> import org.apache.woden.wsdl20.Component;
>
> import org.apache.woden.wsdl20.Feature;
>
> +import org.apache.woden.wsdl20.Interface;
>
> import org.apache.woden.wsdl20.InterfaceFaultReference;
>
> import org.apache.woden.wsdl20.InterfaceMessageReference;
>
> import org.apache.woden.wsdl20.InterfaceOperation;
>
> @@ -30,6 +31,8 @@
> import org.apache.woden.wsdl20.xml.DocumentationElement;
>
> import org.apache.woden.wsdl20.xml.FeatureElement;
>
> import org.apache.woden.wsdl20.xml.InterfaceOperationElement;
>
> +import org.apache.woden.wsdl20.xml.InterfaceOperationMessageElement;
>
> +import org.apache.woden.wsdl20.xml.OperationFaultElement;
>
> import org.apache.woden.wsdl20.xml.PropertyElement;
>
>
>
> /**
>
> @@ -41,14 +44,39 @@
> public class InterfaceOperationImpl implements InterfaceOperation,
>
> InterfaceOperationElement
>
> {
>
> + //Component data
>
> + private QName fName = null;
>
> + private URI fMessageExchangePattern = null;
>
> + private List fInterfaceMessageRefs = new Vector();
>
> + private List fInterfaceFaultRefs = new Vector();
>
> + private List fStyle = new Vector();
>
> + private List fFeatures = new Vector();
>
> + private List fProperties = new Vector();
>
> + private Interface fParent = null;
>
> +
>
> + //XML data
>
> + private String fPattern = null;
>
> + private String[] fStyles = null;
>
> + private List fInputs = new Vector();
>
> + private List fOutputs = new Vector();
>
> + private List fInfaults = new Vector();
>
> + private List fOutfaults = new Vector();
>
> + private List fFeatureElements = new Vector();
>
> + private List fPropertyElements = new Vector();
>
> private List fDocumentationElements = new Vector();
>
> +
>
>
>
> + /* ************************************************************
>
> + * InterfaceOperation methods (for the WSDL Component model)
>
> + * ************************************************************/
>
> +
>
> /* (non-Javadoc)
>
> * @see org.apache.woden.wsdl20.InterfaceOperation#getName()
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getName()
>
> */
>
> - public QName getName() {
>
> - // TODO Auto-generated method stub
>
> - return null;
>
> + public QName getName()
>
> + {
>
> + return fName;
>
> }
>
>
>
> /* (non-Javadoc)
>
> @@ -107,52 +135,202 @@
> return null;
>
> }
>
>
>
> + /* ************************************************************
>
> + * InterfaceOperationElement methods (for the XML model)
>
> + * ************************************************************/
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#setName(QName)
>
> + */
>
> + public void setName(QName qname)
>
> + {
>
> + fName = qname;
>
> + }
>
> +
>
> /*
>
> - * @see org.apache.woden.wsdl20.xml.DocumentableElement#addDocumentationElement(DocumentationElement)
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#setPattern(String)
>
> */
>
> - public void addDocumentationElement(DocumentationElement docEl)
>
> + public void setPattern(String mep)
>
> {
>
> - fDocumentationElements.add(docEl);
>
> + fPattern = mep;
>
> }
>
> -
>
> +
>
> /*
>
> - * @see org.apache.woden.wsdl20.xml.DocumentableElement#getDocumentationElements()
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getPattern()
>
> */
>
> - public DocumentationElement[] getDocumentationElements()
>
> + public String getPattern()
>
> {
>
> - return (DocumentationElement[])fDocumentationElements.toArray();
>
> + return fPattern;
>
> }
>
> -
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addStyle(String)
>
> + */
>
> + public void addStyle(String uri)
>
> + {
>
> + fStyle.add(uri);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeStyle(String)
>
> + */
>
> + public void removeStyle(String uri)
>
> + {
>
> + fStyle.remove(uri);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getStyles()
>
> + */
>
> + public String[] getStyles()
>
> + {
>
> + return (String[])fStyle.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addInputElement(InterfaceOperationMessageElement)
>
> + */
>
> + public void addInputElement(InterfaceOperationMessageElement input)
>
> + {
>
> + fInputs.add(input);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeInputElement(InterfaceOperationMessageElement)
>
> + */
>
> + public void removeInputElement(InterfaceOperationMessageElement input)
>
> + {
>
> + fInputs.remove(input);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getInputElements()
>
> + */
>
> + public InterfaceOperationMessageElement[] getInputElements()
>
> + {
>
> + return (InterfaceOperationMessageElement[])fInputs.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addOutputElement(InterfaceOperationMessageElement)
>
> + */
>
> + public void addOutputElement(InterfaceOperationMessageElement output)
>
> + {
>
> + fOutputs.add(output);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeOutputElement(InterfaceOperationMessageElement)
>
> + */
>
> + public void removeOutputElement(InterfaceOperationMessageElement output)
>
> + {
>
> + fOutputs.remove(output);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getOutputElements()
>
> + */
>
> + public InterfaceOperationMessageElement[] getOutputElements()
>
> + {
>
> + return (InterfaceOperationMessageElement[])fOutputs.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addInfaultElement(OperationFaultElement)
>
> + */
>
> + public void addInfaultElement(OperationFaultElement infault)
>
> + {
>
> + fInfaults.add(infault);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeInfaultElement(OperationFaultElement)
>
> + */
>
> + public void removeInfaultElement(OperationFaultElement infault)
>
> + {
>
> + fInfaults.remove(infault);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getInfaultElements()
>
> + */
>
> + public OperationFaultElement[] getInfaultElements()
>
> + {
>
> + return (OperationFaultElement[])fInfaults.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#addOutfaultElement(OperationFaultElement)
>
> + */
>
> + public void addOutfaultElement(OperationFaultElement outfault)
>
> + {
>
> + fOutfaults.add(outfault);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#removeOutfaultElement(OperationFaultElement)
>
> + */
>
> + public void removeOutfaultElement(OperationFaultElement outfault)
>
> + {
>
> + fOutfaults.remove(outfault);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.InterfaceOperationElement#getOutfaultElements()
>
> + */
>
> + public OperationFaultElement[] getOutfaultElements()
>
> + {
>
> + return (OperationFaultElement[])fOutfaults.toArray();
>
> + }
>
> +
>
> /* (non-Javadoc)
>
> * @see org.apache.woden.wsdl20.xml.ConfigurableElement#addFeatureElement(org.apache.woden.wsdl20.xml.FeatureElement)
>
> */
>
> - public void addFeatureElement(FeatureElement feature) {
>
> - // TODO Auto-generated method stub
>
> + public void addFeatureElement(FeatureElement feature)
>
> + {
>
> + fFeatureElements.add(feature);
>
>
>
> }
>
>
>
> /* (non-Javadoc)
>
> * @see org.apache.woden.wsdl20.xml.ConfigurableElement#getFeatureElements()
>
> */
>
> - public FeatureElement[] getFeatureElements() {
>
> - // TODO Auto-generated method stub
>
> - return null;
>
> + public FeatureElement[] getFeatureElements()
>
> + {
>
> + return (FeatureElement[])fFeatureElements.toArray();
>
> }
>
>
>
> /* (non-Javadoc)
>
> * @see org.apache.woden.wsdl20.xml.ConfigurableElement#addPropertyElement(org.apache.woden.wsdl20.xml.PropertyElement)
>
> */
>
> - public void addPropertyElement(PropertyElement property) {
>
> - // TODO Auto-generated method stub
>
> + public void addPropertyElement(PropertyElement property)
>
> + {
>
> + fPropertyElements.add(property);
>
>
>
> }
>
>
>
> /* (non-Javadoc)
>
> * @see org.apache.woden.wsdl20.xml.ConfigurableElement#getPropertyElements()
>
> */
>
> - public PropertyElement[] getPropertyElements() {
>
> - // TODO Auto-generated method stub
>
> - return null;
>
> + public PropertyElement[] getPropertyElements()
>
> + {
>
> + return (PropertyElement[])fPropertyElements.toArray();
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.DocumentableElement#addDocumentationElement(DocumentationElement)
>
> + */
>
> + public void addDocumentationElement(DocumentationElement docEl)
>
> + {
>
> + fDocumentationElements.add(docEl);
>
> + }
>
> +
>
> + /*
>
> + * @see org.apache.woden.wsdl20.xml.DocumentableElement#getDocumentationElements()
>
> + */
>
> + public DocumentationElement[] getDocumentationElements()
>
> + {
>
> + return (DocumentationElement[])fDocumentationElements.toArray();
>
> }
>
>
>
> }
>
>
> Modified: incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
> URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java?rev=328928&r1=328927&r2=328928&view=diff
> ==============================================================================
> --- incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java (original)
> +++ incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java Thu Oct 27 12:09:24 2005
> @@ -15,6 +15,8 @@
> */
>
> package org.apache.woden.wsdl20.xml;
>
>
>
> +import javax.xml.namespace.QName;
>
> +
>
> /**
>
> * This interface represents an <operation> child element
>
> * of the WSDL <interface> element.
>
> @@ -26,5 +28,38 @@
> public interface InterfaceOperationElement extends DocumentableElement,
>
> ConfigurableElement
>
> {
>
> - //TODO
>
> + /*
>
> + * Attributes
>
> + */
>
> +
>
> + public void setName(QName qname);
>
> + public QName getName();
>
> +
>
> + public void setPattern(String patternURI);
>
> + public String getPattern();
>
> +
>
> + public void addStyle(String styleURI);
>
> + public void removeStyle(String styleURI);
>
> + public String[] getStyles();
>
> +
>
> + /*
>
> + * Elements
>
> + */
>
> +
>
> + public void addInputElement(InterfaceOperationMessageElement input);
>
> + public void removeInputElement(InterfaceOperationMessageElement input);
>
> + public InterfaceOperationMessageElement[] getInputElements();
>
> +
>
> + public void addOutputElement(InterfaceOperationMessageElement output);
>
> + public void removeOutputElement(InterfaceOperationMessageElement output);
>
> + public InterfaceOperationMessageElement[] getOutputElements();
>
> +
>
> + public void addInfaultElement(OperationFaultElement infault);
>
> + public void removeInfaultElement(OperationFaultElement infault);
>
> + public OperationFaultElement[] getInfaultElements();
>
> +
>
> + public void addOutfaultElement(OperationFaultElement outfault);
>
> + public void removeOutfaultElement(OperationFaultElement outfault);
>
> + public OperationFaultElement[] getOutfaultElements();
>
> +
>
> }
>
>
> Added: incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java
> URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java?rev=328928&view=auto
> ==============================================================================
> --- incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java (added)
> +++ incubator/woden/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationMessageElement.java Thu Oct 27 12:09:24 2005
> @@ -0,0 +1,17 @@
> +/*
>
> + * Created on 27-Oct-2005
>
> + *
>
> + * TODO To change the template for this generated file go to
>
> + * Window - Preferences - Java - Code Style - Code Templates
>
> + */
>
> +package org.apache.woden.wsdl20.xml;
>
> +
>
> +/**
>
> + * @author kaputin
>
> + *
>
> + * TODO To change the template for this generated type comment go to
>
> + * Window - Preferences - Java - Code Style - Code Templates
>
> + */
>
> +public interface InterfaceOperationMessageElement {
>
> +
>
> +}
>
>
> Added: incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java
> URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java?rev=328928&view=auto
> ==============================================================================
> --- incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java (added)
> +++ incubator/woden/java/src/org/apache/woden/wsdl20/xml/OperationFaultElement.java Thu Oct 27 12:09:24 2005
> @@ -0,0 +1,35 @@
> +/**
>
> + * Copyright 2005 Apache Software Foundation
>
> + *
>
> + * Licensed under the Apache License, Version 2.0 (the "License");
>
> + * you may not use this file except in compliance with the License.
>
> + * You may obtain a copy of the License at
>
> + *
>
> + * http://www.apache.org/licenses/LICENSE-2.0
>
> + *
>
> + * Unless required by applicable law or agreed to in writing, software
>
> + * distributed under the License is distributed on an "AS IS" BASIS,
>
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>
> + * See the License for the specific language governing permissions and
>
> + * limitations under the License.
>
> + */
>
> +package org.apache.woden.wsdl20.xml;
>
> +
>
> +import javax.xml.namespace.QName;
>
> +
>
> +/**
>
> + * This interface represents the <infault> and <outfault>
>
> + * child elements of interface operation and binding operation.
>
> + *
>
> + * @author jkaputin@apache.org
>
> + */
>
> +public interface OperationFaultElement extends ReferenceElement
>
> +{
>
> + /*
>
> + * Attributes
>
> + */
>
> +
>
> + public void setRef(QName faultQName);
>
> + public QName getRef();
>
> +
>
> +}
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org