uk.ac.soton.itinnovation.grid.service.sla
Class UsageSummary

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.sla.UsageSummary

public class UsageSummary
extends Object


Constructor Summary
UsageSummary()
           
UsageSummary(Long id, Long parentId, long latestElementId, long latestElementInstant, double totalRate)
           
UsageSummary(Metric metric)
          Deprecated. 
UsageSummary(ResourceWithUsageByMetric resource, Long parentUsageSummaryId, Metric metric)
           
UsageSummary(ResourceWithUsageByMetric resource, Metric metric)
          Deprecated. 
 
Method Summary
 void addUsageSummaryElement(UsageSummaryElement use)
           
 boolean equalsByValue(Object obj)
           
 Long getId()
           
 long getLatestElementId()
           
 long getLatestElementInstant()
           
 Metric getMetric()
           
 Long getParentId()
           
 ResourceWithUsageByMetric getResource()
           
 String getResourceId()
           
 double getTotalRate()
           
 List<UsageSummaryElement> getUsageEvents()
           
 void setId(Long argId)
           
 void setLatestElementId(long latestElementId)
           
 void setLatestElementInstant(long latestElementInstant)
           
 void setMetric(Metric argMetric)
           
 void setParentId(Long parentId)
           
 void setResource(ResourceWithUsageByMetric parent)
           
 void setResourceId(String parentResourceId)
           
 void setTotalRate(double totalRate)
           
 void setUsageEvents(List<UsageSummaryElement> argUsageEvents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsageSummary

public UsageSummary()

UsageSummary

@Deprecated
public UsageSummary(Metric metric)
Deprecated. 


UsageSummary

@Deprecated
public UsageSummary(ResourceWithUsageByMetric resource,
                               Metric metric)
Deprecated. 


UsageSummary

public UsageSummary(ResourceWithUsageByMetric resource,
                    Long parentUsageSummaryId,
                    Metric metric)

UsageSummary

public UsageSummary(Long id,
                    Long parentId,
                    long latestElementId,
                    long latestElementInstant,
                    double totalRate)
Method Detail

getId

public Long getId()

setId

public void setId(Long argId)

getResource

public ResourceWithUsageByMetric getResource()

setResource

public void setResource(ResourceWithUsageByMetric parent)

getResourceId

public String getResourceId()

setResourceId

public void setResourceId(String parentResourceId)

getParentId

public Long getParentId()

setParentId

public void setParentId(Long parentId)

getLatestElementId

public long getLatestElementId()

setLatestElementId

public void setLatestElementId(long latestElementId)

getLatestElementInstant

public long getLatestElementInstant()

setLatestElementInstant

public void setLatestElementInstant(long latestElementInstant)

getTotalRate

public double getTotalRate()

setTotalRate

public void setTotalRate(double totalRate)

getMetric

public Metric getMetric()

setMetric

public void setMetric(Metric argMetric)

getUsageEvents

public List<UsageSummaryElement> getUsageEvents()

setUsageEvents

public void setUsageEvents(List<UsageSummaryElement> argUsageEvents)

addUsageSummaryElement

public void addUsageSummaryElement(UsageSummaryElement use)

equalsByValue

public boolean equalsByValue(Object obj)


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.