Interface ContentionResource
-
- 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()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.palladiosimulator.solver.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()
- Generated class or method.
- EMF model class or method.
- required="true"
-
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()
- Generated class or method.
-
-