net.anotheria.moskito.central.storage.psql.entities
Class JSONStatisticsEntity

java.lang.Object
  extended by net.anotheria.moskito.central.storage.psql.entities.StatisticsEntity
      extended by net.anotheria.moskito.central.storage.psql.entities.JSONStatisticsEntity
All Implemented Interfaces:
Serializable

@Entity
public class JSONStatisticsEntity
extends StatisticsEntity

Represents statistics entry as json string.

Author:
dagafonov
See Also:
Serialized Form

Constructor Summary
JSONStatisticsEntity()
           
 
Method Summary
 String getJson()
           
 void setJson(String json)
           
 void setStats(Map<String,String> stats)
           
 String toString()
           
 
Methods inherited from class net.anotheria.moskito.central.storage.psql.entities.StatisticsEntity
equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONStatisticsEntity

public JSONStatisticsEntity()
Method Detail

setStats

public void setStats(Map<String,String> stats)
Specified by:
setStats in class StatisticsEntity

getJson

public String getJson()

setJson

public void setJson(String json)

toString

public String toString()
Overrides:
toString in class StatisticsEntity


Copyright © 2010-2013 anotheria.net. All Rights Reserved.