de.uka.ipd.sdq.spa.resourcemodel
Interface ContentionResource

All Superinterfaces:
Resource
All Known Subinterfaces:
PassiveResource, ProcessingResource
All Known Implementing Classes:
ContentionResourceImpl, PassiveResourceImpl, ProcessingResourceImpl

public interface ContentionResource
extends Resource

A representation of the model object 'Contention Resource'.

The following features are supported:

See Also:
ResourceModelPackage.getContentionResource()

Method Summary
 int getNumReplicas()
          Returns the value of the 'Num Replicas' attribute.
 void setNumReplicas(int value)
          Sets the value of the 'Num Replicas' attribute.
 
Methods inherited from interface de.uka.ipd.sdq.spa.resourcemodel.Resource
getName, getNumberOfServers, setName, setNumberOfServers
 

Method Detail

getNumReplicas

int getNumReplicas()
Returns the value of the 'Num Replicas' attribute.

If the meaning of the 'Num Replicas' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Num Replicas' attribute.
See Also:
setNumReplicas(int), ResourceModelPackage.getContentionResource_NumReplicas()

setNumReplicas

void setNumReplicas(int value)
Sets the value of the 'Num Replicas' attribute.

Parameters:
value - the new value of the 'Num Replicas' attribute.
See Also:
getNumReplicas()