Skip to Content.
Sympa Menu

perfsonar-dev - nmwg: r366 - trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0

Subject: perfsonar development work

List archive

nmwg: r366 - trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0


Chronological Thread 
  • From:
  • To: ,
  • Subject: nmwg: r366 - trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0
  • Date: Tue, 1 Jul 2008 10:05:17 -0400

Author: roman
Date: 2008-07-01 10:05:15 -0400 (Tue, 01 Jul 2008)
New Revision: 366

Modified:
trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0/Parameter.java
Log:
the attribute 'type' removed from the parameter



Modified: trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0/Parameter.java
===================================================================
--- trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0/Parameter.java 2008-06-30
13:33:29 UTC (rev 365)
+++ trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0/Parameter.java 2008-07-01
14:05:15 UTC (rev 366)
@@ -34,11 +34,6 @@
*/
protected String value;

- /**
- * parameter type attribute
- */
- protected String type;
-
/**
* 'map' of child elements
*/
@@ -56,7 +51,6 @@
public Parameter() {
name = "";
value = "";
- type = "";
childMap = new HashMap();

parent = null;
@@ -119,20 +113,6 @@
value = newParameterValue;
}

- /**
- * Returns the type of the Parameter.
- */
- public String getParameterType() {
- return type;
- }
-
- /**
- * Sets the type of the Parameter.
- */
- public void setParameterType(String newParameterType) {
- type = newParameterType;
- }
-
/**
* clear the Message of all Child elements
*/
@@ -270,9 +250,6 @@
else if(attr.equals("value")) {
setParameterValue(value);
}
- else if(attr.equals("type")) {
- setParameterType(value);
- }
else if(attr.indexOf("xmlns") >= 0) {
if(attr.split(":").length == 1) {
if(nss.getURI("") == null) {
@@ -353,9 +330,6 @@
atts.addAttribute(getUri(), "value", "value",
"CDATA", getParameterValue());
}
}
- if(!(getParameterType().equals(""))) {
- atts.addAttribute(getUri(), "type", "type", "CDATA",
getParameterType());
- }
if(nss.getURI(getPrefix()) == null) {
nss.pushContext();
if(getPrefix().equals("")) {
@@ -412,10 +386,6 @@
param.setAttribute("name", getParameterName());
}

- if(!(getParameterType().equals(""))) {
- param.setAttribute("type", getParameterType());
- }
-
for(Iterator i = cc.iterator(); i.hasNext(); ){
c = (Element)i.next();
c.getDOM(param);



  • nmwg: r366 - trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0, svnlog, 07/01/2008

Archive powered by MHonArc 2.6.16.

Top of Page