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

All Known Subinterfaces:
ActiveResource, ContentionResource, DelayResource, PassiveResource, ProcessingResource
All Known Implementing Classes:
ActiveResourceImpl, ContentionResourceImpl, DelayResourceImpl, PassiveResourceImpl, ProcessingResourceImpl, ResourceImpl

public interface Resource

A representation of the model object 'Resource'.

The following features are supported:

See Also:
ResourceModelPackage.getResource()

Method Summary
 String getName()
          Returns the value of the 'Name' attribute.
 int getNumberOfServers()
          Returns the value of the 'Number Of Servers' attribute.
 void setName(String value)
          Sets the value of the 'Name' attribute.
 void setNumberOfServers(int value)
          Sets the value of the 'Number Of Servers' attribute.
 

Method Detail

getName

String getName()
Returns the value of the 'Name' attribute. The default value is "".

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), ResourceModelPackage.getResource_Name()

setName

void setName(String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getNumberOfServers

int getNumberOfServers()
Returns the value of the 'Number Of Servers' attribute.

If the meaning of the 'Number Of Servers' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Number Of Servers' attribute.
See Also:
setNumberOfServers(int), ResourceModelPackage.getResource_NumberOfServers()

setNumberOfServers

void setNumberOfServers(int value)
Sets the value of the 'Number Of Servers' attribute.

Parameters:
value - the new value of the 'Number Of Servers' attribute.
See Also:
getNumberOfServers()