2010-01-25 23:51:25 +01:00
|
|
|
package com.metaweb.gridlock;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
2010-01-26 06:17:14 +01:00
|
|
|
import org.json.JSONException;
|
|
|
|
import org.json.JSONObject;
|
|
|
|
|
2010-01-25 23:51:25 +01:00
|
|
|
public class ProjectMetadata implements Serializable {
|
|
|
|
private static final long serialVersionUID = 7959027046468240844L;
|
|
|
|
|
|
|
|
public String name;
|
|
|
|
public String password;
|
2010-01-26 06:17:14 +01:00
|
|
|
|
|
|
|
public JSONObject getJSON() throws JSONException {
|
|
|
|
JSONObject o = new JSONObject();
|
|
|
|
|
|
|
|
o.put("name", name);
|
|
|
|
|
|
|
|
return o;
|
|
|
|
}
|
2010-01-25 23:51:25 +01:00
|
|
|
}
|