perfsonar-dev - nmwg: r215 - trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0
Subject: perfsonar development work
List archive
- From:
- To: ,
- Subject: nmwg: r215 - trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0
- Date: Sun, 18 Mar 2007 23:41:35 -0400
Author: zurawski
Date: 2007-03-18 23:41:34 -0400 (Sun, 18 Mar 2007)
New Revision: 215
Added:
trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Lat.java
trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Long.java
Modified:
trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Location.java
Log:
Adding new Latitude and Longitude elements to use in the Location
element. For now these objects will receive a string and a type
attribute. Future iterations can work on converting between formats.
-jason
Added: trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Lat.java
Property changes on:
trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Lat.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Modified: trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Location.java
===================================================================
--- trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Location.java
2007-03-16 20:58:04 UTC (rev 214)
+++ trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Location.java
2007-03-19 03:41:34 UTC (rev 215)
@@ -76,12 +76,12 @@
/**
*
*/
- protected Latitude latitudeElement;
+ protected Lat latitudeElement;
/**
*
*/
- protected Longitude longitudeElement;
+ protected Long longitudeElement;
/**
*
@@ -315,30 +315,30 @@
}
/**
- * Returns the longitude element.
+ * Returns the long element.
*/
- public Longitude getLongitudeElement() {
+ public Long getLongitudeElement() {
return longitudeElement;
}
/**
- * Sets the longitude element.
+ * Sets the long element.
*/
- public void setLongitudeElement(Longitude newLongitudeElement) {
+ public void setLongitudeElement(Long newLongitudeElement) {
longitudeElement = newLongitudeElement;
}
/**
- * Returns the latitude element.
+ * Returns the lat element.
*/
- public Latitude getLatitudeElement() {
+ public Lat getLatitudeElement() {
return latitudeElement;
}
/**
- * Sets the latitude element.
+ * Sets the lat element.
*/
- public void setLatitudeElement(Latitude newLatitudeElement) {
+ public void setLatitudeElement(Lat newLatitudeElement) {
latitudeElement = newLatitudeElement;
}
@@ -380,10 +380,10 @@
setShelfElement((Shelf)newChild);
}
else if(newChild.getLocalName().equals("latitude")) {
- setLatitudeElement((Latitude)newChild);
+ setLatitudeElement((Lat)newChild);
}
else if(newChild.getLocalName().equals("longitude")) {
- setLongitudeElement((Longitude)newChild);
+ setLongitudeElement((Long)newChild);
}
else {
System.err.println("Error: " + getFileName() + "
addChild(Element) unrecognized child: " + newChild);
Added: trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Long.java
Property changes on:
trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0/Long.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
- nmwg: r215 - trunk/nmwg/java/org/ggf/ns/nmwg/topology/base/v3_0, svnlog, 03/18/2007
Archive powered by MHonArc 2.6.16.