org.usergrid.tools.bean
Class AppScore
java.lang.Object
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
AppScore
public AppScore(OrgScore orgScore,
UUID appId,
String appName)
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.