Author: jkaputin
Date: Wed Nov  9 07:05:20 2005
New Revision: 332061

URL: http://svn.apache.org/viewcvs?rev=332061&view=rev
Log:
Added set/getDirection methods to the Element API as

this is needed to differentiate infaults from outfaults.

Added a non-API method to the Impl class to set

the InterfaceFaultReference object.

Modified:
    
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceFaultReferenceImpl.java
    
incubator/woden/java/src/org/apache/woden/wsdl20/xml/FaultReferenceElement.java

Modified: 
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceFaultReferenceImpl.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceFaultReferenceImpl.java?rev=332061&r1=332060&r2=332061&view=diff
==============================================================================
--- 
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceFaultReferenceImpl.java
 (original)
+++ 
incubator/woden/java/src/org/apache/woden/internal/wsdl20/InterfaceFaultReferenceImpl.java
 Wed Nov  9 07:05:20 2005
@@ -60,6 +60,7 @@
 

     /* (non-Javadoc)

      * @see org.apache.woden.wsdl20.InterfaceFaultReference#getDirection()

+     * @see org.apache.woden.wsdl20.xml.InterfaceFaultReference#getDirection()

      */

     public String getDirection() {

         return fDirection;

@@ -89,6 +90,22 @@
      */

     public void setMessageLabel(String msgLabel) {

         fMessageLabel = msgLabel;

+    }

+

+    /* (non-Javadoc)

+     * @see 
org.apache.woden.wsdl20.xml.FaultReferenceElement#setDirection(java.lang.String)

+     */

+    public void setDirection(String dir) {

+        fDirection = dir;

+    }

+

+    /* ************************************************************

+     *  Non-API implementation methods

+     * ************************************************************/

+    

+    public void setInterfaceFault(InterfaceFault fault)

+    {

+        fInterfaceFault = fault;

     }

 

 }


Modified: 
incubator/woden/java/src/org/apache/woden/wsdl20/xml/FaultReferenceElement.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/xml/FaultReferenceElement.java?rev=332061&r1=332060&r2=332061&view=diff
==============================================================================
--- 
incubator/woden/java/src/org/apache/woden/wsdl20/xml/FaultReferenceElement.java 
(original)
+++ 
incubator/woden/java/src/org/apache/woden/wsdl20/xml/FaultReferenceElement.java 
Wed Nov  9 07:05:20 2005
@@ -35,4 +35,7 @@
     

     public void setMessageLabel(String msgLabel);

     public String getMessageLabel();

+    

+    public void setDirection(String dir);

+    public String getDirection();

 }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to