axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayachan...@apache.org
Subject svn commit: r219025 - /webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterMode.java
Date Thu, 14 Jul 2005 10:06:06 GMT
Author: jayachandra
Date: Thu Jul 14 03:06:03 2005
New Revision: 219025

URL: http://svn.apache.org/viewcvs?rev=219025&view=rev
Log: (empty)

Modified:
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterMode.java

Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterMode.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterMode.java?rev=219025&r1=219024&r2=219025&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterMode.java
(original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/javax/xml/rpc/ParameterMode.java
Thu Jul 14 03:06:03 2005
@@ -28,19 +28,31 @@
 public class ParameterMode {
 
 	/**
+	 * Field mode
+	 */
+	private final String mode;
+	/**
 	 * IN mode for parameter passing 
 	 */
-	public static final ParameterMode IN = null;
+	public static final ParameterMode IN = new ParameterMode("in");
 	
 	/**
 	 * OUT mode for parameter passing 
 	 */
-	public static final ParameterMode OUT = null;
+	public static final ParameterMode OUT = new ParameterMode("out");
 	
 	/**
 	 * INOUT mode for parameter passing 
 	 */
-	public static final ParameterMode INOUT = null;
+	public static final ParameterMode INOUT = new ParameterMode("inOut");
+	
+	/**
+	 * Constructor
+	 * @param mode
+	 */
+	public ParameterMode(String mode) {
+		this.mode = mode;
+	}
 	
 	/** 
 	 * Method toString
@@ -49,6 +61,6 @@
 	 * @return A string representation of the object.
 	 */
 	public java.lang.String toString() {
-		return null;
+		return mode;
 	}
 }



Mime
View raw message