Class JsonObject
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.visualization.valueobjects.json.JsonObject
-
public class JsonObject extends Object
JsonObject is used for creating data in JSON format, by just using the fields that are required to be included.- Author:
- bkoniden Deepak Konidena
-
-
Constructor Summary
Constructors Constructor Description JsonObject(String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEntityURI()StringgetLabel()StringgetLastCachedAtDateTime()List<String>getOrganizationTypes()StringgetVisMode()List<List<Integer>>getYearToActivityCount()voidsetEntityURI(String entityURI)voidsetLabel(String label)voidsetLastCachedAtDateTime(String lastCachedAtDateTime)voidsetOrganizationTypes(List<String> organizationType)voidsetOrganizationTypes(Set<String> givenOrganizationType)voidsetVisMode(String visMode)voidsetYearToActivityCount(List<List<Integer>> yearToPublicationCount)
-
-
-
Constructor Detail
-
JsonObject
public JsonObject(String label)
-
-
Method Detail
-
getEntityURI
public String getEntityURI()
-
setEntityURI
public void setEntityURI(String entityURI)
-
getVisMode
public String getVisMode()
-
setVisMode
public void setVisMode(String visMode)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
setYearToActivityCount
public void setYearToActivityCount(List<List<Integer>> yearToPublicationCount)
-
setLastCachedAtDateTime
public void setLastCachedAtDateTime(String lastCachedAtDateTime)
-
getLastCachedAtDateTime
public String getLastCachedAtDateTime()
-
-