Package org.maproulette.client.model
Class Project
- java.lang.Object
-
- org.maproulette.client.model.Project
-
- All Implemented Interfaces:
java.io.Serializable,IMapRouletteObject
public class Project extends java.lang.Object implements IMapRouletteObject, java.io.Serializable
Very basic class defining the structure of the MapRoulette Project- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Project()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProjectfromJson(java.lang.String json)longgetParent()Projects have no parents, so will automatically return -1-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.maproulette.client.model.IMapRouletteObject
getId, getName
-
-
-
-
Method Detail
-
fromJson
public static Project fromJson(java.lang.String json) throws MapRouletteException
- Throws:
MapRouletteException
-
getParent
public long getParent()
Projects have no parents, so will automatically return -1- Specified by:
getParentin interfaceIMapRouletteObject- Returns:
- -1 always
-
-