gov.bnl.star.offline.scheduler.request.rdl
Class Resource

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.request.rdl.Resource
All Implemented Interfaces:
java.io.Serializable

public class Resource
extends java.lang.Object
implements java.io.Serializable

Represents a resource value defined by a request Resources may have min, max, rate, and average size values

Version:
$Revision: 1.2 $ $Date: 2006/11/21 00:41:30 $
Author:
paulh
See Also:
Serialized Form

Constructor Summary
Resource()
           
Resource(java.lang.String tag)
          Constructor
 
Method Summary
 int getMax()
           
 int getMin()
           
 java.lang.String getName()
          Get methods
 int getRate()
           
 double getSize()
           
 void setMax(int m)
           
 void setMin(int m)
           
 void setName(java.lang.String name)
          Set methods
 void setRate(int r)
           
 void setSize(double s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource

public Resource(java.lang.String tag)
Constructor

Parameters:
tag - resource name

Resource

public Resource()
Method Detail

getName

public java.lang.String getName()
Get methods


getMin

public int getMin()

getMax

public int getMax()

getRate

public int getRate()

getSize

public double getSize()

setName

public void setName(java.lang.String name)
Set methods


setMin

public void setMin(int m)

setMax

public void setMax(int m)

setRate

public void setRate(int r)

setSize

public void setSize(double s)


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.