Interface ContentionResource
- All Known Subinterfaces:
PassiveResource
,ProcessingResource
- All Known Implementing Classes:
ContentionResourceImpl
,PassiveResourceImpl
,ProcessingResourceImpl
A representation of the model object 'Contention Resource'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
Method Summary
Modifier and TypeMethodDescriptionint
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 Details
-
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:
- 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:
- Generated class or method.
-