You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2007/01/19 00:21:06 UTC
svn commit: r497632 -
/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java
Author: nadiramra
Date: Thu Jan 18 15:21:05 2007
New Revision: 497632
URL: http://svn.apache.org/viewvc?view=rev&rev=497632
Log:
add new methods to sync up with java's ElementDecl class.
Modified:
webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java
Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java?view=diff&rev=497632&r1=497631&r2=497632
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java Thu Jan 18 15:21:05 2007
@@ -35,6 +35,7 @@
private int minOccurs = 1;
private int maxOccurs = 1;
private boolean nillable = false;
+ private boolean optional = false;
// The following property is set if minOccurs=0.
// An item that is not set and has minOccurs=0
@@ -191,10 +192,28 @@
}
/**
- * Method getDocumentation
- * @return string
+ * Method setOptional
+ *
+ * @param optional
*/
+ public void setOptional(boolean optional) {
+ this.optional = optional;
+ }
+ /**
+ * Method getOptional
+ *
+ * @return
+ */
+ public boolean getOptional() {
+ return optional;
+ }
+
+ /**
+ * Method getDocumentation
+ * @return string
+ */
+
public String getDocumentation()
{
return this.documentation;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org