You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2006/12/14 16:24:36 UTC
svn commit: r487236 -
/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/ElementInfo.java
Author: nadiramra
Date: Thu Dec 14 07:24:35 2006
New Revision: 487236
URL: http://svn.apache.org/viewvc?view=rev&rev=487236
Log:
Code formatting....
Modified:
webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/ElementInfo.java
Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/ElementInfo.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/ElementInfo.java?view=diff&rev=487236&r1=487235&r2=487236
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/ElementInfo.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/ElementInfo.java Thu Dec 14 07:24:35 2006
@@ -31,23 +31,16 @@
private int minOccurs = 1;
private boolean nillable = false;
- //Dushshantha
//this variable states whether this element is an xsd:choice or not
private boolean choiceElement = false;
- //............................................
- //Chinthana:
//this variable states whether this element is an xsd:all or not
private boolean allElement = false;
- //............................................
-
- // Dushshantha:
//This field is set to true if the element is elementFormDefault qualified.
//This specifies whether the element must be namespace qualified or not in the SOAP message.
private boolean nsQualified = false;
-
public ElementInfo(QName name, Type type)
{
this.name = name;
@@ -127,81 +120,70 @@
this.type = type;
}
- /**
- * @return boolean
- */
- public boolean getNillable()
- {
- return this.nillable;
- }
-
- /**
- * @param boolean
- */
- public void setNillable( boolean newNillable)
- {
- this.nillable = newNillable;
- }
+ /**
+ * @return boolean
+ */
+ public boolean getNillable()
+ {
+ return this.nillable;
+ }
+
+ /**
+ * @param boolean
+ */
+ public void setNillable( boolean newNillable)
+ {
+ this.nillable = newNillable;
+ }
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
public String toString()
{
- String str =
- "("
- + name
- + ","
+ String str = "("
+ + name + ","
+ type.getName()
- + "| max = "
- + maxOccurs
- + " min ="
- + minOccurs
+ + "| max = " + maxOccurs + " min =" + minOccurs
+ "|)\n";
return str;
}
- //Dushshantha:
//getter and setter for the attribute choiceElement
public boolean getChoiceElement()
- {
- return this.choiceElement;
- }
-
- public void setChoiceElement( boolean newChoiceElement)
- {
- this.choiceElement = newChoiceElement;
- }
- //.................................................
-
- //Chinthana:
+ {
+ return this.choiceElement;
+ }
+
+ public void setChoiceElement( boolean newChoiceElement)
+ {
+ this.choiceElement = newChoiceElement;
+ }
+
//getter and setter for the attribute allElement
public boolean getAllElement()
- {
- return this.allElement;
- }
-
- public void setAllElement( boolean newAllElement)
- {
- this.allElement = newAllElement;
- }
- //04/05/2005.................................................
-
-
- /**
+ {
+ return this.allElement;
+ }
+
+ public void setAllElement( boolean newAllElement)
+ {
+ this.allElement = newAllElement;
+ }
+
+ /**
* Dushshantha:
* Getter and setter for the field nsQualified
*/
- public boolean getNsQualified(){
- return nsQualified;
+ public boolean getNsQualified()
+ {
+ return nsQualified;
}
- public void setNsQualified(boolean nsQual){
- nsQualified = nsQual;
+ public void setNsQualified(boolean nsQual)
+ {
+ nsQualified = nsQual;
}
-
-
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org