org.usergrid.tools.bean
Class AppScore

java.lang.Object
  extended by org.usergrid.tools.bean.AppScore

public class AppScore
extends Object

Models the metrics associated with an application. The UUID for the id parameter is considered unique in the system, so equals and hashCode are delegated to such.

Author:
zznate

Constructor Summary
AppScore(OrgScore orgScore, UUID appId, String appName)
           
 
Method Summary
 boolean equals(Object o)
          Checks the equality of the appId vs.
 UUID getAppId()
           
 String getAppName()
           
 OrgScore getOrgScore()
           
 long getRequestCount()
           
 long getUserCount()
           
 int hashCode()
          Returns the hashCode of he appid parameter
 void setRequestCount(long requestCount)
           
 void setUserCount(long userCount)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppScore

public AppScore(OrgScore orgScore,
                UUID appId,
                String appName)
Method Detail

getOrgScore

public OrgScore getOrgScore()

getAppId

public UUID getAppId()

getAppName

public String getAppName()

getUserCount

public long getUserCount()

getRequestCount

public long getRequestCount()

setUserCount

public void setUserCount(long userCount)

setRequestCount

public void setRequestCount(long requestCount)

hashCode

public int hashCode()
Returns the hashCode of he appid parameter

Overrides:
hashCode in class Object
Returns:

equals

public boolean equals(Object o)
Checks the equality of the appId vs. o.getAppId()

Overrides:
equals in class Object
Parameters:
o -
Returns:
true if the appId attributes are equal


Copyright © 2012. All Rights Reserved.