org.gcube.common.core.resources.runninginstance
Class ScopedAccounting

java.lang.Object
  extended by org.gcube.common.core.resources.runninginstance.ScopedAccounting

public class ScopedAccounting
extends Object

Author:
Andrea Manzi(CERN)

Constructor Summary
ScopedAccounting()
           
 
Method Summary
 boolean equals(Object obj)
           
 HashMap<Long,Double> getAverageCallsMap()
          Get the value of the AverageCallsMap property
 HashMap<Long,Double> getAverageTimeMap()
          Get the value of the AverageTimeMap property
 GCUBEScope getScope()
          gets the scope
 String getTopCallerGHN()
          Gets the value of the topCallerGHN
 Double getTopCallerGHNavgDailyCalls()
          Gets the avg calls x day related to the TopCallerGHN
 Double getTopCallerGHNavgHourlyCalls()
          Gets the avg calls x hour related to the TopCallerGHN
 Long getTopCallerGHNtotalCalls()
          Get the totalCalls attribute related to the TopCallerGHN
 Long getTotalINCalls()
          Gets the Total Number of Incoming Call
 void setScope(GCUBEScope scope)
          Sets the scopes
 void setTopCallerGHN(String topCallerGHN)
          Sets the TopCallerGHN value
 void setTopCallerGHNavgDailyCalls(Double topCallerGHNavgDailyCalls)
          Sets the avg calls x day related to the TopCallerGHN
 void setTopCallerGHNavgHourlyCalls(Double topCallerGHNavgHourlyCalls)
          Sets the avg calls x day related to the TopCallerGHN
 void setTopCallerGHNtotalCalls(Long topCallerGHNtotalCalls)
          Sets the totalCalls attribute related to the TopCallerGHN
 void setTotalINCalls(Long totalINCalls)
          Sets the Total Number of Incoming Call
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopedAccounting

public ScopedAccounting()
Method Detail

getScope

public GCUBEScope getScope()
gets the scope

Returns:
the scope

setScope

public void setScope(GCUBEScope scope)
Sets the scopes

Parameters:
scope - the scope

getTopCallerGHN

public String getTopCallerGHN()
Gets the value of the topCallerGHN

Returns:
the TopCallerGHN

setTopCallerGHN

public void setTopCallerGHN(String topCallerGHN)
Sets the TopCallerGHN value

Parameters:
topCallerGHN - value

getTopCallerGHNtotalCalls

public Long getTopCallerGHNtotalCalls()
Get the totalCalls attribute related to the TopCallerGHN

Returns:
the totalCalls attribute related to the TopCallerGHN

setTopCallerGHNtotalCalls

public void setTopCallerGHNtotalCalls(Long topCallerGHNtotalCalls)
Sets the totalCalls attribute related to the TopCallerGHN

Parameters:
topCallerGHNtotalCalls -

getTopCallerGHNavgHourlyCalls

public Double getTopCallerGHNavgHourlyCalls()
Gets the avg calls x hour related to the TopCallerGHN

Returns:
the avg calls x hour related to the TopCallerGHN

setTopCallerGHNavgHourlyCalls

public void setTopCallerGHNavgHourlyCalls(Double topCallerGHNavgHourlyCalls)
Sets the avg calls x day related to the TopCallerGHN

Parameters:
the - avg calls x hour related to the TopCallerGHN

getTopCallerGHNavgDailyCalls

public Double getTopCallerGHNavgDailyCalls()
Gets the avg calls x day related to the TopCallerGHN

Returns:
the avg calls x day related to the TopCallerGHN

setTopCallerGHNavgDailyCalls

public void setTopCallerGHNavgDailyCalls(Double topCallerGHNavgDailyCalls)
Sets the avg calls x day related to the TopCallerGHN

Parameters:
the - avg calls x day related to the TopCallerGHN

getTotalINCalls

public Long getTotalINCalls()
Gets the Total Number of Incoming Call

Returns:
the total number of Incoming Calls

setTotalINCalls

public void setTotalINCalls(Long totalINCalls)
Sets the Total Number of Incoming Call

Parameters:
totalINCalls - the totalInCalls

getAverageCallsMap

public HashMap<Long,Double> getAverageCallsMap()
Get the value of the AverageCallsMap property

Returns:
HashMap

getAverageTimeMap

public HashMap<Long,Double> getAverageTimeMap()
Get the value of the AverageTimeMap property

Returns:
HashMap

equals

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


Copyright © 2013. All Rights Reserved.