uk.ac.soton.itinnovation.grid.service.sla
Class ResourceWithUsageByMetric
java.lang.Object
uk.ac.soton.itinnovation.grid.service.types.GridResource
uk.ac.soton.itinnovation.grid.service.sla.ResourceWithUsageByMetric
- Direct Known Subclasses:
- Activity, SLA
public class ResourceWithUsageByMetric
- extends GridResource
Represents a resource (e.g. SLA, ResourcePool, Activity..) that
has usage (i.e. rates and cumulative usage) assocated with it.
The usage is grouped by metric. There is one UsageSummary per
metric.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceWithUsageByMetric
public ResourceWithUsageByMetric()
getId
public Long getId()
setId
public void setId(Long id)
getParent
public ResourceWithUsageByMetric getParent()
setParent
public void setParent(ResourceWithUsageByMetric parent)
getResourceType
public String getResourceType()
- Description copied from class:
GridResource
- Return the PBAC type of the resource.
- Specified by:
getResourceType in class GridResource
getUsageSummarys
public Set<UsageSummary> getUsageSummarys()
setUsageSummarys
public void setUsageSummarys(Set<UsageSummary> usageSummarys)
equalsByValue
public boolean equalsByValue(Object obj)
- Overrides:
equalsByValue in class GridResource
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.