de.uka.ipd.sdq.scheduler.resources
Class AbstractSimResource

java.lang.Object
  extended by de.uka.ipd.sdq.scheduler.resources.AbstractSimResource
Direct Known Subclasses:
AbstractActiveResource, SimAbstractPassiveResource

public abstract class AbstractSimResource
extends Object


Field Summary
protected  int capacity
           
protected  SchedulingFactory factory
           
 
Constructor Summary
AbstractSimResource(int capacity, String name, String id)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getCapacity()
           
 String getId()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

capacity

protected int capacity

factory

protected SchedulingFactory factory
Constructor Detail

AbstractSimResource

public AbstractSimResource(int capacity,
                           String name,
                           String id)
Method Detail

getCapacity

public int getCapacity()

getName

public String getName()

getId

public String getId()

equals

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

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object