~ merge
authorAlexandre Bertails <bertails@w3.org>
Thu, 25 Aug 2011 16:23:03 -0400
changeset 94 ca3131933846
parent 93 d07330c501ca
child 95 98f200362113
~ merge
src/main/scala/Workout.scala
--- a/src/main/scala/Workout.scala	Thu Aug 25 16:21:10 2011 -0400
+++ b/src/main/scala/Workout.scala	Thu Aug 25 16:23:03 2011 -0400
@@ -50,6 +50,12 @@
                  @Key("c") coordinates:Option[(Double, Double, Option[Double])],
                  @Key("s") status:Option[String]) {
  
+  def c:Option[(Double, Double, Option[Double])] = {
+    val dbList = coordinates.asInstanceOf[Option[com.mongodb.BasicDBList]]
+    
+    null
+  }
+  
   def asJSON:String = {
     val tString = """"t": "%s"""" format timestamp.toString
     val cString = {