nl.surfnet.coin.selfservice.domain
Class StatResult

java.lang.Object
  extended by nl.surfnet.coin.selfservice.domain.StatResult
All Implemented Interfaces:
Comparable<StatResult>

public class StatResult
extends Object
implements Comparable<StatResult>

Represents the result row of the mysql query to get login statistics


Constructor Summary
StatResult()
           
StatResult(String spEntityId, Date date, Integer logins)
           
 
Method Summary
 int compareTo(StatResult that)
           
 boolean equals(Object o)
           
 Date getDate()
           
 Integer getLogins()
           
 String getSpEntityId()
           
 int hashCode()
           
 void setDate(Date date)
           
 void setLogins(Integer logins)
           
 void setSpEntityId(String spEntityId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatResult

public StatResult()

StatResult

public StatResult(String spEntityId,
                  Date date,
                  Integer logins)
Method Detail

getSpEntityId

public String getSpEntityId()

setSpEntityId

public void setSpEntityId(String spEntityId)

getDate

public Date getDate()

setDate

public void setDate(Date date)

getLogins

public Integer getLogins()

setLogins

public void setLogins(Integer logins)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(StatResult that)
Specified by:
compareTo in interface Comparable<StatResult>


Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.