org.rhq.core.domain.measurement
Class ResourceMeasurementScheduleRequest

java.lang.Object
  extended by org.rhq.core.domain.measurement.ResourceMeasurementScheduleRequest
All Implemented Interfaces:
Serializable

public class ResourceMeasurementScheduleRequest
extends Object
implements Serializable

This contains a set of measurement schedules for one resource.

See Also:
Serialized Form

Constructor Summary
ResourceMeasurementScheduleRequest(int resourceId)
          Creates a ResourceMeasurementScheduleRequest object that will contain measurement schedules for the given resource.
 
Method Summary
 void addMeasurementScheduleRequest(MeasurementScheduleRequest scheduleRequest)
           
 boolean equals(Object o)
           
 Set<MeasurementScheduleRequest> getMeasurementSchedules()
           
 int getResourceId()
           
 int hashCode()
           
 void setMeasurementSchedules(Set<MeasurementScheduleRequest> measurementSchedules)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceMeasurementScheduleRequest

public ResourceMeasurementScheduleRequest(int resourceId)
Creates a ResourceMeasurementScheduleRequest object that will contain measurement schedules for the given resource.

Parameters:
resourceId - ID of the resource that is associated with the encapsulated schedules
Method Detail

addMeasurementScheduleRequest

public void addMeasurementScheduleRequest(MeasurementScheduleRequest scheduleRequest)

getMeasurementSchedules

public Set<MeasurementScheduleRequest> getMeasurementSchedules()

setMeasurementSchedules

public void setMeasurementSchedules(Set<MeasurementScheduleRequest> measurementSchedules)

getResourceId

public int getResourceId()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.